Thanks to my Twitter Friend @Groovy_Glen I have found a pretty good (and cheap) web host which gives me unlimited traffic and space with unlimited domains (bluehost.com). Recently Kristine has been struggling with her current web host, so she made the decision to move it over to my account. So having fun transferring over her WordPress Blog to my host has been pretty smooth thanks to some investigation, so I thought I would post the steps in my first how to.
Firstly and most importantly you will need a backup for two main reasons: you will need it to transfer your data, and also it’s good to back up! Now depending on your website / web-host set up you can do the back up a few ways. The easiest way I found was to use an FTP program (FileZilla) and backup your WordPress Directory… you can also backup your your website through your Cpanel, this might be a good idea if you have more than one script / cms running on your host.
Secondly, you want to back up your WordPress SQL database, I did this through her Cpanel under Backups / Databases… you can also use MyPHPAdmin to back up your database. WordPress has a great run through on how to back up your database.
Now that your backups are complete you now need to tell your new host to grab your domain traffic. This is done by modifying your DNS records through your domain registrar. This process does take some time depending on registrars, the general rule is around 24-48 hours. This step is heavily dependant on your web registrar, all setups are different but the steps are generally the same… You will get your new DNS host setting from your webhost, if you are unsure look for your welcome email, or contact them directly.
1. Log into your registrar and look for DNS Server Setup (or something similar)
2. Once you see something like the above you need to change it to tell it to point to your new host
3. Save your changes and wait, check periodically by typing in your domain name until it doesn’t go to your WordPress site, this means it has gone through.
4. You now need to FTP into your new host and upload your old WordPress Installation.
5. Once the upload is complete you can now set up your databases, check your wp-config.php file for your database name, username and password and mirror these on your new host by setting them up in Cpanel. If you unsure how to do this check out the CPanel guide to Databases.
6. Now all that is left to do is to restore you WordPress database, to do that you can use MySQL Admin, or you can check out the guide at WordPress
7. Test your site!
Hope this guide helps you! If I have missed out any steps please feel free to comment below!
If it still doesn’t work, you may want to check or modify a few things.
- Databases on hosts can be awkward especially if you are using a shared hosting solution, what you can do is create a new database with any name taking note of the username and password and then editing your wp-config.php file accordingly
- Make sure all your permissions are correct after you have uploaded your backups, you can check out these here
- Check WordPress Support