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

This isn't so much of a problem, but would like to know why this happens.

we have a dedicated server running WHM. If I access the server via its IP address directly I am automatically redirected to

I know how to edit this page (this isnt the problem)

I'm just curious why I get redirected to this .cgi page, rather than simply remain @ and view my default "landing page", if you like.

What setting could I change so that if anyone visits my server IP, they do not get redirected to

For instance if you visit (google), you view the google home page, but URL remains the same.

Hope this makes sense.


share|improve this question
I get the strangest feeling I've just stepped back into 1994. – Tom O'Connor Feb 6 '13 at 9:00

Not sure if you're still trying to figure this out, but you need to edit your httpd.config. You should be able to find it at the following location if you are on a VPS or dedicated server. /etc/httpd/conf/httpd.config

find where it looks like this. Usually surounded by "do not edit this"

    DocumentRoot /home/domain/public_html
    UseCanonicalName Off
    CustomLog /usr/local/apache/domlogs/ combined
    CustomLog /usr/local/apache/domlogs/ "%{%s}t %I .\n%{%s}t %O ."
    ## User domain # Needed for Cpanel::ApacheConf
    <IfModule mod_suphp.c>
        suPHP_UserGroup domain domain
    <IfModule !mod_disable_suexec.c>
        SuexecUserGroup domain domain
    ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/

share|improve this answer

Your Answer


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