Articles · Website upkeep
How to move your website to a new host without downtime
By Armstrong Websites. Published . Updated .
To move a website with no downtime, build a full working copy on the new host first, test it, and only then point your domain to it. Keep the old host running for several days after the switch. During the changeover, some visitors reach the old server and some reach the new one, and both show a working site. The steps below go in order.
Check what kind of move you have
Not every website can be copied from one host to another.
A WordPress site, or a site made of plain files, can move. You copy the files and the database to the new host. This article covers that kind of move.
A site on a hosted builder, such as Squarespace, Wix, or Shopify, lives only on that company’s platform. You cannot copy it to another host. Leaving means a rebuild on the new platform. You can still avoid downtime: build the new site in full, then switch the domain. How to choose a website platform for a small business compares the options.
Gather your logins first
Before you touch anything, confirm you can log in to four places:
- The old host.
- The new host.
- The domain registrar, or wherever your DNS records are kept.
- The website’s own admin area, such as the WordPress dashboard.
If a past designer holds any of these, sort that out first. A move that stalls halfway is worse than no move.
Do not cancel the old host
This is the most common cause of downtime. An owner signs up for the new host and cancels the old one the same day. The site and the email stop working.
Leave the old account active and paid until the move is finished and checked. If its renewal date is close, renew for the shortest term offered.
List what the old host does for you
Many hosts do more than hold the website. Write down each service the old account provides.
Email. Are your business mailboxes on the old host? If so, the mail must move too, or stay where it is by plan. Moving the website alone can break email if the DNS changes with it.
DNS. Are your nameservers pointed at the old host? If so, your DNS records live there, and they need a new home. What is DNS? A plain guide for small business owners explains how to check.
Domain registration. Some owners registered the domain through the host. The domain can stay there, or you can transfer it later as a separate job. Do not transfer the domain in the same week as the site move.
Other items. Look for contact form email settings, scheduled tasks, redirects, and extra sites or subdomains on the same account.
Make a full backup
Take a complete backup of the site: all files and the database. Download it to your own computer. Do not rely on a backup that sits only on the old host.
How to back up your small business website walks through the ways to do this.
Copy the site to the new host
Many hosts offer a migration service or a migration plugin for WordPress. Ask the new host what they provide before you do it by hand. Some include one move with a new account. Check the current terms.
If you move it yourself, the outline is the same on most hosts:
- Create the site and an empty database on the new host.
- Upload the files.
- Import the database.
- Update the site’s settings file with the new database name, user, and password.
From this point, do not edit the old site. A new blog post, product, or form entry added after the copy will not be on the new host. For an online store that takes orders every day, plan the copy for a quiet time and keep the gap short.
Test the copy before anyone sees it
Most hosts give you a way to view the site before the domain points to it. It may be a temporary web address or a preview link. Ask the host’s support if you cannot find it.
Check these on the new copy:
- The homepage and each main page load, with photos in place.
- The menu links work.
- The contact form sends, and the message arrives in your inbox.
- You can log in to the admin area.
- Any store, booking tool, or payment step works from start to finish.
- The site looks right on a phone.
Fix problems now. Nobody can see this copy yet, so there is no rush.
Ask about the security certificate too. Your site needs a certificate on the new host so it loads with a padlock. Many hosts issue a free one, but some can only do so after the domain points to them. Ask the new host how they handle this for a move, so visitors do not see a warning in the first hour.
Lower the TTL, then switch the DNS
Each DNS record has a TTL setting. It tells other computers how long to remember the old answer. A day or two before the switch, lower the TTL on the records you plan to change to the shortest value your DNS provider allows. The switch will then spread sooner.
On switch day, save a screenshot of all current DNS records. Then make the change:
- If your DNS stays where it is, edit the A record (and the “www” record, if it has its own) to point to the new host. Leave the MX records alone, and email keeps working as before.
- If your DNS moves to the new host, copy every record into the new DNS zone first, including MX and TXT records. Check the copy line by line. Only then change the nameservers at your registrar.
Pick a quiet time. For a cafe, that might be a Monday evening. For a trade, a weekend.
Watch both hosts, then close the old one
After the switch, some visitors still reach the old server for a while. That is why it stays on.
Load your site from your phone on mobile data and from a computer. Send a test through the contact form. Send an email to your business address from a personal account, and reply to it. Ask a friend in another town to load the site.
Check again the next day. Log in to Google Search Console, if you use it, and look for new errors over the next week or two.
When the checks pass, close the old account. As plain guidance, wait at least a week after the switch. Confirm that no email, form, or subdomain still depends on the old host. Download one last backup from it. Then cancel the old account and turn off its auto-renewal.
Raise the TTL on your DNS records back to the value it had before.
If you want someone to plan or handle the move with you, start with a note through the contact page.
Read next
How often should you update your business website?
Update facts the day they change, check the site once a month, and review every page once a year. Here is a simple schedule a small business can keep.
How to check your website for broken links
Check a small site by clicking each link by hand, then use Google Search Console or a link checker to find the rest. Fix each one with an edit or a redirect.
How to keep your business email out of the spam folder
Send from your own domain, add SPF, DKIM, and DMARC records, and email only people who expect to hear from you. Here is how to set each one up.