hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Web Hosting Tutorials : Changing hosts with Almost NO Downtime Tip
Reply

Web Hosting Tutorials Tutorials related to shared hosting.
Forum Jump

Changing hosts with Almost NO Downtime Tip

Reply Post New Thread In Web Hosting Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-24-2004, 10:48 PM
vstore vstore is offline
Newbie
 
Join Date: Sep 2004
Location: Ottawa, Canada
Posts: 18
Arrow

Changing hosts with Almost NO Downtime Tip


Hi,

If you want to be able to move your website with almost NO downtime than the first thing you need to do is perform your DNS mgmt on a third party service and NOT using the DNS mgmt services (via cpanel) of your web hosting provider since changing DNS servers can take anywhere up to 36 hours.

I would recommend you open an account at sitelutions.com. They offer free DNS mgmt. Use your domain registrar's control panel to assign sitelutions nameservers as the nameservers for your domain(s). Then you need to create A,MX and CNAME records for any domains and subdomains with the IP addres being set to the IP address of our current web host's server.

Now if you need to change webhosts you can use the following steps to ensure as little downtime as possible.

1. About a day before you plan to move set the TTL to 60 seconds for all the DNS records (A,MX,CNAME, etc..) using your sitelutions DNS control panel. This way you can easily update the value of the DNS records when you change webhosts and within 60 seconds of changing the records the domain names will now resolve to your new host, but don't chane the record values yet

2. Transfer all your static files (ones that don't change with user access) to your new host through FTP.

3. Disable DB and dynamic file access features on your old host Post a nice message indicating why your doing this and that these service (forums, etc...) will be back up very soon.

4. Transfer your dynamic files and DBs to your new host and install them in the correct places.

5. Quickly test your new host is working fine by overiding your PCs DNS with the new host IP address (For a windows PC you would edit the file "C:\WINNT\system32\drivers\etc\hosts")

6. When you are satisified that your new host is working fine revert your PCs host file back to the default (delete the temporary overides) and then login to the DNS control panel at sitelutions and change the IP address of all records from that of the old host's server to the new host's server.

7. Smile since your new site is up and running on the new host with minimal downtime. In fact all your users saw is that all your dynamic features were temporarily disabled but your site really never went down. This is a great way to not lose customers, since what web visitors hate most is a site being down completly with no explanation. If some services are temporarily disabled with a good explanation most users will be more than satisfied.

8. You can also you this technique to quickly change to a backup host when your main host goes down and you don't even need to be able to login into to the old host to do that (Provided you makes nightly backups onto your backup host). Since some hosts just "go out of business" and leave you hanging this is a great way to ensure your business against that happening.

Please feel free to add any other tips you may have to this thread.

regards,

Sherif

Reply With Quote


Sponsored Links
  #2  
Old 11-17-2004, 12:41 AM
hsupport hsupport is offline
Newbie
 
Join Date: Aug 2004
Posts: 17
Very good information.. the only thing to add is that most ISP's do not follow the TTL for DNS records. So you will need to give yourself more time for the DNS to fully propogate as some ISP's can take a week or more to update fully.

Carmen Koop

Reply With Quote
  #3  
Old 11-26-2004, 04:55 AM
Seb Hurley Seb Hurley is offline
Newbie
 
Join Date: Nov 2004
Location: UK
Posts: 18
excellent tutorial. Thankyou very much, this will come in handy.!

~Seb

Reply With Quote
Sponsored Links
  #4  
Old 12-14-2004, 08:48 AM
Ekiken Ekiken is offline
Newbie
 
Join Date: Dec 2004
Posts: 13
hmm great tutorial.. good job..

Reply With Quote
  #5  
Old 02-25-2005, 08:29 AM
anusha2019 anusha2019 is offline
Newbie
 
Join Date: Feb 2005
Posts: 5
Great wordk dude! keep up the good wrk...

Anusha

Reply With Quote
  #6  
Old 02-28-2005, 01:22 AM
Shin Asuka Shin Asuka is offline
Web Hosting Evangelist
 
Join Date: Jul 2004
Posts: 518
Great Article, but now all registrars have instant nameservers changes.

Reply With Quote
  #7  
Old 03-01-2005, 01:10 PM
Telcovirtual Telcovirtual is offline
New Member
 
Join Date: Feb 2005
Location: Panama
Posts: 4
Good work , this will help me out to migrate some servers from one to another DC

Reply With Quote
  #8  
Old 03-07-2005, 04:39 PM
frankiee frankiee is offline
Web Hosting Master
 
Join Date: Dec 2003
Location: Montreal, Canada
Posts: 697
Thanks for the tip

Reply With Quote
  #9  
Old 06-06-2005, 05:49 AM
shreder shreder is offline
Junior Guru Wannabe
 
Join Date: Mar 2005
Posts: 53
Thanx! Will certainly try that!

Reply With Quote
  #10  
Old 06-15-2005, 12:47 AM
Rusty500 Rusty500 is offline
Junior Guru
 
Join Date: Apr 2003
Posts: 222
Very nice tutorial. Excellent post!


Last edited by Rusty500; 06-15-2005 at 12:54 AM.
Reply With Quote
  #11  
Old 06-15-2005, 02:59 PM
Zeeder Zeeder is offline
Newbie
 
Join Date: Jun 2005
Location: Cincinnati, Ohio
Posts: 19
I agree - Excellent post - lots of help!

Reply With Quote
  #12  
Old 07-07-2005, 01:34 AM
rachna rachna is offline
New Member
 
Join Date: Jul 2005
Posts: 1
Good tutorial

Really a nice tutorial. Good work vstore ........

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Living on the edge: why all hosts should offer CDN services Webinars 2012-10-17 15:54:32
Amazon Analysis Shows Software Bugs Lengthened AWS Weekend Outage Web Hosting News 2012-07-03 11:11:30
Twitter Blames First Major Outage in Six Months on Cascading Bug, Not Hackers Web Hosting News 2012-06-22 11:15:26
Leap Day Glitch Causes Windows Azure Cloud Downtime in US, Europe Web Hosting News 2012-02-29 16:27:38
Web Hosts Remain Online During San Diego Blackout Web Hosting News 2011-09-12 15:55:50


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?