hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Web Hosting Tutorials : Changing Web Hosts? Step-By-Step Guide
Reply

Web Hosting Tutorials Tutorials related to shared hosting.
Forum Jump

Changing Web Hosts? Step-By-Step Guide

Reply Post New Thread In Web Hosting Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-24-2004, 06:54 PM
AdWatcher-Boris AdWatcher-Boris is offline
Web Hosting Evangelist
 
Join Date: Sep 2003
Location: New York
Posts: 494

Changing Web Hosts? Step-By-Step Guide


Every webmaster cringes at the thought of moving hosts. Like moving your home it can be messy and sometimes problems arise. But if you follow these simple steps, your move will be less painful.

Backup Backup Backup

If you’ve been diligent with your backups, you’ve got a lot of insurance to fall back on yet always make the latest backup. If you haven’t, before you do anything else, do a backup now. Backup anything and everything you can and don’t forget your database if your site relies on it. Save at least 2 copies and store them separately. One for you to work with, and the other as an archive. Do not underestimate how easy it is to copy over these files as you make changes or simply mess it up.

If you’re moving to a host who has as different control panel, make a manual backup by downloading all your files because different control panels may not be able to restore the backups made by your old host. They also have different directory structures so your file trees will be in a mess. If you need to, make a small note file with notepad with memos for you to remember the old server configurations. This will help you as you make changes on your new host server and save the confusion moving back and forth between hosts. Remember to make the correct transfer type (ASCII or Binary) as you download. If your download is not right chances are you’ll have a tough time getting your site to work on the new host server.

If server logs are especially important, remember to backup those too. There is no good way of moving logs yet because different hosts may log statistics differently. So the best thing to do is to download it and use a log analyzer on your computer to make references to later on.

Gather Odds & Ends

1. A Good FTP program which you should have by now
2. Get your new host server’s DNS
3. It’s also helpful to have a script that tells you the server environments installed on your new host server for quick references.
4. Get the temporary URL on your new host so you can check your site before you make a DNS change.
5. If you have your host control the domain inform them not to change your DNS until you tell them to.
6. If you run scripts:
- Get a copy of the original installation guide and the script. Sometimes after moving the scripts just do not work right so you might need to install the script from scratch.
- Get a list of all the server paths such as Perl, Sendmail and home directory on your new server.
- If your script needs special server modules or programs ensure they are installed and where. Even though these might be covered before you ordered the account with the host but sometimes your host has removed it or haven’t installed it yet.

Inform Your Visitors

It is common and good practice to inform your visitors and customers of the server move. If you run a e-store, this helps assure your customers you have not fled with their money if there is any downtime. Also give an alternate email so you won’t lose emails in the transfer. You might also want to give periodic updates prior, during (if there is downtime) and after. If your site is large, doing this is helpful because your visitors can alert you whenever there is a part of the site not working.

Moving Day

Try to schedule the move at a time where there’s least traffic. Backup again just before you do the move so you’ll have the latest data. Start by first copying or creating your custom error pages onto the new host server. Put a small note in there about the move. You can always remove it later. Then upload the most visible parts of the site first i.e the main pages then move on to the less critical parts of the site. If you have a large site with many divisions you might want to split them across different days and instead move the least critical first. Just ensure you always do a backup before you do any moving. Use the temporary URL to check your site, visiting as many pages as you can.

Changing DNS

Once you’re satisfied, change your DNS over. This typically takes about 24-48 hours so you have time to make some minor changes if need be. You might want to also take this time to modify your old site’s error pages to inform your visitors of the move and give a new URL if there are URL changes. To help you determine if the DNS has resolved, make a small change on the new pages to differentiate between the old and the new.

Monitor

After you’ve moved and the DNS resolved, do not release the old account yet. Keep it as long as two weeks running concurrently. Go back and check the old servers for activity. Check your old email account and if you have a web based contact method on the old server check to see if any communication is left there. Once you’re comfortable all email and traffic is correctly directed to the new host server, you can cancel that account.

Boris
HostVoice


Last edited by anon-e-mouse; 09-14-2004 at 08:25 PM.
Reply With Quote


Sponsored Links
  #2  
Old 08-24-2004, 10:14 PM
Hostivo Hostivo is offline
Aspiring Evangelist
 
Join Date: Jun 2004
Posts: 421
Nice work that you have put together here. Keep it up .

Reply With Quote
  #3  
Old 08-26-2004, 09:39 PM
liquidjoel liquidjoel is offline
Junior Guru
 
Join Date: Jan 2004
Location: Orlando, FL
Posts: 192
If you really want no downtime, and have access to modify the DNS zones, you can set the TTL's on the zone files to 0 the day before the move. Then, when you make the move, don't change the DNS servers. Just have the old DNS servers point to the new IP addresses. This change will happen instantly. Then, you can switch it to the new DNS servers. If it takes 24 hours, it won't matter, since both the old and new DNS servers are pointing to the same IP addresses.


Joel

Reply With Quote
Sponsored Links
  #4  
Old 08-26-2004, 10:02 PM
Hostivo Hostivo is offline
Aspiring Evangelist
 
Join Date: Jun 2004
Posts: 421
Good tip, I will have to try that.

Reply With Quote
  #5  
Old 08-26-2004, 10:17 PM
AdWatcher-Boris AdWatcher-Boris is offline
Web Hosting Evangelist
 
Join Date: Sep 2003
Location: New York
Posts: 494
Great point!

Boris

Reply With Quote
  #6  
Old 08-26-2004, 10:26 PM
liquidjoel liquidjoel is offline
Junior Guru
 
Join Date: Jan 2004
Location: Orlando, FL
Posts: 192
Thanks,

We had once moved 300 domains with about 1000 email accounts with that method before. We did it in the middle of the day with no downtime, and no customers noticing.

Joel

Reply With Quote
  #7  
Old 08-26-2004, 11:22 PM
Hostivo Hostivo is offline
Aspiring Evangelist
 
Join Date: Jun 2004
Posts: 421
Thats good.

Reply With Quote
  #8  
Old 09-01-2004, 08:04 AM
jolo2 jolo2 is offline
WHT Addict
 
Join Date: Oct 2003
Posts: 116
Quote:
Originally posted by liquidjoel
If you really want no downtime, and have access to modify the DNS zones, you can set the TTL's on the zone files to 0 the day before the move. Then, when you make the move, don't change the DNS servers. Just have the old DNS servers point to the new IP addresses. This change will happen instantly. Then, you can switch it to the new DNS servers. If it takes 24 hours, it won't matter, since both the old and new DNS servers are pointing to the same IP addresses.


Joel
could we make this a little clearer. I want to know how this things work. My questions :

1. Which TTL to set to 0? the new server or the old?
2. I'm using cpanel and have a edit zone access. Which is the TTL there? I'm seeing a column name TTL and all of it has 14400 I think. Is this the one I change to 0?

Reply With Quote
  #9  
Old 09-02-2004, 10:35 AM
liquidjoel liquidjoel is offline
Junior Guru
 
Join Date: Jan 2004
Location: Orlando, FL
Posts: 192
Set the TTL's to 0 on the old DNS server the day before. Keep using the old DNS server after you move the sites to the new one, but point the domains to the new ips. Then you can change the IP for the DNS servers to the new ones after the move takes place.


Joel

Reply With Quote
  #10  
Old 09-14-2004, 01:45 PM
chrispost chrispost is offline
Newbie
 
Join Date: Sep 2004
Posts: 15
Thank you for the help.

Reply With Quote
  #11  
Old 09-16-2004, 05:30 AM
Robcau Robcau is offline
Newbie
 
Join Date: Sep 2004
Location: Brugge - Belgium
Posts: 26
My opinion is that the host where you changing to have to inform and help you with that, if not it's not worth of your money! Support is a must have!

Reply With Quote
  #12  
Old 09-19-2004, 06:10 PM
Central Dispatch Central Dispatch is offline
Junior Guru
 
Join Date: Apr 2004
Location: Michigan
Posts: 178
Thanks. This is definately helpful.

Reply With Quote
  #13  
Old 09-22-2004, 01:48 PM
ultrameg ultrameg is offline
New Member
 
Join Date: Sep 2004
Posts: 3
Yep, thank you very much

Reply With Quote
  #14  
Old 10-13-2004, 03:56 AM
Alek Alek is offline
New Member
 
Join Date: Sep 2004
Posts: 0
Great hint joel!

Now all I have to do is to figure it out how to modify TTL's on the zone files.

Any sugestion? Im Using Plesk for *nix on both servers (5.0 and 7.1.x reloaded)

Reply With Quote
  #15  
Old 11-07-2004, 10:05 AM
PatsHost PatsHost is offline
New Member
 
Join Date: Nov 2004
Posts: 2
Dear hvoice-boris.

Thanks your posting. Very informative. I would print out a copy for future reference.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
2013 Hottest Hosts Directory Magazine 2013-02-22 13:26:00
Get listed in WHIR Magazine's 6th Annual Hottest Hosts Issue coming in January 2013 Blog 2012-12-28 11:03:01
Get listed in WHIR Magazine's 5th Annual Hottest Hosts Issue coming in January 2012 Blog 2011-10-18 18:35:27
Web Hosting Program We Stop Badware Starts Adding New Participants Web Hosting News 2011-08-26 16:57:00
GlowTouch CSO Michael Fountain Gives Blueprint for Turning Ideas into Products Web Hosting News 2011-08-10 23:29:24


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?