Almost 12 months ago I decided to upgrade my server to a dedicated server.
I wanted my blog to load as fast as possible and I had added all the plugins that help with load speed. But I still wasn’t happy…I wanted it even faster…hence the upgrade.
After the upgrade, my site did load pretty fast but the server wasn’t that reliable. Quite often it would just freeze. Many mornings I would open my emails and see that the hosting company had to re-book the server and they could find nothing wrong.
The reliability was getting worse so I decided to do some research and find a new host.
I found the answer on Yoast’s site.
He knows what he is talking about. Yoast recommend VPS or WestHost.
I ‘questioned’ their sales teams, compared prices and decided to go with WestHost.
The best hosting around?
This is what webuildyourblog.com is hosted on:
- WestHost ‘Burst’ cloud server with 1.2GHz Dedicated CPU, 752MB RAM, 20GB Storage, 500GB Bandwidth
- CDN with RackSpace
Plus I use these cahcing type plugins to improve the loading speed:
Loads in Under 3 Seconds
Both my home page and blog pages now load in under 3 seconds…which is pretty good considering all the images and content I have loading on each page.
And if I’ve not purchased the best package, I can always scale up to the next level. That’s the good thing about cloud hosting…it’s easy to scale up.
Now let’s move onto the real subject of this blog post – the actual moving from one host to another.
I’ve moved many clients from one host to another before and it is normally a matter of running through a few steps and taking your time.
But I nearly called this blog post…
How NOT To Move a WordPress Blog From One Host To Another
I made several mistakes!
These are the steps you should take:
- Wait until your new hosting server has been set-up
- Backup your WordPress database. I used the DB-Manager plugin and downloaded the sql file to my PC
- Download ALL the files associated with your website / blog to your pc. Use a FTP tool.
- Copy all the files you downloaded from point 3 above to your new host server
- Create a new SQL database and database user on your new host server. Connect the new database user with all privileges to the new SQL database.
- Edit the WP-Config.php file on your PC (the version you downloaded from point 3) with your new database and database user details.
- Upload and override the new wp-config.php file to your new host.
- Import your old WordPress Database (from point 2) into your newly added Database (the one you created in point 5).
- Repoint the Name-servers (where your domain name is registered) to your new hosting account.
- Be patient and wait to enable everything to settle down. It can take 24 hours before your domain name is connected to the new hosting account.
- Add any email accounts to your new host.
That’s it. Sounds simple, right?
It is if you follow those 11 points and I do when moving clients sites.
But when moving my own, I decided to change the order.
I thought I would save time by completing point 9 after the new hosting had been set up.
I thought the name-servers can be “doing their stuff” while I do everything else.
The problem is the data size for my site is over 1GB and downloading that amount of data via FTP took several hours.
It stopped halfway through.
While I was copying the data down to my PC via FTP, the name servers changed and suddenly the FTP stopped working.
So I had to rename the servers back to my ‘old’ host, wait until that had completed, then start again.
Then while uploading the data via FTP to my new host (point 4), I had a great idea!
Why don’t I “zip” the data and upload the zipped file. That will be quicker. I stopped the FTP, deleted the files it had uploaded and zipped the files.
Zipping the files hardly made any difference, so the upload took just as long.
And while all this was going on, I had the ‘site in maintenance’ screen showing for my visitors. In the end it was up for about 2 days…not good.
I am sorry about that and I have also replied to comments now.
So if you have to move hosting companies, don’t try and cut corners…be patient and follow the 11 points above.
If you have any extra tips that work for you, please share your ideas in the comments below.