How to move a wordpress site to a new host?

Hi friends, I am back with another tutorial. I have searched this all over the internet, but I can't find a tutorial which explains how to move a WordPress site to a new host with images. So finally I some how learnt on how to do that and so I am posting it here.

Note:
Before Starting this tutorial make sure you backup your files.
You need to know about the basics of Cpanel.

1) Login to your hosting Account.
2) Go to your Cpanel> File Manager.


3)Click on Document Root for: and select your appropriate domain and hit Go.


4) Here you need to select the domain which you are move. After this, click on domain which you need to backup and then compress it.
5) After this click on the download button and download the compressed file.
6) Now go to Cpanel>PHPMyAdmin.

7) Select the appropriate database from the list of databases.

8) After selecting the appropriate database, click on the export button, by default all the columns will be selected

9) You will be prompted to save a sql file. Click on save.
10) Go to your new hosting and go to file manager as before and upload the zipped file(from step 5) and unzip the file.
11) Go to mySQL databases

12)Inside the MySQL databases, create a new database and add the user. If possible match it with your old database username and password.
13) In case if the above database name differs go to the FileManager>yourwordpresssite>wp-config edit the details(Note: It will have old database details and password)
14) Go to PhpMyAdmin, and select the newly created database, click on import button and import the database.
15) Wait for a few hours until your domain propagates, after that your site will be live from your new hosting. Enjoy..

0 comments:

Search This Blog

Powered by Blogger.