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.

Moving server to new location and resulting new IPs

Discussion in 'General Discussion' started by fkatzenb, Jul 9, 2014.

  1. fkatzenb

    fkatzenb Well-Known Member

    Joined:
    Sep 23, 2009
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lusby, Maryland, United States
    cPanel Access Level:
    Root Administrator
    Morning!
    So I am looking for anyone's best practices for moving a server to a new location and as a result, a new set of IP addresses. What are some best practices with cPanel to do this? For example, what is the best method for changing the primary host IP and propagate it? Once I move the websites to their new IPs, is there a clean up script I should run?
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Changing the server's primary IP address is done in the operating system's network configuration scripts, not in cPanel. Once that is done, use Home » Server Configuration » Basic cPanel & WHM Setup and change the main IP address there, so that it will be written in all of the cPanel configuration files.

    Then, use Home » IP Functions » IP Migration Wizard. It is specifically designed for situations like this. It will explain all of the changes it will make, before it makes them. You can read its documentation here:

    http://documentation.cpanel.net/display/ALD/IP+Migration+Wizard

    Also, remember to register your new IP addresses as nameservers at your domain registrar, so that your nameservers will work. Unfortunately, there is no way to completely avoid all DNS propagation delay, because of the way nameservers cache queries around the globe, so it may be a few days before your sites resolve to the new IP addresses globally.
     
Loading...

Share This Page