There may be situations when you would want to transfer your self hosted WordPress blog from one hosting provider to another. Some of them are:
You are getting heavy traffic in your blog and want to upgrade to a better hosting plan and get rid of frequent downtimes.
Your current hosting plan is on a shared environment and you want to migrate to a dedicated server.
The technical support of your current host isn’t prompt and you want a better option.
Transfer Blog’s Hosting Provider
Here is a step by step guide on how you can transfer your self hosted WordPress blog from one host to another:
1. Sign up with a new and reputed hosting provider you know. Our blog is hosted with bluehost your blog, it support all wordpress services.
2. Once you have signed up for an account with the new hosting provider, wait for the account to get activated.
3. When the account is activated, you are ready for the transfer to begin.
4. Login to the FTP directory of your old host and take a complete backup of your blog’s files. Typically, you need to download the contents of the entire public_html folder to your computer.
5. Login to your WordPress blog and disable all the plugins. Next, optimize your database tables to reduce it’s size.
6. Now open the Cpanel of your old hosting account and go to “Phpmyadmin”. From here, generate a complete database backup of your blog in SQL format and download the backup file in your computer.
7. Login to the FTP account of your new hosting account and upload all the files that you downloaded in step 4 in the root directory.
8. Open the Cpanel of your new hosting account and create a new database. Most of the cpanels have a database wizard which you can follow to create the database, choose a password and add a database user. Assign the user all the priviledges and copy the details of this database in a notepad file. You need to copy the following:
- Name of the database.
- The user assigned to this database.
- The password of the user.
9. Remember you backed up the database in step 6. Open the cpanel of your new hosting account and go to “Phpmyadmin”. Select the database that you created in step 8.
10. After selecting the database, you will see that it does not contain any tables. Go to the import tab and import the old database into the new one.
Click “Browse” and then hit “Go”. Wait for a while and the import will be successfully completed. If you see an error message while importing the old database, then you need to reduce it’s size by optimizing the tables (refer step 5). If optimizing the tables do not work, contact the tech support of your new hosting provider.
11. Now open the FTP account of the new hosting account and download the wp-config.php file. Fill in the new database details which you created with the new host.
After that, upload the file back in the root installation directory of the new hosting account.
12. Okay, the hard part is over. Now login to the domain control panel of your website and change the domain name servers, pointing to the new host. Ask your new hosting provider for the name servers and update the same in your domain control panel.
13. As soon as you update the name servers, your blog will go down. Don’t panic as this is perfectly normal. Wait for some time for the DNS changes to propagate across the Internet (normally 24-48 hours).
That’s it. You have successfully migrated and transfered your WordPress blog from one host to another.