Easy steps to Change your Website Hosting in zero downtime
Posted on | February 21, 2009 | 3 Comments
Follow the simple steps described below to move your WordPress
- Backup the database from the old host and import it to the new host. Pay attention to database names, user names, and DB password.
- Change your wp-config.php in the old host in order to point to the database on the new host. “i.e local host to newhost.com” Your web site will run using database based on the new hosting provider. Every change in your website will get reflected in new hosting provider’s Database. (You may want to check with your new hosting if they allow outside database access first. If not, you can skip this step and transfer the whole site content and DB to the new host, Test them by using ip. For example http://newhostip/~username/ will take it your content in the new host)
- Backup your entire WordPress installation from the old site (this will include all your uploads, themes, plugins)
- Unpack your WordPress installation to the new site
- Change wp-config.php DB source to local host. Even without changing them site will work.
- Change the nameservers to point to the new site
- That’s all now you only need to wait for DNS propagation
Your website will be active through old content and new DB till it gets full propagation, after complete propagation your website will be active from new hosting provider. Since nameserver propagation can take up to one day, step 2 allows you to have up to date database at the moment it happens. Downside to this is slower site response in the meantime because site still runs from the old server and the database is on the new. But if you do this over the night or periods of low traffic it won’t be that noticeable and you will not lose any comments or other activity on your site.
Above stated steps can be use for any website, provided you should know which file controls your DB name and place. For WordPress it is wp-config.php.
HAPPY HOSTING!
Tags: blog hosting > change your webhost > cpanel > fantastico wordpress > hosting plan > hosting provider > move your blogs > webhost > wordpress from one host to another host > wordpress moving
Comments
3 Responses to “Easy steps to Change your Website Hosting in zero downtime”
Leave a Reply
February 23rd, 2009 @ 6:09 am
That’s a well drafted article. Thanks Hexahost for sharing this. This explains your experience in Blog hosting
February 27th, 2009 @ 11:20 am
Hi,
I am following up on the Bangalore Indiblogger meet this Saturday at Microsoft campus http://www.indiblogger.in/bloggermeet.php?id=26. It is at tomorrow 3:30 PM. Just a gentle reminder. Looking forward to meeting with you there.
Thanks,
Anwin
+91-9880518019
anwin at indiblogger dot in
March 10th, 2009 @ 7:39 am
Thanks for following up