Exploring The Internet

Exploring the web – Growing my online experience




How to Transfer Your WordPress Blog to a New Host?

September 14th, 2008 · 3 Comments · How to, Web Hosting, WordPress Tips



I’ve just successfully transferred this WordPress blog (version WordPress 2.6.1) to a new host – hostmonster.com. The reason I wanted to switch to hostmonster.com is that not only it provides reasonable price but also offers unlimited hosting space, unlimited site bandwidth, and hosting unlimited domains. With $4.95/month, you can get as many as 100 SQL (Structured Query Language) databases. This is really a good deal in comparison to my previous host which only offered 1 SQL database with $9.95/month.

However transferring your WordPress blog/website to a new host is not an easy job; especially if you are new to this realm. If one day for any reason you decide to transfer your current WordPress blog/website to a new host, these are the steps that guided me to accomplish this job:

  • First find a host that meets all your needs.
  • Second use FTP to backup your WordPress files to your computer or laptop.
  • Third backup (export) your WordPRess database to your computer or laptop using phpMyAdmin in your current host’s cPanel. Check WordPress Backup with phpMyAdmin out for more details.
  • Next use FTP to upload your WordPress files that you’ve backed up earlier to your new host’s root directory or any directory you prefer.
  • Next change the information about your database or the absolute path before uploading (importing) it to your new host. Make sure you choose binary from Character set of the file otherwise some punctuation like apostrophe will not show properly. See the screenshot below: Import phpMyAdmin
  • Then download your wp_config.php file, which should be in your root directory, to your computer or laptop; edit the following lines and then upload it back to the same directory:
    define('DB_NAME', 'databasename'); // Change database name to be your actual database name
    define('DB_USER', 'mysqlusername'); // Change mysql username to be your MySQL username
    define('DB_PASSWORD', 'mysqlpassword'); // Change mysql password to be your actual password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value.
  • Finally point your domain to your new host’s name servers. In my case, they look like these: ns1.hostmonster.com and ns2.hostmonster.com. If you are not sure then you can ask your current host to have that done for you. Please be aware that DNS (Domain Name System) takes 24 to 48 hours to be completed due to DNS’ propagation.

Once you find out that everything is working properly, inform your current host to cancel your account. That is it. Would you like to transfer your WordPress blog to a new host? Why or why not? Tell us in the comment section.

Related articles
Transfer My Joomla! Website to a new Host

Blogging GPL Bundled WordPress Theme 58671 #58671 TemplateMonster

$19.00
End Date: Tuesday Jun-27-2017 8:48:07 PDT
Buy It Now for only: $19.00
Buy It Now | Add to watch list

Extravagant Stunning Website That Will Amaze You + Free Domain & Free Hosting
$279.00
End Date: Tuesday Jun-27-2017 9:12:55 PDT
Buy It Now for only: $279.00
Buy It Now | Add to watch list

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • Twitter
  • Technorati
  • Live
  • LinkedIn
  • MySpace

Tags: ··········

3 Comments so far ↓

  • How to Transfer Your WordPress Blog to a New Host?

    [...] here: How to Transfer Your WordPress Blog to a New Host? Best WordPress [...]

  • Jason

    Didn’t you forget the last step of getting the sql tables exported from the first hosts php my admin? I followed you step by step but I get a database error. I looked around and found other people mention you need to get the sql tables exported then import them as the final step.

    • Lana

      Hi Jason,
      Thanks for visiting and commenting here.
      I did not forget the step of getting the database exported from the first host. It is the third step. Check it out again.

      These steps reflected how I transferred my own domain to a new host. So I know they work. Good luck to you. If you have any other questions please don’t hesitate to ask.

Leave a Comment

Your e-mail address will not be published. Required fields are marked *

Comment moderation is in use. Please do not submit your comment twice.

*






Custom Search