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.

IP for VPS changed, and trouble getting sites back online

Discussion in 'General Discussion' started by s37n, Nov 21, 2011.

  1. s37n

    s37n Active Member

    Joined:
    May 22, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    My host changed my IP address, and my websites aren't coming back online.

    • I've changed the Nameserver IPs at my domain registrars.
    • I've changed the WHM/cPanel IPs

    I can get into WHM, cPanel, & Webmail, the sites just won't come up.

    I get the following error page...
    mydomains.net/cgi-sys/defaultwebpage.cgi
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You might simply be cached to the old IP. Try checking in a proxy such as proxify.net or kproxy.com to see if the sites come up in the uncached proxy.
     
  3. s37n

    s37n Active Member

    Joined:
    May 22, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    thank you, but I had already checked that as well. I get the same error page.
     
  4. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi s37n,

    Check if the sites are being pointed to correct I address. Check the IP in virtual host entries of domain in httpd.conf
    and A records of the domain in domain.db file under /var/named

    Perhaps there might be any conflict in IP addresses in both the place. IP should be identical in both the places. ;)
     
  5. s37n

    s37n Active Member

    Joined:
    May 22, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    ok, i have checked the domain.db files, and they have the correct IP. The httpd.conf file has the wrong IPs, but the file says to not change it. I opened the include files to edit, and they are blank. Not sure what file to edit now.
     
  6. s37n

    s37n Active Member

    Joined:
    May 22, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    actually, the only file in that directory that has anything in it is the errordocument file
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You can try rebuilding the httpd.conf file via:

    Code:
    # /scripts/rebuildhttpdconf
    However, it should have updated automatically when the IP addresses were changed for the accounts via Web Host Manager. You may need to double check the IP Addresses were changed properly by using:

    "WHM >> Multi Account Functions >> Change Multiple Sites' IP Addresses"

    Thank you.
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Also, if they already do show the right IP, you might try the WHM > IP Migration Wizard and re-apply the new IP for all sites again.
     
  9. s37n

    s37n Active Member

    Joined:
    May 22, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    thank you for all your help. The IP migration Tool did the job. Didn't even think to look for a tool, and was trying to do it all manually. Had I took a few seconds to look for a tool, I would have saved myself a huge headache.

    thanks a million.:D
     
Loading...

Share This Page