Plenty of people stay with a host they're unhappy with because moving sounds risky. Done in the right order, though, your visitors and customers won't notice a thing. The trick is simple: set everything up at the new host first, and only then send visitors there.
1. Don't cancel anything yet
Keep your old hosting running until the move is finished and you've checked everything. Note when it renews, so you know how much time you have.
2. Copy your website
Your site is two things: its files and, for WordPress and most apps, a database. Both need to be copied.
- Take a full backup at your old host, or use a migration plugin for WordPress.
- Upload the files to the new host and import the database.
- Update the database details in your app's settings file if they're different at the new host.
Moving to Sivda? We'll do all of this for you, for free: see Moving your website and email to Sivda.
3. Check it before anyone else sees it
Look at the copy at the new host before you switch. Your host can tell you how to preview it, usually with a temporary address or a change to your computer's "hosts" file. Click through your main pages, test your contact form and, for a shop, place a test order.
4. Sort out your email first
Email is where moves usually go wrong. Before you switch:
- Decide where your email will live: the new host, a separate email service, or where it is now.
- If it's moving, create the same mailboxes at the new place, and copy old messages across.
- Lower the time-to-live (TTL) of your DNS records to a few minutes a day before the switch, if your DNS provider lets you. Changes then reach everyone quickly.
5. Switch over
Now point your domain at the new host, by changing the nameservers or the A record (here's how). Copy across every other DNS record you need, especially MX and TXT records, which run your email.
For a few hours, some visitors reach the old host and some the new one. Because both have the same site, nobody notices. Avoid changing your site or publishing during this time, as changes on the old copy would be lost.
6. Check, then cancel
The next day, check:
- your site loads with the padlock (HTTPS) at the new host;
- email arrives and sends from every address;
- forms, payments and scheduled tasks work.
Download a final backup from the old host and keep it. Then cancel the old hosting.
Your domain can stay where it is
Switching hosts doesn't mean moving your domain. You can leave it registered where it is and simply point it at the new host, which is one less thing to move.