Are you making plans to transport your WordPress web page to a brand new website hosting corporate or a unique server? The most important possibility when switching internet website hosting or migrating a web site to a brand new server is knowledge loss and downtime.

Either one of those could make your web site quickly inaccessible to customers and search engines like google which can lead to lack of gross sales and seek engine scores.

On this step-by-step instructional, we will be able to display you how you can safely migrate your WordPress web page to a brand new host with none downtime.

We’ll additionally resolution essentially the most steadily requested questions on shifting a WordPress web page to new website hosting supplier, so you’ll keep away from making some commonplace errors.

Migrating WordPress from one host to another

Vital: Earlier than we begin, we would like you to grasp that a large number of WordPress hosting companies be offering a loose migration provider. It will not be indexed on their web site, so all it’s important to do is ask. Normally it’s loose, however some would possibly rate a small price.

Having that mentioned, let’s check out the stairs we’ll quilt to transport WordPress to a brand new website hosting server (with none downtime).

  1. Choose a new WordPress host
  2. Setup the Duplicator Plugin for Easy Migration
  3. Import your WordPress site to the new host
  4. Change the Hosts file to prevent downtime
  5. Create a MySQL database on your new host
  6. Run Duplicator website migration script
  7. Updating your domain name server
  8. FAQs about moving WordPress to new host

In a position? Let’s get began.

Step 1: Make a selection Your New WordPress Host

In case you are caught with a gradual internet host even after optimizing WordPress speed and function, then it’s time to transport your WordPress web page to a brand new host that may care for your rising site visitors.

When on the lookout for a brand new WordPress website hosting supplier, it’s vital to select moderately, so that you don’t have to transport once more any time quickly.

Right here’s who we advise:

  • For dependable shared website hosting, we advise going with Bluehost. They’re formally really helpful by way of The usage of our Bluehost coupon, WPBeginner customers get 60% off and a loose area identify.
  • In case you’re on the lookout for cloud website hosting or location-specific suppliers, then we advise you take a look at Siteground. They have got knowledge facilities throughout 3 other continents.
  • In case you’re on the lookout for managed WordPress hosting, then we advise you take a look at WP Engine. They’re the most efficient and maximum well known supplier within the business.

After purchasing your new website hosting, do NOT set up WordPress. We’ll do this in a later step.

For now, your new internet website hosting account will have to be utterly empty with out a recordsdata or folders for your primary listing.

Step 2: Setup Duplicator for Simple Migration

The very first thing you wish to have to do is set up and turn on the loose Duplicator plugin at the web site that you wish to have to transport. For extra main points, see our step-by-step information on how to install a WordPress plugin.

Duplicator is a loose plugin that we extremely suggest. You’ll additionally use it to move your website to a new domain name with out dropping search engine optimization.

Then again, on this article, we will be able to stroll you thru how you can use it emigrate your WordPress web page from one host to every other with 0 downtime.

Upon getting put in and activated Duplicator, move to the Duplicator » Programs web page for your WordPress admin space.

Subsequent, you wish to have to click on the ‘Create New’ button within the best correct nook.

Creating a new package in Duplicator

After that, click on the Subsequent button and observe the stairs to create your package deal.

Duplicator create a package wizard

Make certain that your scan effects take a look at (the whole thing will have to say “Just right”), after which click on the Construct button.

Build package

The method would possibly take a number of mins to finish, so depart the tab open because the plugin does its activity.

As soon as the method is whole, you’ll see obtain choices for Installer and the Archive package deal. You want to click on at the ‘One click on obtain’ hyperlink to obtain each recordsdata.

Download package files

The archive document is a duplicate of the whole web site, and the installer document will automate the set up procedure for you.

Step 3: Import Your WordPress Web page to the New Host

Now that you’ve downloaded each the archive and installer recordsdata, the next move is to add them on your new internet host.

You’ll do that by way of connecting on your new internet host the use of FTP.

In case you’ve by no means accomplished this sooner than, take a look at our amateur’s information to uploading files via FTP to WordPress.

Usually, you may input your web site’s area identify as host when connecting your FTP shopper.

Then again, since your area identify remains to be pointing on your outdated host, you’ll wish to attach by way of getting into your server’s IP cope with or server hostname. You’ll in finding this data out of your new website hosting account’s cPanel dashboard.

Finding server IP or Hostname in cPanel dashboard

In case you are not able to seek out this data, then you’ll ask for beef up at your new internet website hosting corporate, and they are going to let you out.

The usage of the FTP shopper, you wish to have to add each installer.php document and your archive .zip document to the foundation listing of your web site.

That is normally /username/public_html/ folder.

Once more, in the event you aren’t certain, then ask your internet website hosting corporate.

Make certain that your root listing is totally empty. Some internet website hosting corporations automatically install WordPress while you join.

If in case you have WordPress put in for your root listing, then you wish to have to delete WordPress first.

As soon as accomplished, you wish to have to add each the archive zip document and installer.php document on your web page’s root listing.

Step 4: Exchange The Hosts Document to Save you Downtime

Whenever you’ve uploaded each recordsdata on your new host, you wish to have to get entry to the installer.php document in a browser.

Usually, this document can also be accessed the use of a URL like this:

Then again, this URL will take you on your outdated internet host, and you are going to get a 404 error. It’s because your area identify remains to be pointing on your outdated internet host.

Usually, different tutorials may let you know to switch your area nameservers and level it on your new website hosting corporate, however that’s fallacious.

In case you do that now, then your guests will see a damaged web site as you migrate it.

We’ll display you ways you’ll get entry to your new web page quickly in your laptop, with out affecting your outdated web page.

That is accomplished with a hosts document in your laptop.

The hosts document can be utilized to map domains to precise IP addresses. In different phrases, it means that you can trick your laptop in pondering that the web site is moved despite the fact that it’s now not.

Let’s check out how you can upload an access to your area identify within the hosts document, in order that it issues on your new website hosting corporate.

Making those adjustments will mean you can get entry to the recordsdata in your new host the use of your personal area identify, whilst the remainder of the sector will nonetheless be having access to your web page from the outdated host. This guarantees 100% uptime.

The very first thing you wish to have to do is use the IP cope with of your new internet website hosting server. To seek out this, you wish to have to log into your cPanel dashboard and click on on amplify stats hyperlink within the left-hand sidebar. Your server’s cope with will likely be indexed as Shared IP Cope with.

On some internet website hosting corporations, you are going to in finding this data beneath ‘Account Knowledge’ heading.

Find shared IP address

In the next move, Home windows customers wish to move to Techniques » All Techniques » Equipment, right-click on Notepad and choose Run as Administrator.

A Home windows UAC advised will seem, and you wish to have to click on on Sure to release Notepad with administrator privileges.

At the Notepad display, move to Document » Open after which navigate to the C:WindowsSystem32driversetc folder. From this folder, choose hosts document and open it.

In case you’re the use of Mac, then you wish to have to open the Terminal app and input this command to edit hosts document:

sudo nano /personal/and so forth/hosts

For each Home windows and Mac customers, on the backside of the hosts document, you wish to have to go into the IP cope with you copied after which input your area identify. Like this:

Just remember to change the IP cope with with the only you copied from cPanel, and with your personal area identify.

Whenever you’re accomplished, save your adjustments.

You’ll now get entry to your recordsdata at the new host the use of your area identify in your laptop.

Vital: Don’t omit to undo the adjustments you made to hosts document once you have completed the migration (step 6).

Step 5: Growing MySQL Database on Your New Host

Earlier than we run the installer at the new host, it is very important create a MySQL database in your new website hosting account. If in case you have already created a MySQL database, then you’ll bounce to the next move.

Making a Database in cPanel

Move on your new website hosting account’s cPanel dashboard, scroll all the way down to Databases segment and click on on MySQL databases icon.

MySQL databases in cPanel

You’ll see a box to create a brand new database. Input a reputation to your database, and click on “Create Database” button.

Creating new database

After growing the MySQL database, you wish to have to scroll all the way down to the MySQL Customers segment.

Subsequent, supply a username and password to your new person and click on at the ‘Create a person’ button.

Create a MySQL user

After that, you wish to have so as to add this person on your database. This may give the username you simply created, all of the permissions to paintings on that database.

You’ll do that by way of scrolling all the way down to ‘Upload Person to a Database’ segment. Merely choose the database person you constituted of the dropdown menu subsequent to person, then choose database, and click on at the upload button.

Add user to database

Your database is now in a position for use with WordPress. Make sure you make word of the database identify, username, and password. You’ll want that knowledge in the next move.

Step 6: Start the Duplicator Migration Procedure

Now we’re in a position to run the installer. Navigate to the next cope with for your browser window, changing together with your area identify:

Duplicator installer initialized

The installer will run a couple of exams and can display you ‘Move’ subsequent to archive and validation exams.

You want to test the phrases & stipulations checkbox and proceed by way of clicking at the Subsequent button.

Now, you are going to be requested to go into your MySQL host, database identify, username, and password.

Your host will probably be localhost. After that, you are going to input the main points of the database you created within the earlier step.

Connect to the database

You’ll click on at the ‘Take a look at Database’ button to you should definitely entered the right kind knowledge.

If Duplicator is in a position to attach, then you are going to see a string beginning with Move. In a different way, you are going to see the database connection error main points.

Click on at the subsequent button to proceed.

Duplicator will now import your WordPress database from the archive zip into your new database.

Subsequent, it’s going to ask you to replace web page URL or Trail. Because you aren’t converting domains, you DON’T wish to exchange anything else right here.

Merely click on at the subsequent button to proceed.

Duplicator will run the overall steps and can display you the login button.

Duplicator website migration finished

You’ll now login on your WordPress web page at the new host to be sure that the whole thing is operating as anticipated.

Step 7: Replace Your Area Title Servers (DNS)

At this level, you’ve created an entire reproduction of your WordPress database and recordsdata in your new website hosting server, however your area nonetheless issues on your outdated internet website hosting account.

To replace your area, you wish to have to modify your DNS nameservers. This guarantees that your customers are taken to the brand new location of your web site after they sort your area into their browsers.

In case you registered your area together with your website hosting supplier, then it’s absolute best to switch the area to a brand new host. In case you used a website registrar like, GoDaddy, and so forth, then you wish to have to replace your nameservers.

You’ll want the DNS nameserver knowledge out of your new internet host. That is normally a few URLs that appear to be this:

For the sake of this information, we will be able to be appearing you how you can exchange DNS nameservers with GoDaddy.

Relying in your domain registrar or internet host, the screenshots would possibly glance other. Then again, the fundamental thought is identical.

You want to search for area control space after which search for nameservers. If you wish to have help with updating your nameservers, then you’ll ask your internet website hosting corporate.

For GoDaddy, you wish to have to login on your GoDaddy account after which click on on Domain names.

After that, you wish to have to click on at the Organize button subsequent to the area identify you wish to have to switch.

Manage domain

Underneath the ‘Further Settings’ segment, it is very important click on on ‘Organize DNS’ to proceed.

Manage DNS

Subsequent, you wish to have to scroll all the way down to the Nameservers segment and click on at the exchange button.

Change nameservers

First, it is very important transfer the nameserver sort dropdown from ‘Default’ to ‘Customized’. After that, you’ll fill within the your new website hosting supplier’s knowledge beneath Nameservers.

Updating DNS nameservers

Don’t omit to click on at the save button to retailer your adjustments.

You’ve effectively modified the nameservers in your area. DNS adjustments can take 4 – 48 hours to propagate for all customers.

Since you may have the similar content material in your outdated host and the brand new host, your customers wouldn’t see any distinction. Your WordPress migration will likely be seamless with completely no downtime.

To be at the secure facet, we advise that you just wait to cancel your outdated website hosting account till 7 days after your migration.

Steadily Requested Questions

Listed below are a couple of questions a lot of our customers ask whilst shifting WordPress from one host to every other.

1. Can I signup for the brand new website hosting account with out registering a website identify?

Sure, you’ll completely signup for a website hosting account with out registering a website identify.

Area identify and website hosting are two other products and services, and also you don’t essentially wish to check in a website identify when signing up for brand spanking new host. For extra main points see our information at the difference between domain name and web hosting.

Some website hosting suppliers will ask you to make a choice a website identify as step one when buying website hosting. They are going to additionally mean you can input a website identify in the event you already were given one.

2. Do I wish to switch my area identify to the brand new host?

No, you don’t wish to switch your area identify to the brand new host. Then again, moving your area identify on your new website hosting will allow you to renew and organize beneath the similar dashboard as your new website hosting account.

For extra in this matter, see our final information on domain names and how do they work.

3. How do I repair error organising database connection error in Duplicator?

In case you are seeing an error connecting to the database or database connection error in Duplicator, then the possibly reason why for that is that you just entered improper knowledge to your database connection.

Make certain that your database identify, MySQL username, and password are right kind. Some internet website hosting corporations don’t use localhost because the host for his or her MySQL servers. If so, then it is very important ask your internet host’s beef up body of workers to come up with the right kind knowledge.

4. How do I test if my web site is loading from the brand new host?

There are a number of on-line equipment that mean you can see who is hosting a website. Once you have transferred your web site to the brand new host, you’ll use any of those equipment, and they are going to display you the identify of the internet website hosting corporate website hosting your web site.

If it hasn’t been lengthy because you migrated your web site and made adjustments on your area identify server (DNS), then chances are high that that your web page would possibly nonetheless load out of your outdated host. Area identify adjustments can take as much as 48 hours to totally propagate.

5. Do I wish to delete any recordsdata or knowledge from outdated host?

When switching website hosting corporations, we advise that you just stay your outdated web site for a minimum of every week. After that, you’ll delete recordsdata out of your outdated internet host. In case you are canceling your account, then your internet website hosting supplier will delete your whole knowledge in step with their coverage.

6. How lengthy will have to I stay my account lively at the outdated host?

Upon getting migrated your web site to the brand new host, and in the event you don’t have another web pages hosted together with your outdated internet host, then you’ll cancel your outdated internet website hosting account.

Then again, in some circumstances, you will have already paid them for once a year website hosting. You will have to test their refund coverage to peer if you’re eligible for any refund upon cancellation.

7. How do I transfer a WordPress web page with SSL/HTTPs?

It is important to install SSL certificate in your new website hosting supplier. After that, you’ll observe the similar steps discussed above. Simply just remember to use HTTPs within the URLs, like

8. Bonus: Loose Web page Migration by way of Your New Host

In case you’re taking a look to modify your internet website hosting, however the steps above sound too difficult, then you’ll select the next suppliers, and they are going to migrate your web site for you.

SiteGround, InMotion Hosting, and WP Engine be offering loose web site migration for WPBeginner customers.

We are hoping that this step-by-step information helped you progress WordPress on your new host with out a downtime by any means. In case you come throughout any problems together with your WordPress migration, then take a look at our information at the most common WordPress errors and how you can repair them.

In case you preferred this newsletter, then please subscribe to our YouTube Channel for WordPress video tutorials. You’ll additionally in finding us on Twitter and Facebook.

The put up How to Move WordPress to a New Host or Server With No Downtime seemed first on WPBeginner.

WordPress Maintenance

[ continue ]