Friday, April 19, 2013

How to transfer your wordpress project from localhost to live domain using cPanel?

Transferring your localhost wordpress project/website to your live domain using cPanel is pretty simple though it might seems daunting to some people. It's pretty much same as transferring the wordpress from one PC to another one.

Follow the step to deploy your local wordpress in to a live domain using cPanel :

Step 1:

Login to your domain Control panel using cPanel. This is usually your domain name: port number. Example: http://mydomain: 2028
login to cPanel
 after successful login, go to phpMyAdmin by clicking the phpMyAdmin from the 'databases' section.
phpMyAdmin of cPanel
 This would open the phpMyAdmin interface similar to your localhost interface.

Step 2:

From your Computer's localhost/phpmyadmin export the database of your project. Save the database as a zip file.

Step 3:

Download the wordpress from www.wordpress.org and unzip it. Using an FTP client (like filezilla or any other ftp client software) transfer the wordpress files (wp_admin, wp_include, wp_upload and all other files that you get as part of the wordpress) in to the www directory of your domain.

Step 4:   

   
From your cPanel Dashboard, click on MySQL Databases and create a new database ( your domain name would be auto prefixed as part of your database name).

 
Now create a new MYQSL user and finally add user to the database. 
This far , you have the database name, MYQSL user and password that would be required to install wordpress in your domain. 

Step 5:

Type your domain name in the browser and that would bring the wordpress installation interface. Install the wordpress in your domain. For installation you would need to supply the database name, MySQL user name, password . Provide these information as you already know what the would be. Wordpress would be successfully installed in your domain just like your local PC. 

Step 6:

From your cPanel phpMyAdmin, import the database that you exported from your localhost phpMyAdmin. 

Step 7:

Transfer the wp_content and wp_upload folders through the filezilla (or the FTP client you were using)  in your server. 

Refresh the browser and you would find you project live in your domain. 

No comments:

Post a Comment