How to move a WordPress site to a new host without downtime
By the GOAT HOST team · Updated 2 December 2026 · 8 min read
You can move a WordPress site to a new host without your visitors noticing. The trick is to build a complete working copy on the new server first, test it properly, and only then point your domain at it. Your old host keeps serving the site until the very last moment, so there is no gap.
Before you start
A little preparation makes the move calm rather than stressful. Gather these before you touch anything:
- Login to your old hosting control panel, so you can download files and the database.
- WordPress admin login for the site itself.
- Login to wherever your domain's DNS is managed. This might be your old host, your domain registrar or a separate service. Find out which before you begin.
- A list of your email accounts, if your email is hosted with your old provider.
- Your new hosting account, set up and ready.
Pick a quiet time. For most businesses that is an evening or weekend. If you run a shop, avoid your busiest days, and plan to pause new content while the move happens so nothing is lost between the copy and the switch.
Step 1: Take a full backup
Before anything else, take a complete backup of the site as it stands. A WordPress site has two parts, and you need both:
- The files. WordPress itself, your theme, your plugins and everything in the uploads folder, which holds your images and documents.
- The database. Your pages, posts, settings, users, and for shops, products and orders.
Your old host's control panel will usually let you download both, the files as a zip and the database as an SQL file. Save the backup somewhere safe on your own computer, not just on the old server. This is your way back if anything goes wrong.
Step 2: Copy the files and database to the new host
There are two common ways to do this.
Using a migration plugin. Several well-known WordPress plugins package up your whole site and unpack it on the new server. This is often the easiest route for small and medium sites. Very large sites can hit upload size limits, so check the plugin's limits first.
By hand. This is more steps but gives you full control:
- Upload your WordPress files to the new hosting account, using the file manager or SFTP.
- Create a new, empty database and database user in the new control panel.
- Import your SQL file into the new database.
- Edit the
wp-config.phpfile so it uses the new database name, user and password.
Keep the same domain name at this stage. You are making an exact copy, not a new site.
Step 3: Test the new copy before anyone sees it
This is the step that prevents downtime. Your domain still points at the old host, so you need a way to view the new copy privately.
There are two usual ways:
- A temporary URL. Many hosts give you a temporary address for a new account. It is quick, but WordPress stores its own address in the database, so you may need to change that address temporarily, and change it back before going live. Links and images can look broken until you do.
- Editing your computer's hosts file. This tells your own computer, and only yours, to load your domain from the new server. Everyone else still sees the old site. It is the more accurate test, because the site runs on its real address.
Once you can see the new copy, check it properly:
- Click through the main pages, the menu and the footer.
- Submit your contact form and make sure the message arrives.
- Log in to WordPress admin and check plugins are active.
- If you run a shop, add something to the basket and go as far through checkout as is safe.
- Check images, downloads and any embedded maps or videos.
If something does not work, check whether the new host is running the same PHP version as the old one. Older plugins sometimes need a particular version.
Step 4: Sort out email before you switch
Email is where most moves go wrong, because it often lives with the old host without anyone realising.
First, find out where your email is actually hosted. If you use a separate service, such as Microsoft 365 or Google Workspace, you just need to make sure those email records are copied across exactly if you move your DNS. Your mail is not affected by moving the website.
If your email is hosted with your old web host, you need to move it too:
- Create the same mailboxes on the new host, with the same addresses.
- Copy existing messages across. Many email apps can drag folders from one account to another, or the new host may have a tool for it.
- Note the new mail server settings for phones and computers.
Also make sure the new setup includes the records that stop your mail landing in spam: SPF, DKIM and DMARC. Our guide to business email on your own domain explains what each one does.
Step 5: Lower your TTL, then switch DNS
DNS is the system that tells the internet which server your domain lives on. Every DNS record has a TTL, or "time to live", which tells other computers how long they may remember the answer before checking again.
If your TTL is long, some visitors may keep going to the old server for hours after you make the change. To speed things up:
- A day or two before the move, lower the TTL on your website's DNS records to a short value, such as five minutes.
- Wait for the old, longer TTL to run out, so everyone has picked up the short one.
- On moving day, change the records to point at the new server. Because the TTL is short, most visitors will move across quickly.
- Once everything is settled, you can raise the TTL again.
During the changeover some visitors will see the old server and some the new. Because both have the same working site, nobody sees an error. That is why you keep the old hosting running and avoid making changes to the site during the switch.
If you are moving email at the same time, update the mail (MX) records in the same step, and check a few messages in both directions afterwards.
Step 6: Set up SSL and check for warnings
SSL certificates are tied to the server, so the new host needs to issue one for your domain. With free automatic SSL, this normally happens shortly after the domain points at the new server. Until then, some browsers may show a warning, which is another reason to switch at a quiet time.
Once the certificate is in place:
- Visit your site with https and check for the padlock.
- Look for "mixed content", where some images or scripts still load over plain http. A search-and-replace on the database usually fixes it.
- Make sure http visitors are redirected to https.
Our guide to SSL certificates explained covers this in more depth.
After the move
Give the new site a few days and keep an eye on things:
- Check your contact forms and order emails are arriving.
- Test speed on a phone. Our website speed guide has some simple checks.
- Set up backups on the new host and take a fresh one.
- Once you are confident, download a final copy from the old host and then cancel it.
If you would rather not do this yourself, GOAT HOST can help move your site across. Open a ticket from our support page and tell us what you have, and see our WordPress hosting plans for where it could land.
Frequently asked questions
Will my website go offline while I move it?
It should not. If you build and test the full copy on the new host before changing DNS, and keep the old hosting running during the switch, visitors always reach a working site.
How long does DNS take to update?
It depends on the TTL. If you lower it a day or two in advance, most visitors move across within minutes to an hour of the change.
Will I lose my emails when I change host?
Not if you plan for it. Find out where your email is hosted, recreate the mailboxes on the new host if needed, copy messages across, and only then update the mail records.
Will moving host affect my Google rankings?
A careful move that keeps the same domain, the same page addresses and no downtime should not cause problems. Changing your domain or page structure at the same time is a bigger job and needs redirects.
When can I cancel my old hosting?
Once the new site and email have been working for at least a week and you have a backup saved on your own computer.
WordPress hosting from £5.99/mo
WordPress ready installed, with staging, malware scans, free SSL and a built-in CDN. Hosted in London.

More guides
Web hosting for Welsh businesses: what to look for
A plain guide to web hosting for a Welsh business, club or charity: UK data location, speed, .cymru and .wales domains, bilingual sites and real support.
WordPressWordPress hosting in the UK: a plain-English guide
What WordPress hosting is, how managed and general hosting differ, which features matter (staging, updates, malware scanning, SSL, CDN) and how to pick a plan.
Domains.cymru, .wales, .co.uk or .uk? Choosing a domain name in Wales
How to choose a domain name for a Welsh business, charity or club: .cymru and .wales explained, .uk vs .co.uk, bilingual pairing, brand protection and renewals.