Wrong document root after giving dedicated IP to an account

santerref

Registered
Jul 22, 2014
1
0
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
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.