Could use some "think with me advise" which may result in some kind of howto ..... I couldn't find a complete / appropriate howto with Google, so let's use these forums to be the 1st.
I have a current server, which runs Bind9 on ns0 and ns1 for my maindomain. These ns0 and n1 nameservers are also responsible (authoritative) for several other domains and they have separate, individual IP addresses.
I want to move to a new server, with new IP addresses and I want to move the authorative ns0 and ns1 to this new server. Objective is to get rid of the current server in the future, after the move. These ns0 and ns1 are known in the tld (Netherlands) registry.
I cannot move all domains / websites in one action to the new servers, so I have to do that step by step. Another complicating factor is that there are sub-domains/websites which also cannot be moved at the same moment as the primary domain.
So the steps I have in mind are:
- Define on the new server (with ISPConfig), all the old domains / host names, pointing to the current server. I do this with the DNS Manager of ISPConfig, "New Master". I will not add domains with "New Site" functionality.
- Change the IP address of ns1 on the current server to point to the new server
- Wait for at least 72 hours to make sure the change to ns1 has been propagated
- Verify at the tld name servers and my own name servers the correct resolving of ns1
- Check on the new server (with dig @ns1) all the existing domains and hosts are resolved to the old server IP addresses, to ensure all websites stay online
- Change on both servers the IP address of ns0 to resolve to the new server
- Again wait at least 72 hours to allow propagation of the ns0 IP address
- Check if both ns0 and ns1 (and therefor non-specified queries) will result in proper resolving of the existing domain names to the old server. Also, requesting webpages in a browser should result in sites being served by the webserver on the old/current hardware. This should complete the transition of the Bind aka nameservers.
Next step is to migrate the sites. That should done like
- Create a Customer + site with ISPconfig
- Transfer the data, setup databases, modify rewrite rules, etc
- Create a codomain on the new IP address and test the site
- Remove the old IP address from the "DNS Manager"
- Place a redirect directive on the old server for this specific (sub-)domain
- Test if the site resolves to the new server
- Remove the co-domain
I'm pretty sure there are some holes in the above plan. I'd be very grateful if another prying eye points me to the obvious.