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
Before you start migrating your website, you’ll need to decide which web host you want to use. 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.
Do you need to know exactly how much it costs to migrate a WordPress site? Check out this helpful guide!
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:
Here are some benefits of using Duplicator Pro:
- Drag-and-drop WP migration
- Cloud storage to Google Drive, Dropbox, OneDrive, Amazon S3, and FTP/SFTP
- One-click backup restore
- Supports Multisite and large sites
- Create staging sites
- Dedicated customer support
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. If you’re not sure how to do this, check out this helpful guide on installing and activating WordPress plugins.
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:

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:

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:

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:

To finish, select Build. Once Duplicator creates a package of your site, you’ll see it on the Packages page:

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

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
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.
Note: 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:

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

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

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

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:

Drag and drop your archive file into the box. After it uploads, you’ll see some information about the 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:

Now the Duplicator migration wizard will help you install the original site. Be sure to choose Full install single site as the 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:

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

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:

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:

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

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)
Still have some questions about how to move your site to a new host? Let’s answer them!
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 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 will scan your website and notify you of any issues. After reviewing them, click Build:

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:

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:

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:

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:

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

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 WordPress.org.
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.
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.
Here are some extra WordPress tutorials you can use to maximize your website’s potential:
- How to Migrate a WordPress Site to a New Domain (With No Downtime)
- 9 Best WordPress Backup Plugins (Ultimate Comparison)
- How to Move a Live WordPress Site to a Local Host (The Easy Way)
- 15 Best WordPress Themes to Build a Stunning Website
- How to Migrate a Large WordPress Site
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!