Skip to content
Migration4 min read

Moving a site from one host to another without downtime

Short answer

Moving a site between hosts is four steps in order: copy the files, databases and email to the new host, test the site there before anyone sees it, switch the domain by changing the nameservers, then wait some days before cancelling the old host. The site never stops because the old copy keeps running until the switch completes. Moving the site does not require transferring the domain registration.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. The idea that prevents downtime
  2. What gets moved?
  3. The steps in order
  4. Moving the site is not transferring the domain
  5. Mistakes that cause downtime
  6. Coming from a particular host
  7. On ArabyHost

Most people who stay with a host they dislike stay out of fear of moving: the site going down, mail getting lost, links breaking. In reality a move is an orderly process, and done in the right order visitors do not notice it. This guide explains the order for any site, whatever the old host is.

The idea that prevents downtime

Do not move the site; copy it. The old copy keeps running and serving visitors while you build an identical one on the new host and test it. When you are sure, you switch the domain from the old one to the new one. At every moment there is a copy that works.

What gets moved?

Item Where it is Note
Site files The public_html folder or its equivalent Including hidden files such as .htaccess
Databases phpMyAdmin or the panel’s backup tool Exported as SQL
Mailboxes and their messages The email panel The part most often forgotten
DNS records The domain’s DNS zone Especially MX, TXT and subdomains
Scheduled jobs Cron Jobs Copy the commands and the timing
PHP settings PHP version and limits So the site behaves the same
SSL certificate Not moved A new one is issued automatically on the new host

The steps in order

1. Take a full copy from the old host

If the old host runs cPanel, a full backup carries everything at once, as in the cPanel to cPanel guide. With another panel, copy the files and databases by hand.

2. Put it on the new host

Restore the backup, or upload the files and import the database, then update the database connection details in the config file. For WordPress sites the details are in the WordPress migration guide.

3. Create the same mailboxes

With exactly the same addresses, before switching the domain. Then move the old messages as in the email migration guide.

4. Test before anyone sees it

Open the site from the new host while the domain still points to the old one. The ways: a temporary URL from the host, or editing the hosts file on your computer so it sees your domain at the new address. Try the pages, the login, the forms, and a full purchase if it is a store.

5. Switch the domain

Change the nameservers at the domain’s registrar to the new host’s. The change takes hours to spread, sometimes up to a day. During that time do not edit the site’s content, so edits do not end up split across two copies.

6. Check after the switch

Confirm the SSL certificate was issued, mail arrives and sends, and scheduled jobs run. Then move any messages that reached the old server while the change was spreading.

7. Cancel the old host after a week

Not before. A week reveals what was forgotten: a subdomain, a file outside the folder, a mailbox.

Moving the site is not transferring the domain

Many people mix the two up, and the difference matters:

  • Moving the site (hosting): the files and data go to another server, the domain stays registered where it is, and you change only the nameservers. This is what fixes slow or expensive hosting.
  • Transferring the domain (registration): the registration of the name itself moves from one registrar to another with a transfer code. It takes days and has nothing to do with where the site lives. Details are in the domain transfer guide.

You can move the site today and leave the domain where it is until its renewal date.

Mistakes that cause downtime

  • Cancelling the old host before the change has spread.
  • Forgetting the mailboxes, so messages bounce after the switch.
  • Forgetting custom DNS records such as verification records and subdomains.
  • Not testing the new copy, so visitors see a database error.
  • Switching the domain on the day of an ad campaign or a sales season. Pick a quiet time.
  • Editing content while the change spreads.

Coming from a particular host

Each host has its own way of downloading the copy. These guides cover the best known: from Hostinger, from GoDaddy, from Bluehost and from Namecheap.

On ArabyHost

We do all of these steps for you, free with any plan: we copy the files, databases, mailboxes and their messages, subdomains and cron jobs, test the site on our side, then tell you to change the nameservers. Your site keeps running on your old host until that moment. You send us the login details for the old host or a full backup, and a move from cPanel is faster than from anything else. After the move, the SSL certificate is issued automatically and daily backups start from the first day. The plans are on the hosting page.

FAQ

Does my site go down during the move?

Not if you follow the order. The site keeps running on the old host throughout the copying and testing, and when the domain is switched some visitors see the old copy and some the new one for a few hours, and both work.

Does moving the site mean transferring the domain?

No. Moving the site means copying the files and data to another server and pointing the domain at it by changing the nameservers. Transferring the domain registration from one registrar to another is a separate, optional process that can wait or never happen.

When do I cancel the old hosting?

At least a week after switching the domain, once you have confirmed the site and email work from the new host and taken a last copy of everything. Do not cancel it on the day of the switch.

What about messages that arrive during the switch?

While the change spreads, some messages may still reach the old server. That is why the same mailboxes are created on the new host before the switch, and the messages are copied one last time after it.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.