How To Transfer WordPress Site From LocalHost Server To Main Server

Share Button

Want to  Transfer WordPress Site From Localhost Server To Live Server?

It’s an easy task. But if you haven’t previous experience, it might be very difficult to do that.

When i looked my eyes on various Outsourcing sites like UpWork, Elance and, many buyer is posting job to solve this issue.

In my tutorial  i will share How To Transfer WordPress Site From Localhost Server To live Server, and how your site will be live within few moments.

Transfer Localhost server to live server tutorial

 Step By Step Guide to Transfer WordPress Site From Localhost To Live Server

Step1. Export Your Database From Local WordPress Server

To transfer WordPress site from LocalHost to main server, our first work is to Export Database from old host or Localhost.

Login to your phpMyAdmin, Simply you can login from http://localhost/phpmyadmin/  Then Click on your database file name,  On Top bar Export button will appear, click on it. Here you will get more options, simply select all tables. Then click on save as file then go.

How -to -export- file- from -wordpress- site


You will be able to to export file as Zipped or gZipped  Select  gZipped for compression. Click On Go button to complete export process.

How -to -eaxport -file- from wordpress site2


Step2. Upload WordPress File to New Server

Now you need to access your remote site using FTP. Connect to your FTP client using your live server user id and password. Before login to your FTP account you need to create a FTP account in your own server. Find out where you exported WordPress Database, then select all files and upload from there.

Upload DataBase to New Server

After finishing uploading, Your remote site will like this.

how -to- transfer -wordpress blog- one -server- to -another

Step3. Create a MySQL Database On New Server

Now time to create a new database where you will upload your file. After login your hosting cPanel,  Click On MySQL Database.

how -to- transfer- wordpress -blog -one -server -to -another photo

Now Create a New Database,  Create a name, Username and Password then click on Add Database. So, your new database is ready to use.

How -to -add a -database- on- wordpress- site


Now create a  new MySQL User. To do this click on “Add A New User” then type your name and password then Click “Add User”.

how to transfer- wordpress- blog one server- to another- photo2

So, you completed task to create your new user database. Now add your user with database. For this click on Add User To Database then Write your user name and database name then “Add”.

Hit on All Privileges box from  “Manage User Privilege” page. Then click “Set Privileges”. Set all privileges to the user. If your information is correct, you will get a confirmation.


Transfer Site Localhost server to live server


Step4. Upload Old Database on New Server

Upload  Exported Database on New Server, After login to your cPanel Dashboard go to phpMyAdmin then select your new database.

transfer site

Click on import tab, upload your downloaded data.

Step5. Need to  Change On Database Table

Follow the steps bellow to go live.

1.  Select “wp_options” from the left side table.

how to transfer wordpress blog one server to another photo5

2. Click On Browse tab then click on  site URL, give here your Domain homepage URL , then save.

how to- transfer- wordpress blog one server to another-server- photo6

3. In this page  click on  “Home”, also give here your site URL then go. You just want to change your site http://localhost/yoursitename to .

 how to transfer -wordpress- blog one server to- another -server- photo7

4. Now edit Wp-Config.Php file, you are in last step to complete the full process.  Here edit your user name , database and password. Then save this file .

Congrats! Finally you completed your task to Transfer Your WordPress site from Localhost to live  server.

Now time to decorate your site using a Professional WordPress Theme.


Read Also:


Share Button

>>Resource For Online Entrepreneurs>>

Best Domain & Hosting Provider

1. BlueHost

  • Free Domain
  • 24/7/365 Technical Support
  • EASY Control Panel
  • 1-CLICK WordPress Installs
  • WordPress Recommended Hosting

Get A Free Domain

Best KeyWord Research & Competitor Analysis Tools


2. Long Tail Prolong tail pro logo

  • 50K High Paying Keywords Within 2 minutes
  • Long Tail Keywords Finder
  • Spy Your Competitor
  • Get DA, PA, Moz Rank, Pagerank, Backlinks, Domain Age by 1 Click

$1 Trial For 10 Days

Best WordPress Themes Club


3. MyThemeShopmythemeshop logo

  • 340306 Happy Customers
  • 120+ WordPress Themes & Plugins(Free & Premium)
  • Free HD Tutorials
  • Personal, Blog, Magazine, Business & eCommerce Themes
  • Elegant Design, SEO Optimized & Responsive

Free Themes

Leave a Reply


CommentLuv badge