EL
Work with us
Website migration without downtime: a step-by-step plan
Hosting

Website migration without downtime: a step-by-step plan

5 min read

Moving a website to a new host sounds simple: copy the files, point the domain, done. In practice, migrations go wrong in predictable ways: emails disappear, forms stop sending, orders placed during the move are lost, or the site is down for hours while DNS catches up. This plan avoids all of them.

What a migration actually involves

A business website is rarely just files. A typical move includes:

  • Website files: the code, theme, plugins and uploaded media.
  • The database: pages, posts, products, orders, customers and settings.
  • Email: mailboxes, if they are hosted with the same provider, plus the records that tell the world where to deliver mail.
  • DNS records: the settings that connect your domain to your website, email and other services.
  • SSL certificates for secure connections.
  • Scheduled tasks such as backups, imports or reminder emails.
  • Integrations: payment gateways, CRMs, booking engines and anything else that connects to your site by its address or IP.

Miss one of these and something breaks quietly after the move.

Step 1: Take an inventory

Before you touch anything, write down what you have:

  • Every domain and subdomain, and where each one points.
  • A full export of your current DNS records. Screenshot them too.
  • Every mailbox and forwarder, and where email is hosted.
  • Which systems send email as your domain: website forms, newsletters, invoicing software.
  • PHP or Node.js version, database version and any special server settings.
  • Scheduled tasks and integrations, including any that whitelist your server's IP address.

Step 2: Lower the DNS TTL in advance

Every DNS record has a "time to live" (TTL), which tells other servers how long to remember it. If your TTL is a day, some visitors could keep reaching the old server for up to a day after you switch.

A day or two before the move, lower the TTL on the records you will change to a few minutes. When you switch, the change spreads quickly. Afterwards, raise it again.

Step 3: Prepare the new server

Set up the new environment to match or improve on the old one: the same or a newer supported PHP version, the right database version, enough memory, caching, a firewall, and SSL ready to issue. If you are moving to a newer PHP version at the same time, test for compatibility first.

Step 4: Copy the site and test it privately

Copy the files and import the database to the new server. Then test it before anyone else sees it. The usual way is to edit the hosts file on your own computer so your domain points to the new server only for you, or to use a temporary preview address.

Check:

  • Every main page loads and looks right.
  • Forms send, and the emails arrive.
  • Logins, search, the cart and the checkout work.
  • Images and downloads load from the right place.
  • No errors appear in the server logs.

Step 5: Plan email separately

Email is where most migrations go wrong. If your mailboxes move too, copy all existing messages to the new mail server before switching, and again right after, so nothing sent during the change is lost.

Update the MX records that route your email, plus SPF, DKIM and DMARC so that mail sent from the new server is trusted. Our guide to SPF, DKIM and DMARC explains each. If your email stays with a separate provider such as Microsoft 365 or Google Workspace, leave those records exactly as they are and only change the website records.

Step 6: Freeze changes during the switch

For a brochure website, a short content freeze is enough: nobody edits pages during the move. For a shop or booking system, timing matters more. Pick a quiet time, put the site in a short maintenance mode while you copy the final database, or use a sync method that brings across orders placed during the switch. Never let customers place orders on the old server after the database has been copied.

Step 7: Switch DNS and watch

Update the DNS records to point to the new server. Thanks to the short TTL, most visitors will reach it within minutes. Keep the old server running for a few days in case something was missed.

In the first hours after the switch:

  • Confirm SSL is active and the site loads over https with no warnings.
  • Submit a test form and a test order or booking.
  • Send and receive email from each important mailbox.
  • Watch the error logs and uptime monitoring.
  • Check Google Search Console for crawl errors over the following days.

Step 8: Clean up

  • Raise the DNS TTL back to a normal value.
  • Set up and test backups on the new server.
  • Update any integrations that used the old IP address.
  • Cancel the old hosting only after a full billing cycle without problems, and after you have a final backup of it.

Common migration mistakes

  • Forgetting a subdomain, such as a booking system or a client portal, that pointed to the old server.
  • Losing email because MX records were changed before mailboxes were ready, or messages were not copied.
  • Mixed content warnings because some images still load over http.
  • Changing URLs at the same time without redirects. A host move should not change your URLs. If you are also redesigning, see our guide on redesigning without losing SEO.
  • Cancelling the old host too early, before confirming everything has moved.
  • Moving during your busiest time.

A migration checklist

BeforeDuringAfter
Inventory domains, DNS, email, integrationsFreeze content changesTest forms, checkout, email
Lower DNS TTLCopy final databaseCheck SSL and logs
Prepare and secure new serverSwitch DNS recordsSet up backups and monitoring
Copy and test privatelySync emailRaise TTL, update integrations

We do this for you

Migration is included with our managed hosting. We take the inventory, move your website, email and DNS, test everything before the switch and watch the site afterwards. Most clients do not notice the move at all, which is the point. If you would also like us to look after the site from then on, add website management.

Need help with this? See our website hosting service.

Request a quote

More articles

Get the Viral monthly

One email a month with practical tips on websites, SEO and marketing. Read by business owners across Cyprus.

One email a month. Unsubscribe anytime. See our privacy policy.