By omnaidu
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
server_name subdomain.mydomain.comHello, @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:
- sudo ln -s /usr/share/phpmyadmin /var/www/your_subdomain/phpmyadmin
To access the interface, go to your subdomain name followed by /phpmyadmin in your web browser:
Hope that this helps! Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.