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.

Wrong document root after giving dedicated IP to an account

Discussion in 'General Discussion' started by santerref, Jul 22, 2014.

  1. santerref

    santerref Registered

    Joined:
    Jul 22, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm trying to assign a dedicated IP to an account on my cPanel/WHM installation and I get the default cgi-sys/defaultwebpage.cgi showed when I try to access the website...

    When I ping the domain on both my server and at home, I get to good IP (suppose it's 1.1.1.1).

    I take a look into /var/cpanel/userdata/website.com (website.com is an example) to see if the documentroot is correctly set and also the IP. Everything is fine.

    After, I take a look into the /usr/local/apache/conf/httpd.conf to see if everything was correctly configured and it's also good.

    I check if the DNS zone was correctly updated and it is.

    I have used WHM to assign the new IP so it should work (I have done this before and everything was fine...).

    I use the latest stable version of cPanel/WHM.

    - - - Updated - - -

    When I try to access the link website.com/lol.php, it look into /usr/local/apache/htdocs/ not in /home/website/public_html ...

    - - - Updated - - -

    Also, the SSL work, but not the non-ssl.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please try clearing the browser and DNS cache on your computer. It's likely just a cache issue on your local machine that's resulting in website resolving to the previous IP address.

    Thank you.
     
Loading...

Share This Page