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.

Change IP Script for MyDns

Discussion in 'Bind / DNS / Nameserver Issues' started by Rinzler78, Jan 23, 2014.

  1. Rinzler78

    Rinzler78 Member

    Joined:
    May 12, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page