Well, this week I have changed my hosting account to a new one – still with Hostgator but a different package. It’s been difficult to say the least!
My wordpress sites were very easy and sorted out within minutes because I use WP Twin a cloning plugin to backup up my sites. However, some of my files are hosted independently of wordpress and so I couldn’t use the plugin for those.
I discovered that using Filezilla to transfer files from my old account to my new account was not possible unless I had already changed the nameservers over to the new ones. Of course by changing the names servers it meant that I needed to transfer the files as quickly as possible or people vising certain pages would get an error!
After transferring a few files I checked to make sure they were working and found that the files were all corrupt! I don’t know why and I haven’t spent any time trying to find out why this happens.
So what did I do in the end?
I changed back to the old nameservers so that everything would work fine for visitors and then uploaded all the files from my computer backup folder to my new hosting account using the cpanel file manager instead of Filezilla. I have checked the files to make sure they work OK and so I have now changed the nameservers to the new ones.
- If you use wordpress then buy WP Twin or another cloning plugin to easily and quickly transfer your site.
- Always keep a backup of all your files on your computer or portable drive so that you can upload them to your hosting account (these are files that are not part of a wordpress site).
- Be careful if you use Filezilla – at the time of writing this, transferring files from one hosting account to another using Filezilla seems to cause file corruption (maybe there is a bug in Filezilla).
- Upload all your files to your new hosting account and check that the file size and names are the same as your old hosting file and folders. Open 2 browser windows and have your hosting accounts open so that you can easily check them side by side.
- Don’t download the Firefox FTP Manager add on – at the time of writing this it introduced a virus into my browser so that some websites were redirected to a different site full of advertisements. I removed all firefox add ons and plugins and restored my settings to default but the redirect virus was still there. In the end I had to restore my computer to a previous backup date to get rid of this it. I was surprised that my own virus software did not find the hack.
- Take your time and don’t rush or panic!