OK fellow website owners. I just thought maybe it's my turn to share something with the clan.
You've probably all had to face that frustrating situation where you need to change to a different server for whatever reason.
The biggest issue with that is that the nameservers of course take forever to update (sometimes up to 48 hours), so you'll either need to have some downtime for your site until they propagate properly, or you'll just need to have a duplicate site on both servers until the first one gets completely dropped.
I just felt like sharing a very simple method I use so that I never need to have any downtime when switching servers. While there are other methods which are just as effective, I like this one as it's really simple. Keep in mind that for this to work you'll need to know that you're switching servers in advance.
OK, so you guys have probably all heard of Cloudflare.
Just register there and a few days (at least 3), move your site over to them (change your Nameservers to their ns).
Now, after 3 days, your site will completely have moved over to Cloudflare. When you decide that you want to move, just switch the IP in the Cloudflare settings to the new server IP. Since the NS isn't changing, the change is pretty much immediate. Now, go to your Registrar and change the NS to your new NS for the new server. This way, while you're waiting for the NS to propagate you're still pointing to the same servers.
This method essentially creates a buffer, where both the old and the new Nameservers are pointing to the server you're using (first the old one, then the new one).
You've probably all had to face that frustrating situation where you need to change to a different server for whatever reason.
The biggest issue with that is that the nameservers of course take forever to update (sometimes up to 48 hours), so you'll either need to have some downtime for your site until they propagate properly, or you'll just need to have a duplicate site on both servers until the first one gets completely dropped.
I just felt like sharing a very simple method I use so that I never need to have any downtime when switching servers. While there are other methods which are just as effective, I like this one as it's really simple. Keep in mind that for this to work you'll need to know that you're switching servers in advance.
OK, so you guys have probably all heard of Cloudflare.
Just register there and a few days (at least 3), move your site over to them (change your Nameservers to their ns).
Now, after 3 days, your site will completely have moved over to Cloudflare. When you decide that you want to move, just switch the IP in the Cloudflare settings to the new server IP. Since the NS isn't changing, the change is pretty much immediate. Now, go to your Registrar and change the NS to your new NS for the new server. This way, while you're waiting for the NS to propagate you're still pointing to the same servers.
This method essentially creates a buffer, where both the old and the new Nameservers are pointing to the server you're using (first the old one, then the new one).