Pre-register now and be first in line at launch.

How to move your WordPress site to a new host without downtime

A step-by-step guide to moving a WordPress site: copy it, test it, then switch your domain, so visitors never see a broken page.

Published 29 October 2026 · 7 min read · WebXLR team

Moving a website to a new host sounds risky. You worry that customers will find a blank page, that orders will go missing, or that email will stop working. Most of these problems come from doing the steps in the wrong order.

The safe order is simple: build a complete, working copy on the new host first, test it, and only then point your domain at it. Keep the old hosting running for a few days afterwards. Your visitors keep seeing a working site the whole time, because one of the two copies is always live.

This guide walks you through that process for a WordPress site. You can do it yourself if you are comfortable with a control panel and a file manager. If you are not, skip to the end.

Before you start

Gather these before you touch anything:

  • Your WordPress admin login, with administrator rights.
  • Access to your current hosting: the control panel, file manager or SFTP, and the database (usually through phpMyAdmin or a backup tool).
  • Your domain registrar login. This is where your domain’s DNS settings live. It may be your old host, or a separate company you bought the domain from.
  • A list of your email accounts, if your business email is hosted with your current web host. Website hosting and email are often bundled, and moving one does not move the other. Plan for email separately, and keep it where it is until you have a new home for it.
  • A quiet time. Choose a day and time when your site gets the fewest visitors or orders.

Step 1: Lower your DNS TTL a day or two ahead

When someone visits your domain, their device looks up which server it points to and remembers the answer for a while. That “while” is called the TTL, or time to live, and you set it in your DNS settings.

If the TTL is long, devices around the world keep using the old address for a long time after you change it. A day or two before the move, lower the TTL on your domain’s records to a short value, such as 300 seconds (five minutes). The change only takes effect once the old, longer TTL has run out, which is why you do this in advance.

Step 2: Take a full backup

A WordPress site has two parts, and you need both:

  1. The files. Most importantly, the wp-content folder, which holds your themes, plugins and uploaded images. Download the whole site folder if you can.
  2. The database. This holds your pages, posts, products, orders, settings and users. Export it as an SQL file.

Many hosts and backup plugins can bundle both into one download. However you do it, keep a copy on your own computer. It is your safety net if anything goes wrong.

Step 3: Copy the site to the new host

On the new hosting:

  1. Create an empty database and a database user, and note the name, user and password.
  2. Upload the files using the file manager or SFTP.
  3. Import the database from your SQL file.
  4. Update wp-config.php with the new database name, user and password.

A migration plugin can do these steps for you, and many people find that easier. Either way, check that the new host runs a PHP version your theme and plugins support. Our Shared plans run PHP 8.3 to 8.5 and MySQL 8.4. Our Cloud plans run MySQL 8.4 or PostgreSQL 16.

Step 4: Test the copy before anyone sees it

This is the step people skip, and it is the one that prevents downtime. You want to see the site on the new server while your domain still points to the old one. There are two common ways:

  • A temporary address. Some hosts give every site a temporary address. On WebXLR, you can start on a free webxlrsites.com address and connect your own domain later. Because WordPress stores its own address in the database, you may need to update the site address, and any links that contain it, while you test on the temporary one.
  • Your computer’s hosts file. You can tell your own computer to send your domain to the new server, while everyone else still reaches the old one. Undo the change when you are done.

Then go through the site as a customer would:

  • Open the home page and your most important pages.
  • Submit every form and check the message arrives.
  • If you run a shop, add to cart and go as far through checkout as you safely can.
  • Log in to the WordPress admin, and check images, menus and plugins.

Fix anything that is broken now, while it is invisible to your visitors.

Step 5: Freeze changes on the old site

From the moment you take the final copy, anything that changes on the old site will not be on the new one. That includes new blog posts, new orders, new comments and form entries saved in the database.

So, just before you switch:

  • Stop publishing and editing.
  • If you run a shop, pick the quietest time you can. If orders came in after your copy, export the database again and re-import it on the new host.

Step 6: Point your domain at the new host

Now switch. At your domain registrar, or wherever your DNS is managed, either change the A record to the new server’s address, or change the nameservers to the ones your new host gives you. Your new host will tell you which to use.

Because you lowered the TTL in step 1, most visitors start reaching the new server quickly. Some devices and networks hold on to the old answer for longer, so for a while some visitors reach the old site and some the new one. Both copies work, so nobody sees an error.

Your site also needs an SSL certificate on the new host for the padlock in the browser. On every WebXLR plan, SSL is free and switches on by itself once your domain points to us.

Step 7: Keep the old hosting for a few days

Do not cancel your old hosting the same day. Keep it running for a few days, until you are confident every visitor is reaching the new server. Check the new site again, look for new orders or form entries in the right place, and keep your backup.

Then, and only then, cancel the old plan.

Common problems after a move

  • Pages other than the home page show “not found”. In the WordPress admin, open Settings, then Permalinks, and click Save without changing anything. This rebuilds the links.
  • The padlock is missing, or the browser warns about insecure content. Some images or scripts may still load over http://. Update your site address to https://, and replace old http:// links in your content.
  • Contact forms stop sending email. The new server may send mail differently. An SMTP plugin that sends through your email provider usually fixes it.
  • You still see the old site. Your own device may have cached the old address. Try another network, such as mobile data, or wait for the TTL to pass.

Or let us do it

If this list feels like more than you want to take on, our experts can move your site for you. We copy your files and database, set up SSL and tell you when you are live. Site moves are not free on any plan, so contact us and we will tell you what it takes for your site.

Once you are moved, backups run automatically on every plan, and you can keep a staging copy to test changes on Shared Growth, Shared Pro and every Cloud plan. You can compare plans on the pricing page.

Pre-register

Be first in line at launch.

What do you need?

We reply within one working day. We use your details only to contact you about WebXLR.

Prefer WhatsApp? Chat with usPrivacy policy