Here’s a quick and neat solution if you are unable to access PHPMyAdmin after adding
Basically, the only thing you need to do is to set up separate Virtual Hosts for each of your applications or websites. And to make sure that I don’t have to this research all-over, I am sharing my solution with you.
Make PHPMyAdmin great again!
First of all, remove (but make sure to copy your configuration so that you don’t have to do it all over) your Virtual Hosts from httpd-vhosts.conf, which is located here:
Then, comment out the following line in your httpd.conf, just to do things the right way, as follows:
Your httpd.conf is located here, by the way:
Now, in your app – or website configuration folder, you will have to create a new
sudo nano /opt/bitnami/apache2/htdocs/yourdomain.com/conf/httpd-vhosts.conf
sudo nano /opt/bitnami/apps/yourapp/conf/httpd-vhosts.conf
Copy your previous Virtual Host configuration into this file and hit [
Add either of the following lines, depending on your specific configuration, at the bottom of your httpd.conf file:
That’s it. Restart Apache, and you will now be able to access both your Virtual Host and PHPMyAdmin on your Bitnami LAMP stack.