Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I have a server that uses cPanel.

There is a built-in feature with cPanel where I can access the login area by going to

I was wondering if there was a way to disable it or hide it. I've tried creating a cpanel directory with an index.html file.

share|improve this question

closed as off-topic by HopelessN00b Jan 13 '15 at 20:49

  • 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.

Do you have access to WHM? – Brett G Nov 2 '09 at 5:58
Yes, I do have access to WHM. – Ian Nov 2 '09 at 13:21
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 '15 at 20:49

This is assuming you're running the linux version, not the FreeBSD or windows versions (if so just let me know).

Log into your server (shell, not through whm) and open


Search for -

ServerAlias cpanel.* whm.* webmail.* webdisk.*

Change it to -

ServerAlias whm.* webmail.* webdisk.*

Then just restart apache-

share|improve this answer