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!

Dedicated IP Address - Uses wrong root folder?

Discussion in 'General Discussion' started by Heofz, Jan 24, 2008.

  1. Heofz

    Heofz Registered

    Jan 24, 2008
    Likes Received:
    Trophy Points:
    Hi everyone,

    Since about November, my host switched my package to one that includes a free dedicated IP address.

    However he seems to not be able to assign the ip address to the correct directory.

    So if I typed in http://ipaddress/ Instead of it using my document root of my main domain, it uses the document root of my addon domain. And my hoster has apparently tried resetting it multiple times without any success.

    Is this a known cPanel bug?
  2. jayh38

    jayh38 Well-Known Member

    Mar 3, 2006
    Likes Received:
    Trophy Points:
    Your addon domain appears on the IP because it is above your main domain in httpd.conf virtual host list. Whichever virtual host appears first for that IP will be the one that displays at that address. Tell your host to make your main domain be the first virtualhost for the IP.


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