≡ Menu

How to Migrate your WordPress Blog from One Hosting to Another

How to Migrate your WordPress Blog from One Hosting to Another

This is a guest post by Sandeep who blogs at TechFreakBlog. If you would like to write for CallingAllGeeks, check our adsense revenue sharing program.

Webhosting is one of the most cruicial part of any website. A bad webhosting may bring lots of downtime and it’s not good for your online business. WordPress is one of the most popular blogging platform and no doubt it’s memory hogging software. Specially if you are using free webhosting, within some time you might face lots of issues with your hosting. Best advice would be always start with some of the recommended WordPress Webhosting.

This tutorial is for all those who are looking to migrate their server from one host to another host.  Migrating WordPress blog from one host to another is not some rocket science and with good piece of tech knowledge, you can perform the hosting migration yourself.

Steps:

1) Taking Your Database backup

  • Login to your host cpanel
  • Go  to your MYSQL/PHP MYADMIN, where you have the actual database of your site
  • Click on Export  in MYADMIN

 

  • Take a backup of all the tables in SQL format

 

2) Downloading a copy of Wp-content folder

  • Login to your FTP
  • Go to your wordpress files
  • Download Wp-Content folder to your hard drive (Even you can drag wp-content folder to your Desktop to download)

3) Installing WordPress on new server

  • Install  WordPress on your new host (Automatically through Fantastico from cpanel or WordPress  Manually)
  • Now login to your new host FTP
  • Delete wp-content from the set of  worpdress files

  • Transfer  the backed up  Wp-content folder via FTP to your host

4) Import Database

  • Login to your new host
  • Go to MYSQL/PHP MY ADMIN
  • Click on Import
  • Select the exported file using CHOOSE FILE option

  • Click on  ‘Go’ to import it

5) Change Name Servers

  • Login to your client area of Domain Registrant.
  • Go to Domain Management.
  • Look for DNS and go there.
  • Change the name servers to your  new host.

Note:

Name server changes will take some to propagate and reflect worldwide. So wait for 2-24 hours for complete name server propogation. I hope this tutorial will help you with your WordPress hosting migration but if you have any more queries regarding webhosting or host migration, feel free to ask via comments.

{ 6 comments… add one }

  • Siva March 16, 2011, 6:42 pm

    This is a must watch tut. To restore Database, I can’t do it in PhpMyAdmin since my host Fatcow allow max of 2MB :(

  • Harsh Agrawal March 16, 2011, 7:00 pm

    You can always ask your Hosting guys to increase the size or you can use a free php tool known as bigdump.

  • shariq@callingallgeeks March 16, 2011, 9:44 pm

    You can use WordPress XML export function to export/import your database.

  • shariq@callingallgeeks March 16, 2011, 10:00 pm

    Is it possible without selecting “Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT” ?

  • techntuts March 16, 2011, 10:26 pm

    Nice tutorial. This really helps in future when switching the server from one host to other host…

  • Manikandan March 24, 2011, 6:29 pm

    Why can’t we take the complete backup of the wordpress blog instead of “Wp-Content” only?If we take the complete backup then we have all thing in oru Hand!Better to take full backup and upload(Import) in into root folder!

Leave a Comment