Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 03-15-2009, 01:11 PM
luckyroadking luckyroadking is offline
Hatchling Croc
 
Join Date: May 2008
Posts: 40
Default Need Seemless Move to Dedicated Server

I have a social network which is growing and I want to move from my HG shared account to a HG dedicated server (before it gets too big and my members notice performance drop).

I know when you change servers and dns it takes a while to propagate and some users see the old server and some the new for a short period of time. This would be a problem on my social network because user entered content would wind up in both databases.

How can I make a "clean break"... where from the time I go live on the new server, no users will hit the old server?

Any advise is appreciated as always.
Reply With Quote
  #2  
Old 03-15-2009, 01:45 PM
GvilleRick's Avatar
GvilleRick GvilleRick is offline
Emperor Croc
 
Join Date: Jan 2007
Location: Greenville, SC
Posts: 3,130
Default Re: Need Seemless Move to Dedicated Server

I don't know that it is possible to make it where no users hit the old server since some may have ISPs that cache IP addresses or pages, etc. You could ask support if they could modify the DNS Zone on your domain to have a short TTL time before you move the account. Then I would consider disabling the database and having a page saying that you are moving to a new server to improve performance. Move everything and change the DNS so that if folks see the new server they will be able to post, etc. but if they see the old server it will have the "Moving...." message.
Reply With Quote
  #3  
Old 03-15-2009, 01:50 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Need Seemless Move to Dedicated Server

You're already doing the most important thing--planning and preparation.

While there are several theoretical methods for a seamless transition, you may want to consult HG support about your options because a lot will depend on which apps you run.
Reply With Quote
  #4  
Old 03-15-2009, 02:22 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,558
Default Re: Need Seemless Move to Dedicated Server

In your site's root folder (public_html) make a subdirectory named moving.site
In that folder make a file index.html, saying something like "We are moving our site, please come back later".

You can test it using url: http://YourSite.com/moving.site/

When HG starts to move your site you make a .htaccess file in your site's root folder:
Code:
RedirectMatch .* http://YourSite.com/moving.site/
Options -Includes -Indexes -ExecCGI
What GvilleRick said about the TTL value in your domain's DNS zone is a good to do.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #5  
Old 03-15-2009, 11:35 PM
luckyroadking luckyroadking is offline
Hatchling Croc
 
Join Date: May 2008
Posts: 40
Default Re: Need Seemless Move to Dedicated Server

Thanks everyone for the input. Sounds like I can't get true seemless, but at least I am doing it early enough in the sites growth that it won't effect all that many users.
Reply With Quote
  #6  
Old 03-15-2009, 11:42 PM
striddy's Avatar
striddy striddy is offline
Veteran Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 4,093
Default Re: Need Seemless Move to Dedicated Server

Quote:
Originally Posted by luckyroadking View Post
Thanks everyone for the input. Sounds like I can't get true seemless, but at least I am doing it early enough in the sites growth that it won't effect all that many users.
As GvilleRick and quietFinn mentioned, have HG reduce the TTL on the zone to 60 a week prior to the changeover. Then it should be almost seamless. Don't forget to reset the TTL once the changeover has been made.
__________________
- David
Reply With Quote
  #7  
Old 04-02-2009, 10:46 PM
ronniead ronniead is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 42
Default Re: Need Seemless Move to Dedicated Server

Hi,

I'm in a similar situation. I was thinking of having my old site, redirect to the new website by IP address. That way as soon as they go to the old site, it will automatically substitute the domain name with the IP address of the site...once the propegation of dns hits, then it will be business as usual.

I'm not sure if it's a good idea or not, and exactly how to implement it. So if anyone has ideas...would love to hear them!?
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 06:24 PM.