Following through the tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-20-04-server
I was able to install phpmyadmin on subdirectory. But with same configuration set that digital ocean provide. I want Install phpmyadmin on subdomain of nignx Web server. Can anyone tell me the exact configuration based on the above tutorial.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
server_name subdomain.mydomain.com
Hello, @omnaidu
The process is pretty much the same however, you need to deploy PHPMyAdmin in the subdomain’s root directory.
You can use the same command in order to create the symlink:
To access the interface, go to your subdomain name followed by
/phpmyadmin
in your web browser:https://subdomain/phpmyadmin
Hope that this helps! Regards, Alex