How to Move WordPress to a New Host or Server With No Downtime

Do you think you’re planning to move your WordPress site to your new hosting company or possibly a different server? The biggest risk when switching internet hosting or migrating a website to your new server is files loss and downtime.

Payday cash can make your site temporarily inaccessible to consumers and search engines which may lead to loss of sales and serps.

In this step by simply step tutorial, we will disclose how to safely migrate your WordPress site to your new host without just about any downtime.

We’ll also answer the most common questions about moving a WordPress internet site to new hosting company, so you can stay away from making some common faults.

Migrating WordPress from one host to an alternative

Important: Before we start off, we want you to know that quite a few WordPress hosting companies give a free migration service. It most likely are not listed on their site, so all you are related is ask. Usually it’s no cost, but some may charge a smaller fee.

Having that explained, let’s take a glance at the steps we’ll cover to advance WordPress to a brand-new hosting server (without just about any downtime).

  1. Choose a brand-new WordPress host
  2. Setup your Duplicator Plugin for Uncomplicated Migration
  3. Import your WordPress site on the new host
  4. Change the Hosts file in order to avoid downtime
  5. Create a MySQL database on the new host
  6. Run Duplicator site migration script
  7. Updating your url of your website server
  8. FAQs about transferring WordPress to new number

Ready? Let’s get commenced.

Step 1: Choose A new WordPress Host (Move WordPress)

If you happen to be stuck with a slow service provider even after optimizing WordPress rate and performance, then it’s time for it to move your WordPress site to your new host that are designed for your growing traffic.

When searching for a new WordPress hosting company, it’s important to decide on carefully, so you don’t ought to move again any occasion soon.

Here’s who many of us recommend:

  • For reliable shared hosting, we recommend going using Bluehost. They’re officially encouraged by WordPress. org. Employing our Bluehost coupon, WPBeginner users get 60% off and also a free domain name.
  • If you’re seeking cloud hosting or location-specific vendors, then we recommend you look at Siteground. They have files centers across 3 distinct continents.
  • If you’re seeking managed WordPress hosting, then we recommend you look at WP Engine. They are the best and quite a few well-known provider in the marketplace.

After buying your brand-new hosting, do NOT deploy WordPress. We’ll do that in a very later step.

For currently, your new web hosting account must be completely empty with zero files or folders as part of your main directory.

Step 2: Setup Duplicator for Uncomplicated Migration

The first thing you want to do is install and stimulate the free Duplicator plugin on websites that you want to advance. For more details, see our in depth guide on how to setup a WordPress plugin.

Duplicator is often a free plugin that we endorse. You can also apply it to move your website to your new domain name with no losing SEO.

However, on this page, we will walk you through tips on how to use it to migrate your WordPress site derived from one of host to another using zero downtime.

Once you’ve got installed and activated Duplicator, visit the Duplicator » Packages page as part of your WordPress admin area.

Up coming, you need to click on the ‘Create New’ button inside top right corner.

Setting up a new package in Duplicator

There after, click the Next key and follow the steps to make your package.

Duplicator build a package wizard

Make sure your scan results look at (everything should say “Good”), after which it click the Build key.

Build package

The process will take several minutes to comprehensive, so leave the tab open because plugin does its employment.

Once the process can be complete, you’ll see download methods of Installer and the Repository package. You need to click on the ‘One click download’ connection to download both files.

Acquire package files

The archive file is often a copy of your comprehensive website, and the installer report will automate the installation process in your case.

Step 3: Import Your WordPress Site on the New Host

Now that you’ve downloaded both the repository and installer files, the next task is to upload them for a new web host.

You’re able to do this by connecting for a new web host employing FTP.

If you’ve certainly not done this before, look at our beginner’s guide for you to uploading files via FILE TRANSFER PROTOCOL to WordPress.

Normally, you’d probably enter your website’s url of your website as host when joining your FTP client.

On the other hand, since your domain name remains to be pointing to your previous host, you’ll need to plug by entering your server’s IP handle or server hostname. You will discover this information from a new hosting account’s cPanel dashboard.

Acquiring server IP or Hostname throughout cPanel dashboard

If you can’t seem to find this information, then you can definitely ask for support for your new web hosting firm, and they will help you along.

Using the FTP buyer, you need to distribute both installer. php file plus your archive. zip file on the root directory of your web site.

This is usually /username/public_html/ folder.

Yet again, if you are unclear, then ask your internet hosting company.

Make sure that your particular root directory is absolutely empty. Some web hosting companies automatically install WordPress if you sign up.

If you’ve got WordPress installed in your current root directory, then you’ll want to delete WordPress first.

After done, you need to upload the two archive zip file along with installer. php file for a site’s root directory.

Step 4: Change The Hosts File in order to avoid Downtime

Once you’ve uploaded both files for a new host, you should access the installer. php file in a very browser.

Normally, this file might be accessed using a URL this way:

http: //www. example. com/installer. php

On the other hand, this URL will take that you your old web number, and you will have a 404 error. This is because your domain name remains to be pointing to your old service provider.

Normally, other tutorials might show you to change your area nameservers and point it for a new hosting company, nevertheless that’s wrong.

If one does this now, then them will see a broken website because you migrate it.

We’ll show you the best way to access your new site temporarily on your hard drive, without affecting your previous site.

This is done which has a hosts file on your hard drive.

The hosts file enable you to map domain names for you to specific IP addresses. Basically, it lets you trick your personal machine in thinking that your website is moved even however it’s not.

Let’s examine how to add an entry for ones domain name in your hosts file, so who’s points to your new webhost.

Making these changes will help you access the files on the new host using your domain name, while the rest of the world will still be accessing your blog from the old number. This ensures 100% uptime.

The first thing you want to do is find the IP address of your respective new web hosting server. To discover this, you need to firewood into your cPanel dashboard and visit expand stats link inside left-hand sidebar. Your server’s address are going to be listed as Shared IP Handle.

On some web hosting companies, you will find this info under Account Information’ going.

Find shared IP handle

In the next phase, Windows users need to venture to Programs » All Programs » Accessories, right-click on Notepad and choose Run as Administrator.

A Windows UAC prompt look, and you need to visit Yes to launch Notepad using administrator privileges.

On your Notepad screen, go to File » Open and then navigate to the C: \Windows\System32\drivers\etc folder. Because of this folder, select hosts report and open it.

In case you’re using Mac, then you’ll want to open the Terminal software and enter this demand to edit hosts report:

sudo nano /private/etc/hosts

Pertaining to both Windows and Macintosh personal computer users, at the bottom in the hosts file, you should enter the IP address you copied after which it enter your domain brand. Like this:

192. 168. 1. 25 www. example. com

Just be sure you replace the IP address while using one you copied via cPanel, and example. com with your own individual domain name.

Once you’re accomplished, save your changes.

Anyone can access your files for the new host using your domain name on your hard drive.

Important: Don’t forget to undo the changes you created to hosts file when you have finished the migration (step 6).

Phase 5: Creating MySQL Database on the New Host

Before we run the installer for the new host, you will likely need to create a MySQL database on the new hosting account. Should you have already created a MySQL repository, then you can jump to a higher step.

Creating a Repository in cPanel

Go for a new hosting account’s cPanel dashboard, scroll into Databases section and visit MySQL databases icon.

MySQL listings in cPanel

You will see a field to generate a new database. Enter a name for ones database, and click “Create Database” key.

Creating new database

Immediately after creating the MySQL repository, you need to scroll into the MySQL Users segment.

Next, provide a account information for your new user and click on the ‘Create a user’ key.

Create a MySQL individual

After that, you should add this user for a database. This will provide username you just made, all the permissions to function on that database.

You’re able to do this by scrolling into ‘Add User to a new Database’ section. Simply pick the database user you made out of the dropdown menu beside user, then select repository, and click on your add button.

Add individual to database

Your database is ready to be in combination with WordPress. Be sure to be aware of the database name, user name, and password. You’ll need that information over the following step.

Step 6: Start off the Duplicator Migration Course of action

Now we’re ready to own the installer. Navigate on the following address in your current browser window, replacing case in point. com with your url of your website:

http: //www. example. com/installer. php

Duplicator tech initialized

The installer will run a number of tests and will disclose ‘Pass’ next to repository and validation tests.

You’ll want to check the terms & circumstances checkbox and continue by exploring the Next button.

Currently, you will be inquired to enter your MySQL number, database name, username, along with password.

Your host might be localhost. After that, you will enter information of the database you created in the previous step.

Connect to your database

You can click on the ‘Test Database’ button to make certain you entered the right information.

If Duplicator will be able to connect, then you will spot a string starting using Pass. Otherwise, you will spot the database connection miscalculation details.

Click on the subsequent button to continue.

Duplicator will now significance your WordPress database through the archive zip into a new database.

Next, it will request you to update site URL as well as Path. Since you are certainly not changing domain names, you DON’T should change anything here.

Simply click on the next button to proceed.

Duplicator will run a final steps and will disclose the login button.

Duplicator site migration finished

You can now login for a WordPress site on the new host to make certain everything is working as you expected.

Step 7: Update Your Url of your website Servers (DNS)

At now, you’ve created a complete copy of your respective WordPress database and files on the new hosting server, but your domain still points for a old web hosting bill.

To update your area, you need to move your DNS nameservers. This makes sure that your users are arrive at the new location of your respective website when they type your domain inside their browsers.

If you registered your domain using your hosting provider, then it’s far better to transfer the domain to your new host. If anyone used a domain registrar similar to Domain. com, GoDaddy, Multilevel Solutions etc, then you’ll want to update your nameservers.

You will want the DNS nameserver information from a new web host. Rise a couple of URLs that resemble this:

ns1. hostname. com
ns2. hostname. com

In the interest of this guide, we are going to be showing you how to switch DNS nameservers with GoDaddy.

Determined by your domain registrar or service provider, the screenshots may search different. However, the basic concept will be the same.

You need to watch out for domain management area after which it look for nameservers. When you need assistance with updating your current nameservers, then you can ask your internet hosting company.

For GoDaddy, you’ll want to login to your GoDaddy account after which it click on Domains.

There after, you need to click on the Manage button next on the domain name you wish to change.

Manage domain

Within the ‘Additional Settings’ section, you simply must click on ‘Manage DNS’ to remain.

Manage DNS

Next, you’ll want to scroll down to your Nameservers section and click on the change button.

Change nameservers

1st, you will need to switch the nameserver type dropdown via ‘Default’ to ‘Custom’. There after, you can fill inside your new hosting provider’s data under Nameservers.

Updating DNS nameservers

Don’t forget to click on the save button to keep your changes.

You have successfully changed the nameservers on the domain. DNS changes will take 4 – 48 hours to propagate for all those users.

Since you contain the same content on your old host plus the new host, your consumers wouldn’t see any big difference. Your WordPress migration are going to be seamless with absolutely zero downtime.

To be for the safe side, we advice that you wait to cancel your current old hosting account until one week after your migration.

Common questions

Here are a few questions a number of users ask while moving WordPress derived from one of host to another.

1. Am i allowed to signup for the brand-new hosting account without registering a url of your website?

Yes, you can absolutely signup for the hosting account without registering a url of your website.

Domain name and web hosting service are two different solutions, and you don’t necessarily should register a domain name when taking new host. For more details see our guide for the difference between domain name and internet hosting.

Some hosting providers will request you to select a domain name as the first task when purchasing hosting. They will also let you enter a domain name in case you already got one.

2. Do I need to transfer my url of your website to the new number?

No, you don’t should transfer your domain name on the new host. However, transferring your url of your website to your new hosting could make it easier to renew and manage within the same dashboard as a new hosting account.

For more for this topic, see our ultimate guide on website names and how do that they work.

3. How must i fix error establishing repository connection error in Duplicator?

Should you be seeing an error connecting on the database or database interconnection error in Duplicator, then this most likely reason just for this is that you entered incorrect information for ones database connection.

Make sure your database name, MySQL user name, and password are right. Some web hosting companies tend not to use localhost as the host because of their MySQL servers. If this can be a case, then you will should ask your web host’s support staff to provide the correct information.

4. How do I check out if my website is loading through the new host?

There are several online tools that let you see who is hosting an online site. After you have transferred your web site to the new number, you can use all of these tools, and they will disclose the name of the world wide web hosting company hosting your web site.

If it hasn’t been long as you are migrated your website and made changes for a domain name server (DNS), then it’s likely that your site may still load from a old host. Domain name changes will take up to 48 hours to fully propagate.

5. Do I want to delete any files as well as data from old number?

When switching hosting firms, we recommend that you retain your old website for at the least a week. After that will, you can delete files from a old web host. Should you be canceling your account, after that your web hosting provider will delete your data according to his or her policy.

6. How long what exactly is keep my account active for the old host?

Once you’ve got migrated your website on the new host, and in case you don’t have any other websites hosted using your old web host, then you can definitely cancel your old internet hosting account.

However, in a number of cases, you may previously paid them for every year hosting. You should check his or her refund policy to see should you be eligible for any repayment upon cancellation.

7. How to move a WordPress internet site with SSL/HTTPs?

You will likely need to install SSL certificate on the new hosting provider. There after, you can follow a similar steps mentioned above. Just just be sure you use HTTPs in your URLs, like https: //example. com

8. Benefit: Free Site Migration by your New Host

If you’re aiming to switch your web web hosting service, but the steps earlier mentioned sound too complicated, then you can definitely choose the following vendors, and they will migrate your web site for you.

SiteGround, InMotion Web hosting service, and WP Engine present free website migration pertaining to WPBeginner users.

We hope that this in depth guide helped you move WordPress for a new host with zero downtime whatsoever. If you locate any issues with your current WordPress migration, then check out our guide on the commonest WordPress errors and tips on how to fix them.

If you liked this information, then please subscribe to YouTube Channel for WordPress training videos. You can also come across us on Twitter along with Facebook.