Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how do I move phpmyadmin away from the root url?

for example instead of typing:

i want it to be more secure by making it a few directories down ?

or is there another way of hiding phpmyadmin?


share|improve this question
Shouldn't you put authentication in place instead of hiding it? You know, the whole security-by-obscurity-is-no-security thing? – cjc May 11 '12 at 19:23
i alreayd have authentication just want it to be harder to access – arrowill12 May 11 '12 at 19:26
Don't install it on a public server, it has no place there. – Sven May 11 '12 at 19:26
found the answer here so thanks for that downvote...hope this helps others – arrowill12 May 11 '12 at 19:37
Please don't use phpMyAdmin on a production system. That's really an easy way to get your system owned. – MDMarra May 11 '12 at 20:21
up vote 4 down vote accepted

I'd highly recommend you lock PHPMyAdmin down to one IP address, while blocking everything else. This way, you -do not- need to worry about security. If your computer gets hacked, they might have access, so I'd recommend still having a good secure password to login. :)

If you want the perfect security system of all, don't use PHPMyAdmin and use MySQL through an app like Sequel Pro (on the Mac) and go through a SSH tunnel with a certificate. That would be very hard to get through... and personally, this is what I do. :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.