Want create site? Find Free WordPress Themes and plugins.
In the last tutorial, we learned How to install WordPress on your computer (Local server). After you create the website on your computer, you should upload it to your live server so that it’s available on the internet. Uploading a normal HTML/CSS based site can easily be done manually. But, when it comes to WordPress website or any content management system (CMS) based dynamic website where the database is involved, it can go very complex when done manually. (Whereas it can always be done manually as well. I’ll cover it in future tutorials.) Your links may go dead, permalinks may not work well or some files may get missed resulting further issues.

In this tutorial, I’m going to I’m going to explain how to move WordPress from the local server to live site using Duplicator plugin.

Why use Duplicator plugin?

  • Duplicator is one of the most popular and trusted plugins freely available on WordPress plugin repository with 900,000+ active installs.
  • It is very efficient in day to day use
  • Duplicator manages the database upload and file upload very¬†efficiently
  • It handles the URL change automatically
  • There won’t be the chance of missing files or folder
  • It’s more secure and much easier way to transfer WordPress website when you follow its instructions well

Now, let’s begin!

Install Duplicator plugin

The first thing that you have to do is install Duplicator plugin in your WordPress installation on the local server. Installing Duplicator is very easy as it’s available in WordPress plugin repository.

Log in to the WordPress Dashboard.

Click on the Plugins >> Add New menu.

Search for ‘Duplicator‘ plugin and install and activate it.

Install Duplicator plugin

 

Creating new package in Duplicator

Step 1

After you install and activate Duplicator plugin, you will see new menu Duplicator.
Click on the Duplicator >> Packages menu.

Click on the Duplicator >> Packages menu

Step 2

You’ll land to the packages page. As a fresh installation, you won’t have any package available. So, you need to create a new one. For this click on the Create New button.

Click on new package button

Step 3

You have to go through a wizard to create a new package.

Give a name to the new package that you’re creating, then click on the Next button.

Choose name for the package

Step 4

Duplicator starts scanning your local site. It tests the server, PHP setup, etc and collects necessary information.

Site scanning is started

After the completion of scanning process, you’ll see the similar page. We’ve got a good result for all scans.
Now, click on the Build button.

Site scan complete

Step 5

You’ll see that building package process get started. It takes several minutes for the completion. So, keep patience. (Or, better get a coffee for you ūüôā )

Building package started

Step 6

After the package gets ready, you’ll have two files. One installer file and next package archive. Download both files.

Package created. Download installer and package.

Now, your job is complete in your local server. Now, it’s time to head toward your live server.

 

Upload package to your live server

In this tutorial, I’m using web host with Cpanel. So, steps described will be related to Cpanel.

Login to your Cpanel and open File Manager. Initially, the directory is empty.

Click on the Upload option as shown below.

File manager of CPanel

Upload the installer file as well as archive package that you got from your local server.

Package and installer file uploaded

 

Create new database

As a fresh installation in live server, you have to create new database for your WordPress website. If you already have a database, you can skip this process.

Step 1

In the Cpanel, click on the MySQL Database Wizard. It’s the easiest and simplest way to create new database.

From the Cpanel, click on the mySQL database wizard

Step 2

Give a name to your database. For the presentation purpose, I’m using newsite¬†as the name. But in your case, give a different name.

Give name for the new database

Step 3

You have to create new database user for the database. For the presentation purpose, I’ve created with username newuser and password root1. But, for the real site, you need to create complex username and strong password. I recommend you to use Password Generator to create strong password. (You need to save the password somewhere so that you don’t forget it.)

Create new database user

Step 4

It’s time to provide privileges for the new database user. Click the checkbox for All Privileges and then click on the¬†Next Step¬†button.

Privileges given to new user

Step 6

You have completed the task of creating new database. Note down the database name and database username. (You may have already saved password.)

New database for the WordPress created

You’ve successfully created the new database for your WordPress website. Now, time for the last and the most important step of moving the website to live server.

 

Run installer.php file of Duplicator

Step 1

Open a new tab in your browser and visit http://yourdomain.com/installer.php . This way we are running installer.php file that we’ve uploaded in live server.

Click on the checkbox accepting all terms and notices and then click on the Next button.

visit youdomain.com/installer.php in new tab

Step 2

In the step, you need to give the details of your database that we created for our WordPress website. Host is basically localhost, so, you need not change.

Input database name, user and password of the database. Click on the¬†Test Database¬†button to ensure that you’ve enterred the database details correctly. Then, click on the Next¬†button.

Install database for the WordPress

Step 3

You’ll see a dialog box for install confirmation. Click¬†Yes¬†button.

Confirmation of installation

Step 4

In this step, you have to give information for the data replacement. Basically, you need not do anything as all fields are pre-filled. If you want to change the Title of your website, you can do it here.

You can create new WordPress admin user account as well at this step. For this, click on the Advanced Options and enter required information. Click on the Next button.

Data replacement step

 

Step 5

Installation process starts and results following page. You need to click on these 4 buttons to ensure everything is alright.

Test site transfer

You’ve successfully moved your website from the local server to live server using Duplicator plugin. Congratulations!

Wrapping up

Using Duplicator plugin is the most safe and efficient way to move website from one server to another. You can do it manually as well. But, the process are much more complex and may result some errors. You may have to loose much time debugging the issue. Whereas Duplicator plugin automates and ensures everything efficiantly. You can use this plugin to backup and restore your website in the same server as well.

Got any problem in transferring your WordPress website from local server to live server or need more clarification in any steps decribed above, you can leave a comment below. I’ll help you as soon as possible.

We’ve a long series of tutorial ahead. So, keep following WPCounsel.

Did you find apk for android? You can find new Free Android Games and apps.