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.

Post-Migration help

Discussion in 'General Discussion' started by Yeezy750, Nov 12, 2016.

  1. Yeezy750

    Yeezy750 Registered

    Joined:
    Nov 12, 2016
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    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?!?!?
     
    #1 Yeezy750, Nov 12, 2016
    Last edited by a moderator: Nov 22, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. Yeezy750

    Yeezy750 Registered

    Joined:
    Nov 12, 2016
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    i ahve updated the basic config, however not the rebuildhttpdconf script, will give that a try
     
  4. Yeezy750

    Yeezy750 Registered

    Joined:
    Nov 12, 2016
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    still having the same issue
     
  5. Yeezy750

    Yeezy750 Registered

    Joined:
    Nov 12, 2016
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    i take it back....seems to have done the trick! thanks for the help
     
    cPanelMichael likes this.
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page