How to Move WordPress Site to New Host?

Why would you need to move the WordPress site to a new host?

One may have many reasons to Move WordPress Site to New Host. Probably you need stronger uptime, faster speeds, better plans, or better customer services. Whatever the reason is, moving your website to a new hosting service provider who has what you need, makes sense.

But it may feel like a lot of difficulties and also quite risky, especially when you are not a professional. People even suggest hiring an expert on this purpose which is definitely costly. The other way is, you can search for a host who also offers or includes a migration service in their package.

But you can do it by yourself! This way you won’t have to pay anyone. However, don’t forget to ask your hosting company if they can do it for free. Moving your WordPress site to a new host can be a matter of tension, but not anymore when you have found this article.

There are two major ways to move your WordPress site to a new host. Either you do it manually or automatically. We have explained both ways. Continue reading the complete article to learn the step-by-step process of moving your WordPress website to a new host in the most efficient ways with details. Simply go through the steps and the work will be done.

How to Move Your WordPress Site Manually

Here we’ve explained how to move your WordPress site manually to a new host in a step-by-step manner with great details. Follow the steps mentioned below.

Step 1: Choose a New WordPress Host

Now that you have decided to change your host, your first step will be to find a new hosting service provider. It is a must to be careful when finding a hosting provider. Because you

obviously won’t like it if you have to move to a new hosting provider again anytime soon. So, keep all the problems you faced earlier in mind when searching for a new host. 

Before you choose a new host, you need to know what kind of hosting options are available so that you can choose the right option. Hosting service providers usually provide a variety of services. Such as,

Shared: In a shared server there are many websites sharing resources in a single server. This should be the cheapest option available.

VPS: In VPS or Virtual Private Server, there are virtual partitions in a shared server. So, here your website will get dedicated resources available.

Dedicated: In this type of plan, you will get a server completely dedicated to your website. This is usually the most secure but costly option for you.

Managed Plan: Here the hosting provider will also manage your website’s technical tasks such as backups and updates along with hosting services.

Be wise when choosing a plan for your website’s hosting. Keep eyes on the factors such as cost, security, speed, storage, customer support, etc. Don’t hesitate to ask if you want them to move your site. Many hosting providers would do that for free if you buy their service. No problem if they refuse, follow the next steps.

Step 2: Backup Your Site Files

Having backups is a must if you want to move your WP site to a new host. To back up site files, first, make a copy of all the files of your site. You may use an FTP tool here. After connecting your site’s server via FTP, navigate your WordPress Root folder that contains all the files of your website. It’s usually named after your site, or www, or public_html.

Right-click on your root folder and click download. Then it will start downloading to your computer. It may take quite a long time.

Step 3: Backup Your WordPress Database

Now that you already have a copy of your website files, you need to set backup for the database where your site’s content, users, and a lot more are contained. 

Now you have to access your database. Web hosts usually enable you to do it through your control panel. In the control panel, you will see the “Databases” section. In that section, you will find the phpMyAdmin option.

Step 4: Export Your WordPress Database

The next step is to choose the website’s database from the list on your left side, and navigate to the export tab by using the top menu. Now select the Quick option of the Export method and press Go.

Soon a copy of the site’s database will be downloaded in SQL format.

Step 5: Create a New SQL Database and Import the Contents of Your Old Site

Now create a new database on the new web host that you selected to shift on. You need to import the file from the old database. This will override the contents of the new one.

If the new host has cPanel-

  • Visit the Databases section in Cpanel, then click the MySQL Databases option.
  • Now, create a new database. Add a user to the database from that tab. (You must write down the names somewhere to use later.)
  • Visit the new database using phpMyAdmin like you did before.
  • Visit the import tab in the new database. Now upload the .sql file that you generated earlier.

Done! Now you have your old database on your new web host. But, you still have to reupload the rest of your website’s files.

If your new host does not use Cpanel, you can use a Migration Checklist tool.

Step 6: Upload Your Site Files to the New Web Host

To upload your website’s files to the new web host, log in to your new server via FTP and navigate to its root folder. Right-click somewhere in the root folder and select the upload option. Find the folder downloaded in step one. Then open it and select all the files and directors in it.

It may take quite a while to complete uploading so be patient and wait a little longer until it’s done.

Step 7: Edit Your Site’s wp-config.php File

After all the files are uploaded to the new server, you have to access the WordPress root folder again. If you try to visit your site at this moment, it won’t work as you need to update the WordPress wp-config.php file to point it towards your new database.

Locate your wp-config.php file in the new root folder. Then right-click on it and click View/Edit to open the file using your local text editor. It enables you to make changes.

You have to update these three lines:

define(‘DB_NAME, ‘db_name’);

define(‘DB_USER, ‘db_user’);

define(‘DB_PASSWORD, ‘db_pass’);


These three lines will include values that point towards your old database. Now replace the lowercase variables with the credentials for your new database that you created in the 3rd step.

Save the changes you made to the file and done! Now you can access your site. It will look as it was before.

Step 8: Configure and Change Your Domain Name Server

The 8th and final step is to configure and change your Domain Name Server (DNS) settings so that they are pointed to the new IP address. Otherwise, its DNS settings will be pointed to your old hosting provider. Confirm that your domain’s settings are pointed to the latest server IP address. This process varies on where you’ve registered your domain. Your domain register should have all the details necessary to make this change.

DNS changes usually require up to 48 hours to propagate fully. Don’t make changes during this period, they will be done on the old version. Delete the files and database from the old version after 48 hours. But, keep everything on your local computer for safety as a precaution. 

All done! This is how you move the WordPress site to a new host manually.

How to Move Your WordPress Site with a Plugin

When you need to move your website to a new host, there may be some confusion about the process and it is completely normal. Some may also find it a bit difficult to do it manually. The good news is, there are some awesome migration plugins available that you can use to move WordPress site to new host.

Some of these plugins will even create complete site backups for you including recovery services. Using a good migration plugin will make the process a lot easier. Here we will introduce you to some of the best migration tools. 

Though the process is easier, each plugin has a slightly different way to work. You can pick any one of the plugins mentioned here and use it to operate your migration. We don’t want to make it complicated. Simply choose any of the plugins you liked from below, then download and install the plugin. Do as the tutorial of that specific plugin tells you to do. Go through the video link we have added for more help.

Duplicator Plugin

Duplicator is probably the most powerful Migrator plugin available in the market. Some awesome features of this plugin are, 

  • It allows you to clone, migrate, or move WordPress site to new host or domains with zero downtime.
  • Migrate WP site from one host to another.
  • Clone or duplicate your live site to a staging area.
  • Bundle up your WordPress site for easy reuse & distribution.
  • Migration without any struggle with messy import/export SQL scripts. Etc.

Watch this 2.30-minute video to see how to move your WordPress website to a new host. It’s super easy!

All-in-One WP Migration Plugin

This WP migration plugin is so easy to use that you won’t have to have any technical knowledge. All-in-one WP Migration Plugin allows you to create clones of your site in just a few minutes and import it to another WordPress installation. Especially if you have a small website, it definitely is a great choice.

The key features are,

  • No limitation on the host or operating system.
  • Ignore all upload size restrictions.
  • Needs no PHP extensions. Works with any PHP version above 5.2
  • Supports all PHP hosting providers. Etc.

This video explains how to export and import a WordPress blog.

Conclusion:

In this tutorial, we have tried to explain how to move WordPress site to new host. If you have gone through the complete article and followed it accordingly we hope there won’t be any trouble.

Visit us at getpsdtowp.com for any help and service related to WordPress.