Wednesday, January 9, 2019

domain name system - How to change web host and have minimal downtime for email



In a question related to making a smooth transition to a new shared hosting provider, I want to move the email and web sites as smoothly as possible. I am a developer but have gotten into consulting my friend on what to do.



Company S currently has us using a Google AFYD account for our email. Therefore I can access my email via the web and Google's site. Am I correct in thinking even if the DNS mumbo jumbo that was setup to match mail.DOMAIN.com to the AFYD account goes away, I can still access the account (if it isnt' shut down by the admin)? CrystalTech will be hosting our new email and I have a web interface with them as well that I can get to via a unique URL.



But the customer is adament that her company cannot use webmail for more than a day, and even that day would be painful.




How can I move the email server to the new host with the least amount of downtime?



Clarification
- Their office uses entourage, so all email is in their clients.
- I have already setup the new hosting with similar accounts to the old
- We have instructions on how to setup the email client for the new host
- Web mail should be available as a backup in case it all goes to heck.



please see https://superuser.com/questions/93009/how-to-change-web-host-for-my-small-site-with-minimal-downtime for more questions about migrating the website


Answer




I gave the answer on your other question.



Your best bet is to pre populate the DNS with all the relevant MX records on your new provider before moving nameservers.



This will mean that you will have ZERO downtime as no matter what stage the changeover is at, a query to either the old or new DNS server will get resolved.



... even if you wanted to switch email providers, you can still get zero downtime by doing something similar - create all mailboxes on the new provider and then update DNS to point to the new place. Set up all clients to login to both old and new providers. You will still get emails on the old mailboxes until every cache expires, but after this, the new one will simply start getting all the emails... then simply deactivate/delete the old mailboxes when you know it is finished with.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...