Changing Hosting Companies? How To Move Your Blog Without Any Downtime

Posted in Anatomy of a Blog, Hosting, How To, WebMaster on May 4th, 2008 by DB

I spent some time yesterday moving one of my blogs (no, not this one) over to another Web Hosting company. I figured this would be a good topic to talk about on Web Hosting Plans and tips as I’m sure some of you might be contemplating the same thing and not sure how to go about changing web hosting companies.

Changing hosting companies could be for a variety of reasons. Either the hosting company is not good enough or the hosting setup is just not right for your blog or you are realigning your portfolio. Don’t ask me yet what I mean by that last one, I will tell you guys one day. Whatever your reason, if you are looking to change your blog hosting provider then simply follow the steps listed below and you should be good to go.

Did I mention having no downtime is important? I guess I did not, to me that is implicit. After all downtime means lost business, lost credibility and more importantly lost rankings. Yes, downtime can and will affect your SERP’s. This is why it is critical to select the right hosting company, one that is known for its consistency and support. Of late I have started to compile and list select hosting plans from various companies on here. Look at the recommended hosting section and the others if you are shopping for hosting.

Back to moving your blog. Follow these steps in the order listed below. I’m assuming that you are hosted on Linux and have Cpanel as your control panel.

  1. First would be to take a backup of the existing blog. Let’s start with all the files. I use FileZilla as my ftpclient and find it really good. Its free and reliable and really simple to use. Download the client version and connect to your current blog hosting provider. Download the entire contents of your “public_html” folder onto your local machine. Yes, the entire “public_html” folder including the themes, plugins and the admin files.
  2. Next is the database backup. You need the latest and greatest version of your database. If you are using the database plugin from Il Filosofo then you should already have a database backup file created on a regular basis. I always set the frequency to daily and set it up to be sent to my email. You can get the plugin from here ( http://www.ilfilosofo.com/blog/wp-db-backup/ ) if you don’t have it already and want to use it going forward.Generating the latest backup directly from your CPanel / phpMyAdmin is a straightforward process. Log on to your hosting account, select “MySql Databases” and launch “phpMyAdmin”. The link to launch “phpMyAdmin” is all the way down at the bottom of the page. Select all the options as shown below and export your database backup.phpMyAdmin Database export options
  3. Now its time to setup your new hosting account. I’m assuming you’ve already done the review and selection process and selected a hosting plan that best suits your needs. One important selection criteria to choose a blog hosting provider would be the option for a one touch install of your favorite blogging platform (WordPress in our case). Many offer this option as part of Fantastico but only a few offer the latest version of WordPress (2.5.1). I’ve always found HostGator to be really quick in updating their hosting setup to accommodate the latest releases from WordPress.You should already have access to your new Hosting Account and CPanel to continue. Launch CPanel and click on Fantastico and create a WordPress blog. The database name will never be the same unless you have the same username and it does not matter. Do a quick check to see if your blog is installed correctly by launching your blog from CPanel. Remember you have not yet changed your DNS and so you cannot use your domain name yet.
  4. Now that you have the shell of your WordPress blog installed its time to import your backup. Lets start with the database. Go back to your new hosting account CPanel and launch “phpMyAdmin”. You will see that you have one database in there which is your blog database.Select the import option on “phpMyAdmin”. Select your database backup file and click on the “Go” button. If you’ve done everything correctly so far then the database should be imported without any errors.Database Import
  5. Next its the turn of the files. Use FileZilla and connect to your new hosting account. Navigate to the public_html folder and upload the entire contents from the backup you took earlier in step 1 EXCEPT for the wp-config.php file. The “wp-config.php” is found directly in the “public_html” folder and take care to avoid overwriting this file. This file has your new database and login details and must be left alone. Overwrite every other file from your backup. Set the overwrite option to yes so that all existing files are overwritten.This should not take more than a few minutes depending on your internet connection. Once you are done uploading the files you are 95% done. Yes, that’s all there is to it. The only step left to do is to change your domain nameserver information. Before you do that launch your website from CPanel and check if your blog is exactly the way it should be.
  6. Finally when you are finished double checking your new blog, simply log on to your domain registrar control panel and change your name server information to point to your new hosting account. I debated to include a screenshot for this but then decided against it as there are too many domain registrars out there and most have detailed steps on how to change your website’s nameserver information.Once you’ve changed the nameservers you probably have to wait 24-48 hrs for it to propagate. It usually will be a lot sooner but waiting 48 hrs is best. Ping your domain from your command prompt at frequent intervals and you will see if your domain IP Address has indeed changed.If you run a really popular blog you might want to take another database backup from your old blog and import it back into your new blog to ensure all the latest comments are captured and transferred as well.

That’s all there is to it. Following the above steps should enable you to migrate your blog over to a new hosting company or plan without any downtime and keep all your subscribers happy. Changing your blog’s hosting provider is a big step but not necessarily a complicated one.

Bookmark this page, you never know when you are going to need it. Do come back for more tips on website hosting and don’t forget to subscribe to this feed.

1 Comment »

Amazon Web Services Ringing In More Changes.

Posted in Hosting on April 29th, 2008 by DB

Some more good news for all Amazon EC2 and S3 users. Amazon has announced that they are slashing bandwidth charges effective May 1st 2008. You can read more about the exact price difference in here.

Amazon seem to be rolling out quite a few improvements and changes over the past […] Continue Reading…

No Comments »

Using Amazon S3 To Host Your Media Files.

Posted in Hosting, WebMaster on April 25th, 2008 by DB

Amazon Simple Storage Service or S3 as it is more popularly known is an extremely cost effective way to store and manage your data. Your data could be anything, from simple normal every day work related files to your hosting or database backups. The only limitation Amazon S3 has is that […] Continue Reading…

No Comments »

Getting Started With Amazon Elastic Compute Cloud

Posted in Hosting on April 20th, 2008 by DB

Amazon’s Elastic Compute Cloud web service sure did take the web hosting industry by storm when it was launched nearly 18 months ago. While many other companies have already entered or are entering the Cloud computing space, Google being one of the more notable names, Amazon continues to be the […] Continue Reading…

No Comments »

Multiple Amazon Elastic IP’s, Single Instance

Posted in Hosting on April 17th, 2008 by DB

I recently blogged about Amazon’s Elastic IP offering and how this would impact Amazon’s Elastic Compute Cloud. By addressing one of the more pressing issues with EC2, Amazon has shown that it is willing to listen to their users and with the release of the Elastic IP and Availability […] Continue Reading…

No Comments »

Do You Have A Backup Plan For Your Website?

Posted in Hosting, Starting Out on April 15th, 2008 by DB

We all know in theory that backing up data is really important but how many of us actually do it? I’m guilty as hell. Even now I have so many important files on my laptop that I have absolutely no backup of and I still continue to procrastinate about […] Continue Reading…

2 Comments »

Start Building Your Back Links Today

Posted in SEO on April 13th, 2008 by DB

I’ve been posting about SEO of late on Website Hosting and optimization and wanted to quickly touch upon back links in today’s post. ( It really goes to say what I’m busy doing at the moment. :) )

Anyway back to today’s topic. Back links, incoming links or whatever you […] Continue Reading…

No Comments »

Why And What To Look For In An Aged Domain?

Posted in Domain Names, SEO, WebMaster on April 11th, 2008 by DB

Domain names!!! How much time do you spend on an average trying to find that perfect domain name. I don’t know about you but I’ve spent a lot of time (a really lot of time) trying to find the perfect domain name. Why does it take time? Because pretty much every name you can […] Continue Reading…

1 Comment »

How Do I Rebuild An Expired Domain?

Posted in WebMaster on April 10th, 2008 by DB

About a week ago I mentioned here that I picked up an expired domain from an auction. It took a week but finally I got an email from GoDaddy telling me that the domain was finally in my GoDaddy account. Whew!! That was one long week. The original buyer could have still […] Continue Reading…

No Comments »

What Is A Good Link and What Used To Be A Good Link?

Posted in Optimize And Monetize, SEO, WebMaster on April 8th, 2008 by DB

How do you go about link building? Every website owner at some point or the other must have wrestled with this problem. Do I use a link baiting service? Do I look at social media sites to improve my inward link count? Do I simply concentrate on content and […] Continue Reading…

5 Comments »

« Previous Entries