Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Migrate accounts and NS to new cPanel server w/ new IP's

Discussion in 'Bind/DNS/Nameserver' started by SeanLee, Sep 20, 2017.

  1. SeanLee

    SeanLee Well-Known Member

    May 23, 2004
    Likes Received:
    Trophy Points:
    So, I have an older cPanel server that I want to retire for various reasons - I'll refer to it as The cPanel server's main IP is also used for NS1.MYDOMAIN.COM, and I have BIND cluster setup for NS2 (which is at a different hosting provider, using DNSOnly). NS1 and NS2 are what all my accounts use for name server resolution (NS1 and NS2 are registered as name servers with GoDaddy). This cPanel server sits on a 72.x.x.x network.

    My new cPanel server is CloudLinux based, and is also running BIND (for now). I have it setup to be called CP02 uses completely different IP addresses (50.x.x.x network), so I realize I'll eventually need to change my NS1 address with my registrar. However, I set this one up to also have NS1.MYDOMAIN.COM and NS2.MYDOMAIN.COM be used for name servers. NS1 is set to use my new IP address, and NS2 still uses the cluster'd DNSOnly instance.

    I have some questions about the steps involved to successfully make this transition:

    1) Migrate all accounts over to new cPanel server.
    -Does this mean they will continue to use the old NS/IP for now?
    -Do I have to manually edit all the DNS zones after the migration is done?
    -Is there a better way?​

    2) Migrate the main domain ( over to new cPanel server.
    -Is this correct? Should I be doing something else manually? I have entries in the original NS1 that I'd like to keep.​

    3) Power down the original cp01; go to my registrar and change the IP for NS1, which is now on cp02.
    -Is this correct?​

    I looked for a detailed how-to, and could only find info on how to a) migrate accounts; b) change the main IP of a cPanel server or c) change the IP of a name server.

    All comments appreciated.

    Thanks much,

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello Sean,

    Yes, the domain names will continue to use the same name servers because name servers are configured at the domain registrar of the domain name. Once you are ready to have the domain names resolve to the new server, you'd simply update the name server IP address for "NS1" at the domain registrar of "". Then, ensure to enable DNS clustering on the new cPanel server so that the updated DNS zones (with the new IP address) are automatically synced to NS2.

    Yes, that's the correct way to do it. Ensure to update the "A" record for NS1 in the DNS zone of "" on the new cPanel server via "WHM >> Edit DNS Zone".

    Yes, that's correct. One final step that you may need to take is to manually sync the DNS zones from the new cPanel server to the cluster using "WHM Home » DNS Functions » Synchronize DNS Records".

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice