Rinzler78

Member
May 12, 2013
10
0
1
cPanel Access Level
Website Owner
Hi,

I've had to change my main server IP.

Is there a script anywhere to change an ip address of a domain, ie set the a rec and any other instances of an IP in the zone to a new one? or do I need to use the editzone api function?

Cheers

Sam
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

You can use the IP Migration Wizard in Web Host Manager:

"WHM Home » IP Functions » IP Migration Wizard"

Or, to change the IP address of a single account you can use:

"WHM Home » IP Functions » Change a Site’s IP Address"

Both options automatically update the DNS Zone to the new IP address.

Thank you.