The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dedicated IP Address - Uses wrong root folder?

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

  1. Heofz

    Heofz Registered

    Joined:
    Jan 24, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    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.

    jay
     
Loading...

Share This Page