Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

My servers IP address routs to client website ???

Discussion in 'General Discussion' started by, Apr 4, 2003.

  1. Well-Known Member

    Nov 4, 2002
    Likes Received:
    Trophy Points:

    When I type the IP address of my server in the address bar of my browser, then I get a website of a client of me.

    How can I change this to view my own website ?

    I just want to see my own website when I navigate to my servers IP ... and not one of my clients I host on the same server.

    Can this be changed ? If yes, how ?

    Thanks a lot !!

  2. Marty

    Marty Well-Known Member

    Oct 10, 2001
    Likes Received:
    Trophy Points:
    It is because their site is the first virtual host entry in the httpd.conf file that has that ip listed.

    If you account is on the same ip as the main server ip then just move the virtual host entry for your site to the top of the virtual host entries, then restart apache.

    If it is not on the same ip then you cannot get the main server ip to pull yoursite unless you do this:

    Create your own account with .htaccess redirect or a single white page with a meta refresh to your url, then go to the httpd.conf file and move the virtual host entry for this account to the top of the list, then restart apache.

    If you
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice