Yes, you can do this without any downtime. Setup the websites on the new server and change name server IPs. There are no downtime when a name server IP is changed but it does take a day or two for it to fully move over to the new server.
Yes, you can do this without any downtime. Setup the websites on the new server and change name server IPs.
This is the incorrect way to do this, as you will still have 1-2 days of downtime.
You can modify the DNS zone (A/MX records) at the old server to make them point to the new server. Once the transfer is complete, you can change the NS Ips at the registrar.
This, however is not. By doing things this way, you will have an (almost) instantaneous transfer from A to B, or as close as you can get.
You can also look into iptables rules to forward all traffic from IP A to IP B, but that gets a tad complicated. Going with the first suggestion in the thread should be good enough. Just make sure NOT to change DNS until you have everything transferred over, otherwise you could have some upset clients.
WHMCS Guru - WHMCS addons, management, support and more. WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
Linux Problems? WHMCS Issues? +1-866-546-8914 (linux-14) or @whmcsguru on twitter!
When I had to move my server, I moved by setting port forwarding services, however if you have many websites on one server and if you want to move only one website then only way to do is, copy the website on both places.
Keep mirror for 2 days, once you have copied website and all its data on new server, you can move database to new server.
Change connection string on old server so that both new and old website access database on new server.
Change the IP to new server, it will take 2 days to propogate and you can delete old website.
One way that I found works good for cpanel servers is to:
1) cluster the Name Servers.
2) Then transfer the sites using WHM copy.
3) Change the name servers to point to the new server.
4) Wait a couple days before unclustering.