Yeezy750

Registered
Nov 12, 2016
4
1
3
Australia
cPanel Access Level
Root Administrator
Hello,

we use whm/cpanel (on linux) to host various websites for clients. We had to do an emergerncy migation and move the whm server to a new host (which also involved giving the server a new local ip).

the migration itself went ok and everything is working, however i have noticed a slight bug and for the life of me dont know what i did wrong.

so the server itself internally is called cpanlhost.domain.com.au and had to give it a new ip of 192.168.0.1 (used to 10.0.0.1). So after moving the server and giving it a new ip, and changing the ip of all the websites/domain we host, we got everything up and running.

however i have noticed now (by accident) if i goto cpanlhost.domain.com.au:2087 i am directed to the WHM for the main server, but if i goto cpanlhost.domain.com.au, it actually goes to a clients website (e.g client1website.com.au) lol so instead of being directed to the defaultwebpage.cgi page where it gives you the default webmaster error.

i have noticed this as well with some of our of other client websites and remember that when i gave the server a new local ip, all the websites we hosted all kept point to client1website.com.au, so i found the section in WHm where i had to change the IP address of everysite (so they would be directed to their correct site).

My problem is now that unless we specify an alias and redirect for new client websites (in their own cpanel), they are defaulting to client1website.com.au, instead of hitting the defaultwebpage.cgi.

can anyone please help?!?!?
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello,

Have you updated the shared IP address under the "Basic Config" section in "WHM >> Server Configuration >> Basic WebHost Manager Setup" option in WHM? If so, try running the following command to see if the issue persists:

Code:
/scripts/rebuildhttpdconf
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.