PhpMyAdmin from a single domain\ virtualhost

When installing PhpMyAdmin on Debian 9, it will be accessible from any domain on the server. To serve it from a single domain remove

Alias /pahp /usr/share/phpmyadmin

from apache.conf in /etc/phpmyadmin. Then add the Alias line above to the domain you want to serve it from in /etc/apache2/sites-available. Restart Apache.

Interesting\\ Helpful?
YN

Leave a Reply

Your email address will not be published. Required fields are marked *