How to switch hosts without downtime

A well-planned migration goes unnoticed by visitors. Here are the steps and what to watch for with DNS, email and testing.

How to switch hosts without downtime

Many people put off switching hosts for fear of going offline. With planning, the move happens without visitors noticing.

The steps of a safe migration

  • Copy files and the database to the new server
  • Test the site on the new server before touching the domain
  • Lower the DNS cache time a few days ahead
  • Point the name servers and watch propagation
  • Keep the old server running for a few days

The domain does not need to be transferred

Your domain registration can stay where it is. You only point the name servers to the new host. Transferring the registration is a separate, optional process.

Mind the email

If your mailboxes live on the current host, they need to be part of the plan. Messages and records are migrated together so nothing gets lost along the way.

Stores need extra care

In stores, orders placed during the switch cannot be lost. Ideally the database is synced at cutover and the change is made during the quietest hours.