Report this

What is the reason for this report?

cant access phpmyadmin through my IP/phpmyadmin (redirection to domain)

Posted on February 21, 2019

Hello there, i have installed a oneclick wordpress app on my droplet and during the installation it asked for a domain/subdomain and i had put a random one just for test sake… i had also installed phpmyadmin but whenever i use the IP/phpmyadmin it redirects me to the domain that i had put and i cant access the phpmyadmin page since i dont own said random domain



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.

Hey friend,

So Wordpress is going to capture everything by default, and you generally want it this way for permalinks. You can try to capture /phpmyadmin by configuring it to be intercepted at the web server level and served from the directory that it’s installed. The easiest way is to make sure that the application is not installed in a subdirectory of the Wordpress installation as .htaccess files are recursive in nature, Working around that is more trouble than it’s worth.

I’d honestly ask a question that changes the direction instead. What is it that you need phpmyadmin for? This is a single PHP file that accomplishes the same task: https://www.adminer.org/en/

Anything that you need to do over phpMyAdmin can be done over SSH without exposing the ability to brute force your databases. What is the task that you’d like to complete through it?

Jarland

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.