How to Migrate WordPress Site to New Host or Server Easily?


Sometimes your Website server has created some problem or you have bought cheap web hosting then it will create a problem for you. After realizing this problem, you want to change your Web hosting then you should know about How to Migrate WordPress Site to New Host or Server Easily.

So follow these steps to migrate or moving your WordPress site to a new host or server. You can also move the website to new domain. Here we will give you a complete guide about it.

How to Migrate WordPress Site: 2 Easy Methods?

Here we will share two methods with you to migrate WordPress site.

  • With the help of Plugin
  • Manual WordPress Site Migration

How to Migrate WordPress Site to New Host and Domain through UpdraftPlus?

Step 1: Log in to your WordPress Admin Dashboard and Go to the Plugins section.

Step 2: Click on Add New in plugins. Search UpdraftPlus Plugin.

Step 3: Install and Activate the UpdraftPlus plugin. You will see this plugin in Settings in Admin Dashboard.

Step 4: The first step is to create a backup of your website through this plugin. But before creating a backup, you have to connect Updraftplus to Google Drive or Dropbox. Select the backup frequency, connect to any platform like Google Drive in the Settings section.

1. How to Create Backup of WordPress Website through UpdraftPlus?

Step 1: Go to Settings and set the backup frequency according to you.

  • Here you can schedule your Files and Database backup every 4 hours, 8 hours and daily, weekly, monthly or manually. We want to take every 12 hours.
  • You can retain as many backups you want. Select the frequency according to you. We select only 1.

Step 6: After the backup schedule, Select your remote storage. Here we choose Google Drive. You can choose anyone. We recommend you to choose Google Drive or Dropbox.

After selecting your Remote Storage, Click on Save Changes.

Step 7: After Save Changes, it will connect your chosen platform to UpdraftPlus. It will ask you to connect your account with UpdraftPlus with the help of a link. So click the link which is given by UpdraftPlus.

Step 8: After clicking this link, it will ask your Gmail Account to link with Google Drive. Select your Gmail Account.

  • Select your Gmail Account and UpdraftPlus asks you to Access Google Drive. Click on Allow.
  • After Allowing access, it will redirect you to an Updraftplus page. So click on Complete Setup. 

Step 9: After complete setup, it will redirect you to UpdraftPlus Admin.

  • Go to the Backup/Restore section in UpdraftPlus.
  • Click on Backup Now in the blue button.
  • It will take some time to create the backup and send it to Google Drive Automatically.

So this is the method for How to Create a WordPress Website Backup through UpdraftPlus.

Step 10: After creating the backup through UpdraftPlus, Delete your WordPress in cPanel and change the nameservers.

Go to that website where you have purchased your domain. Go to DNS Settings and Change the Nameservers.

Step 11: After changing the nameserver, Go to your new web hosting cPanel. Install your WordPress Website or blog through cPanel. Here you will put a new username and WordPress installation.

  • After installing your WordPress website, Go to your WordPress Admin Dashboard and install updraft plus plugin and activate the plugin.
  • Connect UpdraftPlus to Google Drive. (Follow Step 5 to Step 8).
  • When you will connect your UpdraftPlus to Google Drive then follow these steps.

How to Restore Backup of WordPress Website through UpdraftPlus?

a. Go to the Backup/Restore section in UpdraftPlus.

b. Click on Recan Remote Storage in Existing Backups.

c. After clicking on Rescan remote storage, It will provide you the save backup which is stored in Google Drive automatically. Your backup will come in Existing Backup automatically.

d. It will provide you the following options when you will get the existing backups.

e. Click on Restore and it will completely restore your website directory and database backup files.

f. After completing the restore process, You will login into your WordPress Admin Dashboard with the old username and passwords.

So login into your website Admin Panel and old data will show on your website.

So this is the complete process for How to Migrate or Moving Your WordPress Site to New host or server.

Note: If you want to move your WordPress Site to New Domain then follow the above process. The only difference is that you should replace your old website name to a new website name.

How to Migrate WordPress Site to New Host and Domain Manually?

Step 1: Login into your cPanel with your username and password.

Step 2: Go to File Manager and open public_html file.

Step 3: Create the Directory and database backup manually.

How to Create a WordPress Website Backup Manually?

First, you will take public_html directory backup and after this export your website database.

a. Select all the directory files in public_html.

b. Compress all the directory files in .zip file. Your directory file is stored in the zip file.

c. Download the zip file.

d. After creating the directory backup, export your database.

e. Go to phpMyAdmin and you will see the Export option. Click on Export and it will export your database in .sql format.

Step 4: Put your new web hosting server name in DNS settings. Login into your new cPanel with username and password.

Step 5: Go to your public_html file, upload the .zip file backup. After uploading the backup, Extract the zip file by right-clicking.

It will restore all your old files in public_html. After restoring, you can delete your zip file.

Step 6: So after uploading the backup in public_html. Upload your database backup.

Before uploading your database backup, Create a New Database in cPanel. So put your database name, username, and password in a notepad.

After creating the database, Go to phpMyAdmin and import the old SQL file in it. It will import all your old database files in your new database.

Step 8: After uploading the directory and database backup, Go to thepublic_html file. Open the wp-config.php file.

Replace your old database name, username, password with new database name, username, password.

Save wp-config.php file.

Open your WordPress Admin Dashboard and login to Admin Dashboard using your old username and password.

So your WordPress website is completely migrated from one host to another.

Note: If you want to migrate from one domain to another domain. Follow these steps after saving a wp-config.php file.

  • Go to phpMyAdmin in cPanel.
  • Open your Created Database.
  • Go to the wp_options file and replace your old domain name to the new domain name under option_name.

So it will migrate a WordPress site to a new domain. Login into your WordPress website through your old username and password.

This is the complete guide about How to transfer your WordPress Site to New Host and New Domain.


With the help of this guide, you will migrate or moving your WordPress Site to New host and Domain. Apply both methods, if one does not work then others will work.

We recommend you make a complete backup of your WordPress site and test both methods.

If you have liked this article, Share it on your social media profile.

Similar Posts

Leave a Reply