Report this

What is the reason for this report?

cannot access phpmyadmin on nginx with magento installed

Posted on September 2, 2020

I have phpmyadmin installed on my server running nginx and my magento site. However, When I browse to mydomain.com/phpmyadmin magento responds saying it cannot find what I’m looking for. How can I set this up properly so that subfolder is properly routed?



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!

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.

Hi @StatusCue,

You’ll need to add a server block in your Nginx configuration file for your domain. There is a pretty good DigitalOcean tutorial on how to do this if you are uncertain what changes to do to your domain’s Nginx config file. You can check it out here:

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-18-04-server

Regards, KFSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.