Get the Best WordPress Backup
& Migration Plugin Today
Get Duplicator Now
Announcement Duplicator WP-CLI commands

Announcing Duplicator WP-CLI Commands (And How They Speed Up Backups)

Looking for a smarter way to manage site backups? Explore Duplicator's new features, including customizable WP-CLI commands and permission settings!
How to move a WordPress website to a new host

How to Move a WordPress Website to a New Host (Effortlessly) 

Written By: author avatar Joella Dunn
author avatar Joella Dunn
Joella is a writer with years of experience in WordPress. At Duplicator, she specializes in site maintenance — from basic backups to large-scale migrations. Her ultimate goal is to make sure your WordPress website is safe and ready for growth.
     Reviewed By: reviewer avatar John Turner
reviewer avatar John Turner
John Turner is the President of Duplicator. He has over 20+ years of business and development experience and his plugins have been downloaded over 25 million times.

Your WordPress site is thriving. Traffic is growing. Your audience is expandng.

But there’s a problem.

Your current hosting plan can’t keep up. Load times are sluggish. Crashes are becoming all too common.

It’s time to move your WordPress site to a new host. With the right approach, you can migrate your content with no downtime or data loss. Just a smooth transition to better performance.

In this tutorial, we’ll show you how to move your WordPress website to a new hosting provider!

Table of Contents

Why You Might Want to Move Your WordPress Site to a New Host

When setting up your first website, you’ll choose a hosting plan with resources that meet your needs. However, as your audience grows, your web host may not be able to support your site anymore.

In this case, it’s time to find a better web host. Here are some benefits of migrating your site:

  • Faster loading speed
  • Better uptime
  • Enhanced security
  • Extended features
  • More customer support

If you plan on owning a website for a long time, you’ll outgrow your hosting plan at some point. Especially if you start with a cheap hosting server, you’ll eventually need to find your site a new home. 

Although migrations can seem technical and overwhelming, anyone can do it! With the right tools, you’ll quickly move your content to a new host without losing any data. 

How to Move Your WordPress Website to a New Host

Let’s walk you through the process of moving your WordPress website to a new host!

Step 1: Find a New Web Host

Chances are, your current hosting provider is causing poor loading speed or doesn’t provide enough resources for your growing audience.

To make sure you don’t have to move more than once,  it’s important to find the right host.

Shopping for a new web host can be overwhelming. With all of the different providers and plans out there, you might not know where to start.

To make your decision easier, here are some providers we personally recommend:

This affordable web host has many reliable shared hosting plans. For as little as $2.75 per month, you can get a WordPress hosting plan with a free Content Delivery Network (CDN) and 10 GB of storage.

Since SiteGround runs on Google Cloud, it tends to have fast loading speed and good uptime. Its plans are cost-effective and even come with a free migration tool. 

If you want some extra security and a performance boost, check out WP Engine. This managed web host can be a good option if you receive a lot of visitors or want to outsource your WordPress maintenance tasks.

Once you purchase a web hosting plan, go ahead and install WordPress.

Keep in mind that some WordPress hosts will automatically migrate your original website for you. If you want to do it yourself, continue to the next step!

Step 2: Install Duplicator

Don’t panic if your web host doesn’t offer a built-in migration service.

To safely migrate your content without data loss, you can use Duplicator Pro. This is the best WordPress migration plugin because it allows you to move your site without coding experience.

Duplicator Pro plugin

Here are some benefits of using Duplicator Pro:

Not sure if Duplicator is a good migration tool? See how Mario Röder uses Duplicator to migrate online stores with over 150,000 products!

To get started, choose a subscription for Duplicator Pro. The premium plans come with drag-and-drop migrations, which can make the move much easier. 

When finished with your purchase, download Duplicator and install it on your original site.

As a final step, you’ll need to activate your license key. Copy the key you received with your purchase. Then head over to Duplicator Pro » Settings » General.

Activate Duplicator license key

Paste your license key and hit Activate. Now you’re ready to start using Duplicator to migrate your website to the new host!

Step 3: Create a Backup of Your Original Site

Next, you’ll compile all of your original WordPress files into a single backup. This makes it easy to transfer to a new location like a different web host. 

Using Duplicator, start by clicking on Backups » Add New.

Add new backup with Duplicator

Name the backup and choose the Local storage location.

Duplicator backup first step

Open the Backup section. To migrate your entire site, click on Full Site.

Full site backup preset

If you want to exclude certain data from the migration, choose Custom. For extra customization, feel free to add file and database filters.

Custom backup

However, most migrations will need a full backup of the old site.

Unlike other migration plugins, Duplicator thoroughly scans your site for any issues. This way, you can resolve problems before they affect your migration.

Duplicator backup scan

To finish, hit Create Backup. Once Duplicator backs up your site, you’ll see it on the Backups page.

Download site archive package

With Duplicator Pro, all you’ll need to download is the archive file. This allows you to import your WordPress site from a zip file. 

If you’re using Duplicator Lite or want to set up the new site without installing WordPress, you’ll need to download the installer too.

Step 4: Update Your Hosts File

When you want to move to a new host, you might think you’ll face inevitable downtime. However, your website can be live as you set up the new site.

To do this, you’ll have to make a few changes to your hosts file. The hosts file is a file on your local computer that maps hostnames to IP addresses.

By updating this file, you’ll make your computer think your site has moved. You’ll be able to access your new host’s files while your audience still visits the original site on your old host.

The first thing you’ll need to do is find your new host’s IP address. Usually, this will be in your hosting control panel.

For example, Bluehost users can click on Advanced and the IP address will be under General Information.

Bluehost IP address

Now you can pull up your hosts file. How you do this will depend on your operating system.

If you’re a Mac user, open Terminal and run this command:

sudo nano /private/etc/hosts

For Windows users, open the Notepad app. Right-click on it and run it with administrator privileges.

Run Notepad as administrator

In Notepad, go to File » Open and find this folder:

C:\Windows\System32\drivers\etc

Here, find and open the hosts file.

Once you open the hosts file, add your new IP address and your domain name at the bottom. It should look like this:

192.168.1.22 www.example.com

After this, save your changes. Your new host’s files are now linked to the domain name on your computer. 

After you finish migrating your site, remember to undo this change! 

Step 5: Create a New Database

Before you move your website, it’s important to create a new WordPress database on your new host server. If you already have one set up, feel free to skip this step.

Many hosting companies make this process easy. With Bluehost, open your cPanel dashboard and click on MySQL Databases.

MySQL databases

At the top of the page, enter a name for the new database and hit Create Database.

Create MySQL database

The new database will also need a new user. Under MySQL Users, enter a username and password to create the user.

Create MySQL user

Then, add the user to the database you just created.

Add user to database

You can assign the user all privileges. After this, it’s time to import your original WordPress website!

Step 6: Import Your Website

Although you could upload your backup files to an FTP client, Duplicator Pro offers an easier way. 

Once you have WordPress set up on the new site, install and activate Duplicator Pro. Then, find the Import Backups page.

Import a backup with Duplicator

Drag and drop your archive file into the box. After it uploads, click Continue.

Continue installing backup

On the next page, Duplicator will show you all the data on your current site. Since you’re moving to a new server, this is likely a blank WordPress installation. To continue, hit Launch Installer.

Launch Duplicator installer

Now the Duplicator migration wizard will help you install the original site. Be sure to choose Full install single site as the Install Type.

Deploy uploaded backup

For the Setup section, enter your database name, username, and password. This should be the same information for the database you created. 

Under Validation, you may see notices. After you review them for any issues, accept the terms and notices. Then, click on Next.

Import validation

By importing your old website, you’ll completely overwrite the new site. To continue, you’ll have to confirm the installation.

Install confirmation

Duplicator will then automatically replace the blank site with your original data! Once finished, use the Admin Login button to access your migrated site’s wp-admin dashboard.

Finished Duplicator import

After you log in, check the functionality of your new site to make sure everything was transferred correctly. 

Step 7: Update Your DNS

By now, you’ll have migrated a copy of your site’s files and database to the new web host. However, you’ll also need to make sure your domain points to the new hosting account.

This involves updating your Domain Name System (DNS) nameservers. Open your old web hosting account or domain registrar and find your DNS information.

Edit DNS record

There should be an option to edit your nameservers. Select Custom as the nameserver type.

Custom nameserver setup

Then, enter the nameservers for your new hosting provider.

After you save this change, your DNS will point to the new host. However, keep in mind that it may take up to 48 hours for this to propagate.

For extra tips on cleaning up your new site and preparing for visitors, see our complete WordPress migration checklist.

Frequently Asked Questions (FAQs)

How do I migrate my WordPress site to a new host for free?

You can migrate your WordPress site to a new host for free by installing Duplicator Lite. This free WordPress plugin allows you to package your existing website into a zip file. Then, you can upload this file to your new host’s directory and launch the Duplicator installer.

First, be sure to install and activate the free version of Duplicator. Next, create a new backup. Select All under Components to include all the files and database tables in your current site.

Duplicator Lite full backup

Duplicator will scan your website and notify you of any issues. After reviewing them, click Build.

Duplicator Lite package scan

Now, you’ll see new archive and installer files. The archive contains all of your site’s files, while the installer will unpack and install the archive. On this page, hit Download Both Files.

Download Duplicator Lite package

After this, open a File Transfer Protocol (FTP) client, cPanel, or the custom file manager for your new host. In this tutorial, we’ll be using FileZilla, a free FTP client.

Once you open your new site’s files, find the public_html folder. Empty this directory and upload the archive and installer files.

Upload Duplicator Lite package to FTP

Before you continue, create a new database on your new host. You can find instructions for this in Step 5 of the tutorial above. 

In a web browser, paste this URL to launch the Duplicator installer: https://your-domain/installer.php

Under Setup, enter the information for your new database.

Duplicator Lite database connection

Then, hit Validate. Duplicator will test the database connection. If it is successful, accept the terms and notices and click Next

Lastly, confirm the install settings.

Confirm Duplicator Lite install settings

After the migration is finished, you’ll see an Admin Login button that you can use to access your new site.

Finished Duplicator Lite migration

Do you want a simpler migration process? Upgrade to Duplicator Pro to simply drag and drop your data into a new host!

How do I move my website from one host to another?

You can move your website to another host by creating a backup with Duplicator Pro. Then, drag and drop the backup’s archive file into the WordPress installation on the new host. This avoids using a File Manager or phpMyAdmin.

How long does it take to move a website to a new host?

With the right tools, it can only take a few minutes to move a website to a new host. Duplicator Pro is a plugin that can simplify the migration process to just a few steps. Using direct server transfers, you’ll perform a full site migration almost immediately. 

How much does it cost to migrate a website?

If your new web host has a built-in migration tool, you can move your site for free. If it doesn’t, the best option is to install a plugin like Duplicator Pro. This tool supports unlimited backups and migrations starting at $49.50 per year. Alternatively, Duplicator Lite is available for free on WordPress.org.

Need more information? We found all of the hidden costs of migrating a WordPress site!

Is migrating a website hard?

Migrating a website is easy with Duplicator Pro. You can create a backup that contains your website files and database tables. Then, simply upload this zip file to your new site. 

What are the risks of website migration?

If migrated incorrectly, you could lose organic traffic and decrease in SEO ranking. You may also face downtime or broken links. However, using a migration plugin like Duplicator Pro can help avoid all of these problems. 

Just so you’re prepared for any possibility, here’s how to fix your WordPress site if it isn’t working after a migration.

How do I migrate a website manually?

You can manually migrate your WordPress website by using an FTP client like FileZilla to download your root directory, or public_html folder. After logging into phpMyAdmin, download your database as a SQL file. 

Then, upload your old site files into the root folder for the new site. Create a new database and upload your original database. You’ll also need to update your wp-config.php file to reflect the new db_user, db_name, and db_password values. 

Can I change my host and keep my domain name?

Yes, you can change your web host and keep your old domain name. You’ll have to disable domain privacy and update your nameservers to point to the new host. Then, you can authorize and start the domain transfer using your new hosting control panel.

How do I clone a WordPress site?

You can clone your WordPress site by installing Duplicator Pro and creating a full backup of the website. By downloading both the archive and installer files, you’ll have a full copy of your site that you can upload anywhere that supports WordPress.

Conclusion

That’s it! You’ve moved your WordPress site to a new host. 

While you’re here, you may also like these WordPress migration tutorials:

Ready for an Easy Migration to a New Host?

Upgrade to Duplicator Pro to move your content to a new web host, domain, or server in just a few clicks!

Get Duplicator Pro Now
author avatar
Joella Dunn Content Writer
Joella is a writer with years of experience in WordPress. At Duplicator, she specializes in site maintenance — from basic backups to large-scale migrations. Her ultimate goal is to make sure your WordPress website is safe and ready for growth.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.