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

I use the url to log in.

This is accessible to anyone which seems like a bad idea as anyone can guess it's there. How can I hide it and make it accessible via .htaccess only to my IP address, or perhaps rename it so no one will find it?

share|improve this question

closed as off-topic by HopelessN00b Jan 13 at 22:23

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. – HopelessN00b Jan 13 at 22:23

1 Answer 1

adding a htaccess to only allow by ip can be done by this:

AuthName "My Secret Area"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from
allow from
share|improve this answer
Thanks! A couple of follow-up questions. What does AuthName do? What is the line allow from – sarytash Feb 27 '12 at 18:14
Authname is the Htaccess message, it's just a message nothing special. The allow from is if you want to allow people from a certain domain (multiple IP's with the same reverse lookup). – Lucas Kauffman Feb 27 '12 at 18:26
Thank you very much! I will implement this and see that it works as planned and then accept your answer. – sarytash Feb 27 '12 at 18:44

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