Moving server to new location and resulting new IPs


Well-Known Member
Sep 23, 2009
Lusby, Maryland, United States
cPanel Access Level
Root Administrator
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?


Well-Known Member
Feb 25, 2010
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:

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.