php my admin url issue

i just now installed phpmyadmin using the tutorial provided by digital ocean to a folder /var/www/html/nothingtoseehere/index.php when i go to this url eg http://myip/nothingtoseehere/ the login page opens up but as soon as i enter the credentials the page redirects to root of the url eg http://myip/index.php which doesnt exist there therefore says 404 i am fed up of this issue i searched a lot and didnt found a solution btw i am on ubutu 16.04.6 LTS

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @ankitayus2008,

Can you please show us your Nginx configuration file as well as the output of the following file /etc/phpmyadmin/conf.d/pma_secure.php

It seems like your Nginx configuration file contains some redirection rules which kick when you access http://myip/index.php. Having said that, I can’t pinpoint the issue unless I know what has been written in the config file.

Regards, KDSys