Get the Best WordPress Backup
& Migration Plugin Today
Get Duplicator Now
Announcement remote restores

Introducing New Remote Restores For More Accessible Cloud Backups

Are you securing your site backups in the cloud? You'll need an easy way to restore them. Our new features…
How to move a WordPress website to a new host

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

Written By: author image Joella Dunn
author image 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: John Turner
reviewer image 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.

Need to move your WordPress website to a new host?

Once your site becomes more popular, you may quickly overextend your hosting plan’s resources. To avoid poor loading performance or site crashes, you’ll want to move to a more well-equipped web host.

In this tutorial, we’ll show you how to move your WordPress website to a new host without any downtime!

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, it’s almost inevitable to outgrow your hosting plan. Especially if you start with a cheap hosting server, you may eventually need to find your site a new home. 

Although migrations can seem daunting, 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:

  • Bluehost: 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.
  • Siteground: 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. 
  • WP Engine: 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. Although there is a free version, 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 » Licensing:

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 Package

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

Using Duplicator, start by clicking on Packages » Create New:

Create Duplicator package

Name the package. If you want to exclude certain data from the migration, consider editing the archive file. This is the file that contains all of your database tables, WordPress themes, plugins, and files:

Duplicator custom package components

However, most migrations will need a full backup of the old site. To do this, don’t make any changes before hitting Next.

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

Duplicator package scan

To finish, select Build. Once Duplicator creates a package of your site, you’ll see it on the Packages 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. Put simply, 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:


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:

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.

Fortunately, 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 manually migrate your site by uploading its archive and installer 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 page:

Import website archive

Drag and drop your archive file into the box. After it uploads, you’ll see some information about the package:

Duplicator imported package

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 site 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:

Install type

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:

Website admin login

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.

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 package. Under the Archive Components, select All to include all the files and database tables in your current site:

Duplicator Lite archive

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

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

You can move your website to another host by creating a package with Duplicator Pro. Then, drag and drop the package’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

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 package 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.


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

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

Want to move WordPress in the easiest way possible? Download Duplicator Pro to export your content to a new website in just a few clicks!

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.