How to move your dedicated server websites to a cloud server

By Matt Dunlap on July 12th, 2010
Clip to Evernote Tags: , ,

dedicated servers or cloud serversRunning a business on the Internet is becoming cheaper and cheaper every year. If you’re still on an expensive dedicated server, sooner or later you’ll want to make the jump to a cloud server. Not only will you save a ton of money, but with proper setup you’ll never fall victim to extended server downtimes.

Take it from me, I’m been hit hard with server outages, viruses and malfunctions. When I was using dedicated servers, I would be down for days trying to get the dedicated server back up. I was at the mercy of the co-location because it was their server and they had to bring it back to life.

Follow these steps for minimal downtime when moving to a cloud server.

Step 1.

Stop blogging and adding content to the old server. Make sure you leave a message to all of your clients, readers and/or community members that the server will be moving, and right before the migration, don’t let anyone add content. It will be lost!

Step 2.

Build the new cloud server. Remember cloud server have much more flexibility when it comes to prices. I often build a cloud with only 512 MB to save money during the install and transfer. Once I get all the files over and point the nameservers to the new server, I upgrade the memory to accommodate the amount of traffic expected. Upgrading and downgrading takes about 10 minutes.

Step 3.

Move the files over. There are many ways to do this. You can use ftp to download the files to your local computer then upload them to the new server. While this will take the longest, at least you will have a good backup on your local computer.

I use filezilla – free ftp client

I like to use wget to move files between servers. Webservers are usually pretty standard when it comes to configurations. You will/should put all the websites in a common area. For example, I use the home folder to store all the website folders. Then when I need to move the websites to another server I just tar up the home folder and then move the new tar file to a website folder. Wget uses http to transfer files so you need to put the files into a location that can be accessed via the Internet.

wget http://the_domain_name/the_archive.tar

Another option is to use rsync. You don’t have to archive the files into a tarball for rsync and you don’t need to have access via the Internet. rsync uses SSH to authenticate and then transfer the files. Rsync is mostly used to make a synchronized backup of your websites on a remote server. It will incrementally update the files on the remote server based on file changes, so your not moving large amounts of files everytime you need to make a backup.

rsync -r -a -v -e "ssh -l <username>" --delete remote_host.com:/home/website_folder/ /rsync/backup/website_folder

Scp is very similar to rsync, but scp will encrypt the files for security. Of course this will take longer and probably over kill.

scp your_username@remotehost.com:/home/website_folder /local_computer/backup/website_folder

My next post is going to be awesome... Subscribe to my feed so you don't miss it

Large RSS Feed Button


Previous Post Next Post

Post a Comment

Name:   
Email:   
Website:   
Comments:   
alert icon Do you need help with your website? I can offer full system admin, website development and Internet marketing services
Domain Name Deals
.COM for $1.99
With any non domain name purchase
Free Private Registration - When you buy or transfer 5 domains at opendls.com
Domain Name Reseller Accounts
Low buy rates - Very Profitable
Matt Dunlap on Why am I getting redirect loop errors with FireFox 3.6.8?
Hi, thanks for the heads up... Have you experienced this problem with any other websites? It's reall[...]
Stacy on Why am I getting redirect loop errors with FireFox 3.6.8?
I was attempting to follow your links to these tutorials from your youtube video, and I was using th[...]
Matt Dunlap on 301 redirects will lower your Google Pagerank
You want 301 redirect on same site redirects mainly to eliminate duplicate content. For example, if [...]
Kate Mag on 301 redirects will lower your Google Pagerank
great info. Does this mean that only affecting 301 redirect to another domain. I have 301 redirect t[...]
Mike Johnson - Real Estate Agent on Why is making extra money a bad habit?
Hey man, this is some great stuff. The only thing I can't figure out is why this sort of thing isn'[...]

Top Guest Bloggers

LoneWolf
View Posts | RSS

Guest Bloggers Welcome!


Powered By: Free Premium WordPress Theme | Copyright 2007 - 2010 mattdunlap.org Sitemap