cPanel server migration - need to transfer zones without cPanel accounts

ladydi711

Well-Known Member
Sep 4, 2001
140
6
318
Hello,

I have migrated all cPanel accounts from my old server to new server. I have several dozen zones on the old server that do not have associated cPanel accounts, so did not transfer.

Is there and easy method to transfer these zones to the new server without manually creating them all?

I tried simply copying the domain.com.db file from old to new, but that did not work.

The new server will be the primary nameserver for all domains.

Thanks in Advance,
Diane
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
I tried simply copying the domain.com.db file from old to new, but that did not work.
Hello,

You will need to run the following command after moving the domain.com.db file into the /var/named/ directory:

Code:
/scripts/rebuilddnsconfig
Thank you.