Migrate your Web site Video

To play this video, you need Javascript enabled and the latest version of Flash installed. Install Flash now
Migrate your Web site
Created: 02/04/2010
Video description: Tips for moving your Web site and domain name from one Web host to another.

Migrate your Web site Video Transcript

A lot of people run their Web sites by paying a Web host for server space. The Web host handles the maintenance of the servers, the actual machines, while you handle the operation of your Web site. You want to pick the right host because moving a Web site is a hassle. Even so, sometimes Web hosts change their terms, lose their quality of service, or even go out of business. Here are some pointers for moving your Web site to a new Web host. We're going to assume you already run a Web site and are familiar with how domain name registrars and Web hosts work in general. For this example, we'll migrate a WordPress blog so that we can show how to move files and databases. Start at your old Web host. Fire up your favorite FTP program; I use FileZilla. It's free and has a lot of the functions that I like. Connect to your old host and navigate to the folder of the Web site that you're moving. Highlight that folder and download it. It should have all your pages, images, all your WordPress files, everything. Downloading the entire folder preserves the directory structure intact. If you already keep a copy of that site locally, don't overwrite the local copy. Instead, copy the current site into a new folder. That way if you discover any issues, you haven't touched your backup. Next, log in to your database management interface, likely MyPHP. Select export. If you have multiple sites in the database, select just the tables from the site you're moving. Choose to compress as a ZIP file. And press Go. Finally, check to see if there are any other site elements in odd places. Sometimes CGI scripts are kept in a directory outside the main site folder. Copy any other data you can think of. Now go to the new Web host. Create a domain record for the new version of the site, but do not redirect the domain name yet. We want to get the new site up and running first. Reverse the process and upload the folder you just downloaded from the old host. Now go to the database interface at the new host. Select import, browse to the zipped file you exported from the old site, and press Go. Finally, restore any of those oddball files. CGI scripts may work a different way with the new host, so read the documentation and put the scripts where they need to go, plus update any paths that change. For instance in WordPress you'll need to update wp-config to point to your new database. Now test the site BEFORE you change the domain name to point to it. Your new Web host should provide a way to browse to your site even without the domain. Some things may be broken if you had absolute paths coded, but you should get the idea if everything is there. Try out all the important functions. Finally, you'll need to redirect the domain. Before you do though, make a slight, insignificant change to one of the pages on the new Web host. That way you'll know when the domain has changed. Go to your domain registrars site. I recommend registering your domain at a different company than your Web host. It just keeps things cleaner. You can transfer domains to a new registrar if you need to. But we won't cover that here. Most registrars have a way to edit the nameservers yourself. These are the servers at your Web host that resolve the domain name to the directory where you have your site. Get the new nameservers from your new host and edit the domain record accordingly. Now wait. Sometimes I've done this and the domain switches over almost immediately, and sometimes it takes a day. This is why you made that subtle change earlier. Once you see the change, you know the domain is now pointed at the new site. Now do your full testing. Including logging into WordPress to make sure the new database works right. And that's it. I recommend keeping the files at the old host for a couple weeks, just until you're sure everything is running properly. But once you're comfortable and the old host's files are out of date anyway, you can go ahead and close that account. And enjoy your new host! I'm Tom Merritt, CNET.com.

Related Videos

How to choose a Web host

You've picked out the perfect domain name for your Web site, but where do you host it?

Quick Tips: Register a Domain Name

Dream of your own .com? Here's how to buy that domain name you've always wanted.

Google wants to get inside your small business

CNET's Rafe Needleman previews Google's suite of free hosted services, Google Apps for Your Domain. The suite consists of a bundle of existing Google products: Gmail, Chat, Calendar and Domain Web pages.

Ep. 949: Where we wash our mouths out with SOPA

Leaked from today's 404 Podcast: Google Music competes for your ears, Cadillac announces plans for app store, Google Nexus drops on the UK, Gawker puts Fleshbot porn news site up for sale, and porn makers think they're getting jacked by .xxx domains.

Steve Jobs takes health leave

Nokia ends its Comes with Music service in 27 countries, GoDaddy pushes .co domain names, and Apple CEO's takes another medical leave.

Transfer data from Palm to Pocket PC - Migrating from Palm to Pocket PC

You've decided to abandon your Palm PDA in favor of a shiny new Windows Mobile Pocket PC, but there's just one problem: how do you migrate data from your old handheld to the new one? If you've been using Palm Desktop to sync your data with your PC, it can

Transfer data from Palm to Pocket PC - Transfer data with PocketCopy

You've decided to abandon your Palm PDA in favor of a shiny new Windows Mobile Pocket PC, but there's just one problem: how do you migrate data from your old handheld to the new one? If you've been using Palm Desktop to sync your data with your PC, it can

Transfer data from Palm to Pocket PC - Go from Palm to Pocket PC for free

You've decided to abandon your Palm PDA in favor of a shiny new Windows Mobile Pocket PC, but there's just one problem: how do you migrate data from your old handheld to the new one? If you've been using Palm Desktop to sync your data with your PC, it can

Transfer data from Palm to Pocket PC - Migrate PDA data with ActiveSync

You've decided to abandon your Palm PDA in favor of a shiny new Windows Mobile Pocket PC, but there's just one problem: how do you migrate data from your old handheld to the new one? If you've been using Palm Desktop to sync your data with your PC, it can

Luciano: "Why Should I"

Luciano was born in 1974 as Jepther McClymont in Davey Town, Jamaica. He grew up in Manchester, in the country. Then he becomes a orange-seller in Montego Bay. He began singing in his local parish church before assuming the name of Stepper John and migrating to Kingston in 1992. His debut tune was for Herman Chin-Loy at Aquarius, then he did half an album with Pressley for Mau Mau producer Sky High. His name was then changed into Luciano. 'Give my love a try' was his first Jamaican hit. Phillip 'Fattis' Burrell produced his first two UK hits: 'Chant Out' and 'Poor and Simple', that was in the summer of 1993 on Exterminator. His debut solo album, Moving Up was released in 93 (RAS/Exterminator). Sly and Robbie and their Taxi label helped Luciano, who later joined Freddie McGregor's Big Ship organisation. 'Shake It Up Tonight' was his first UK number 1. This song came from the album with the same name (Big Ship 1993).