Guide: Transferring your blog to another host
About two weeks ago I moved my blog to a new hosting provider, from goDaddy. The whole process was a smooth one, except for the small issue that was caused by one particular plugin.
I thought I would document this process, so that some of you who are changing your hosting (or thinking of changing in the future) can refer to it.
Checklist
First things first, you need to have these things done before you start your transfer.
- All your backups
- Get the latest version of WordPress
- Make sure that your blog theme is compatible with the latest version of WP
- Get your DNS info of your new hosting. You will use it to point your domain name to the new hosting.
What to backup?
- Your Database: it can be done by this plugin or phpMyAdmin, which is usually provided by your webhosting.
- Your blog files: Make sure that you backup all your blog files. Especially;
- /images folder: without it your blog won’t have any images, so don’t forget to backup this folder. Especially if you are uploading images to somewhere outside your blog theme folder. (outside /wp-content/themes/)
- Your blog settings: Permalink structure, Writing, Reading, Discussion Options etc.
- Plugins and their settings: backing up your plugins is not enough. Don’t forget to backup their settings too. This can be done by opening plugins’ settings page and choosing from your browser “Save Page As”. This way, the page will retain its settings in the fields, and you can easily cut and paste them to the new blog.
Transfer Process
By now, you should have everything you need for the transfer to take place. The actual process should be over by 30 minutes or so. (But be prepared for any unforeseen issues, especially if you are using many plugins. Also your DNS might take longer than usual to propogate).
As for the database file, you need to have the latest backup file. This way, you won’t lose the last comments that your readers made. Your objective is to have “zero” loss of info. So, before you start the transfer, backup your database for the last time, and use that file.
- Upload all your files: Start uploading all your blog files to the new server. Including your theme, plugins and ‘images’ folder.
- Create an index.html page and upload it to the root folder: The page extension should be .html. You already have index.php, which is a WordPress file. index.html will act as the temporary index page while you are installing and transferring your hosting. Write something explanatory in your index.html page. Something like “Upgrade in progress, we will be back in 30 minutes“.
- Change your domain name’s DNS to the new IP address: This is done from your domain name management account. eg: goDady, NetworkSolutions..etc
- Wait for your DNS to propagate: This could take from 20 minutes to few hours. Once you see your index.html when you type your domain name, you should start the installation process. The reason why we wait for DNS to propagate is because we want your URL to be in the blog settings. Otherwise your temporary URL would be inserted into your mySQL and you have to change it manually from your DBMS (DB Management System).
- Install the blog: it should take you few minutes to install wordpress on your new hosting.
- Update your blog’s database with your database backup file: This is the file that you backed up with the WP Plugin or phpMyAdmin. This will insert all your posts, comments, some of your plugins’ data to the new hosting. Warning: Avoid inserting all contents of the backup file. Because in it, there are settings that are specific to your previous hosting. Obviously, using it on other hosts will cause your blog to function properly.
Therefore it’s better to insert the data one at a time. I inserted posts first, followed by comments, and some plugin data. I also found that some plugins like Peter’s Custom Anti-Spam Image Plugin generated too much duplicate data in the database. The amount of data this particular plugin generated was too huge. It kept inserting the same captcha word (eg. adesblog) over and over again into the database. So, next time you should be careful using plugins with known issues.
- Enable the theme and plugins: You should test your plugins locally beforehand. But if you haven’t, then try activating them one at a time. This way, if there is any error, you know which plugin is causing error.
That’s it. This is the whole process that I have taken. It worked very well for me and I was done with the transfer under 30 minutes.
But DNS propagation was going forth and back for about 24 hours. Since I had two blogs running simultaneously on two locations, users who saw different versions still saw a functioning blog. So that is another thing to consider. Do not delete your old blog right away. Give it some time, until your DNS reflects the new hosting fully.
Related PostsNote: This might not be the best way to tranfer a blog to a new hosting. Therefore, it should not be taken as the only guide that you use for your transfer. Make sure you check other resources too. It just worked for me and I am sharing it with a goodwill, that hopefully it will benefit someone. Please let me know if there is a better way to do some or all of the steps that I have taken. (Ades)
- 1 year FREE web hosting!
- goDaddy.com - No osCommerce scripts please!
- BloggingBoost.com - get free domain name and hosting
- $1.99 for a Domain Name
- Winner of the Contest, Week 2 of 8
19 Responses
to “Guide: Transferring your blog to another host”
3 Trackback(s)
- Mar 19, 2008: HighFivez.com: Your Guide Through The Blogosphere. Find Blogs and Blog Posts.
- Mar 26, 2008: Weekend Roundup #23 » JaypeeOnline // Blogging News & Reviews
- Jun 22, 2008: hosting your web site









By Rice Blogger on Mar 18, 2008
I tried this a few times b4…it is pretty easy with wordpress…but most other scripts had problem with locating the path when there is changes in the hosting script used (cpanel, direct admin, hsphere..or others)
By David Bradley on Mar 18, 2008
My previous host was causing error after error (500 internals and 404s when I was writing and editing posts etc). They said I was using too many CPU cycles and I must upgrade, but traffic hadn’t changed much from the week before when the problems started. So, f*ck that for a game of quoits, I said, and relocated to a much more robust host. Very easy to do and DNS propagation took less than a couple of hours.
Incidentally, you can check on DNS propagation progress by viewing your site using different proxies. e.g. the-cloak.com - it’s a good way to check things worked even before you can see them direct in your browser.
db
By Jaseem Umer on Mar 18, 2008
Missed ‘t’ in Install.
By James Mann on Mar 18, 2008
Excellent post.
I have a few blogs on a hosting service that just plain sucks but I haven’t been able to transfer my main blog from there without database errors.
I even had the techies at HostGator try to move the site and they couldn’t get it moved successfully so it’s still there.
The timeouts really affect the site and I just get more frustrated.
I am going to follow your steps and see if there was something we missed.
By Dining Tables on Mar 18, 2008
A good post. Very informative. I wish that I had read something like this, when I switched a couple of months ago. Thanks.
By xbrain on Mar 18, 2008
This is nice tutorial…
Two thumbs up..
Stumbled your page !!
Ades, got some correction : Insall the blog:
Under that bullet point..
By Iskandar on Mar 18, 2008
Why goDaddy?
Of all hosting provider I had used, godaddy is the one I find most frustrating.
I’ve used a cheap hosting that cost me RM18 a year and it’s far better than goDaddy.
Last time I used goDaddy, they don’t have cpanel, no proper stat (I must to pay to get an awstat like info for my site).
Have they improved?
By xbrain on Mar 19, 2008
Iskandar –> GoDaddy has improved a lot since the last time when they started the business.
The server still slow until now.
They tried to put all sites into one server
By Vicky on Mar 19, 2008
I use 1 and 1. I find their service to be excellent. Their support is fast and very effective. I have only had to use the support twice and it was because of my not knowing something, not anything they had done.
By Peter on Mar 19, 2008
Hi Ade, just a head’s up re: the anti-spam image plugin. It’s designed to be that way by inserting one entry for each page visit and each entry is kept for 24 hours. It’s also designed to delete both of the tables it creates when you de-activate the plugin.
It kept inserting “adesblog” because that’s the only word you had configured.
Let me know if you want a more detailed explanation :D
Anyway, no harm done. I welcome all comments regarding possible issues with the plugin.
By Web Marketing Expert on Mar 19, 2008
Thanks for an exSEOllent post! Am contemplating starting an external blog and transferring it to our website when it can be accommodated, so this information will definitely come in handy. Technical tips like this are always most welcome!
By SEO Snyman on Mar 19, 2008
Great tech post. It is always good to be able to draw on the experience of others, and to not have to try figure out how to do things by yourself, or worse, having to employ somebody to do it for you.
Haven’t got a blog myself, but have been contemplating doing something seperate on wordpress and incorporating it at a later stage, so this info will definitely prove valuable.
By Dunn on Mar 19, 2008
I just transfered my site from Blogger to self hosted. Already installed Wordpress, widgets, etc. The homepage already views correctly, with the new WP theme. But when I clicked individual post, it viewed using the blogger theme. Already asked help from the hosting transfers team, and seemed like they don’t know how to fix this either. Is anyone have ever face this problem before? Or does anyone know how to fix this? Please help.
By Ades on Mar 20, 2008
Thanks for all your feedback guys!
Dunn, don’t forget to check the blog settings in your backup sql file. I am not familiar with blogger platform and how it exports the db files, but that might be one of the reasons why you are seeing blogger designs on individual pages.
By Maria Ozawa on Mar 21, 2008
Excellent post. It will come in handy once i purchased a private host, which I am gonna do tomorrow. Wish me luck!
By indocontest on Jul 2, 2008
Nice tutorial Ades.
i think that why i see my blog in different version.