Most of you might perfectly install the LAMP( LINUX, APACHE, MYSQL, and PHP ). If you haven’t installed yet please follow this step to install LAMP.
Many users need the functionality of a database management system like MySQL, they may not feel comfortable interacting with the system solely from the MySQL prompt. So you might install the PHPMyAdmin. If you haven’t installed yet please follow this step to install PHPMyAdmin
You install all the pre requires and try to access the phpMyAdmin page but unable to access it? This is the most time common case. I am assuming you install ubuntu 18.04 OS on your virtual server.

Step 1: Do this first

sudo nano /etc/apache2/apache2.conf

Step 2: Add this line somewhere

Include /etc/phpmyadmin/apache.conf

Step 3: Restart Apache

sudo systemctl restart apache2

You can now access the web interface by visiting your server’s domain name or public IP address followed by /phpmyadmin:

http://your_domain_or_IP/phpmyadmin