Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Webmaster Resources Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Webmaster Resources Discussion Forum Sitemaps and robots and logfiles -- Oh My! If you have any questions, comments, concerns and/or ideas about the tools currently available to webmasters to make their lives... 'easier'. Here's where you need to be. Know of a good tool? Post it here. Got something funny in your logfiles? Maybe we can help.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-24-2008, 02:20 PM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,843
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default Planning for scheduled maintenance

In the very near future, I will upgrade Apache and a few of the other applications on one of my servers. My question is how can I do this upgrade so that there will be minimal disruption for the search engine spiders, and so that visitors would be able to see an appropriate message about the redesign, instead of an error message from their browsers?

I know that I would need to set up an alternate server, and probably use DNS to redirect traffic to the new server, but can this be done "instantly" - change a setting when the maintenance starts, and flip it back on completion?
__________________
The best way to learn anything, is to question everything.

Last edited by wige : 06-24-2008 at 02:22 PM.
Reply With Quote
  #2 (permalink)  
Old 06-24-2008, 02:26 PM
crankydave's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Aug 2004
Location: Playing with fire!
Posts: 3,057
crankydave RepRank 4crankydave RepRank 4crankydave RepRank 4
Default Re: Planning for scheduled maintenance

DNS change should work fine. Put a copy of the site on a different server then flip the switch. It can take the web a bit to catch up but for the most part, it's about as instant as you can get. Then change the DNS back when you're done. Much the same way one might do an entire site rebuild.

Dave

Last edited by crankydave : 06-24-2008 at 02:31 PM.
Reply With Quote
  #3 (permalink)  
Old 06-24-2008, 05:46 PM
craigmn3's Avatar
WebProWorld Veteran
 

Join Date: Jan 2004
Location: California
Posts: 331
craigmn3 RepRank 1
Default Re: Planning for scheduled maintenance

I had to do this twice in a row a little bit ago.

using a quality hosting service, create a hosting account with a temporary url...and upload your updated sight to this url. Then when it's bullet proof and ready to go, use the DNS to change the name servers and the transition SHOULD be seemless


I just saw Dave's post...so I guess I am agreeing with Dave ;o)

Last edited by craigmn3 : 06-24-2008 at 05:50 PM.
Reply With Quote
  #4 (permalink)  
Old 06-24-2008, 06:57 PM
WebProWorld Member
 

Join Date: Mar 2005
Posts: 71
subsystems RepRank 0
Default Re: Planning for scheduled maintenance

Since you will be "Upgrading Apache" it is clear to me that you have your own in-house server.
Assuming the webserver is only a webserver you could grab any old machine and make a temporary server with the same IP address. Setup the site(s) so that any traffic to the temp. server will get the Scheduled Maintenance page.

Maybe use a 307 Temporary Redirect to get to the Maintenance page.

I'd then shutdown the server neading upgrading and turn on the temp server. Visitors and spiders would then get a friendly message that the site is down for maintenance. Since it would be a 307 temporary redirect, the spiders would continue to look for the proper urls in the future.

The problem I see with involving the DNS and making changes is the update delay. Many visitors pre-update will get an error message and so will the spiders. The temp server and 307TR method avoids this.
Reply With Quote
  #5 (permalink)  
Old 06-24-2008, 07:08 PM
WebProWorld Member
 

Join Date: Mar 2005
Posts: 71
subsystems RepRank 0
Default Re: Planning for scheduled maintenance

Sorry my post is not a detailed as I would normally have been. Kinda busy at the moment. I think you get the idea.

It does accomplish the "instant switch" you are looking for.

Since the "other applications" were not mentioned, my assumption is that you are not as concerned about continued functionality of those apps. during the upgrade.

If you don't have an old server laying around you could take a desktop pc or even a laptop and throw a spare drive in it that you can format to get the temp server running. Then when done just swap the drive back in the desktop or laptop and you are right back to where you were before.
Reply With Quote
  #6 (permalink)  
Old 06-25-2008, 07:02 AM
edhan's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Singapore
Posts: 581
edhan RepRank 1
Default Re: Planning for scheduled maintenance

Quote:
Originally Posted by wige View Post
In the very near future, I will upgrade Apache and a few of the other applications on one of my servers. My question is how can I do this upgrade so that there will be minimal disruption for the search engine spiders, and so that visitors would be able to see an appropriate message about the redesign, instead of an error message from their browsers?

I know that I would need to set up an alternate server, and probably use DNS to redirect traffic to the new server, but can this be done "instantly" - change a setting when the maintenance starts, and flip it back on completion?
If you have control over the nameservers then it should be with no disruption when you do the upgrading. For me, having a few servers, I simply point it to another server while upgrading and then repoint it back to the server again. Everything is transparent without any disruption.
Reply With Quote
  #7 (permalink)  
Old 06-25-2008, 11:17 AM
WebProWorld Pro
 

Join Date: Apr 2008
Location: Toronto On., Ca.
Posts: 277
Terry Van Horne RepRank 2
Default Re: Planning for scheduled maintenance

Depending on the legth of downtime SE's are not a problem unless you are down a prolonged period, I've seen literally a week pass and there were no problems. That may be affected by the trust the SE puts in your site.

I agree with crankydave you want to have both sites running at first as intenet domain records are cached on some servers longer than others. I generally try to give it at least two weeks. I also use a live/development sites setup so if there is a malfunction or problem you can roll back easily by just flipping a switch. That makes a rollout or update less stressful.
Reply With Quote
  #8 (permalink)  
Old 06-25-2008, 11:26 AM
WebProWorld Pro
 

Join Date: Apr 2008
Location: Toronto On., Ca.
Posts: 277
Terry Van Horne RepRank 2
Default Re: Planning for scheduled maintenance

Quote:
Originally Posted by subsystems View Post
Maybe use a 307 Temporary Redirect to get to the Maintenance page.
What is a 302 Temporary Redirect? Alan perkins is one of the smartest guys I've had the pleasure of speaking SEs with. Please consider that using 302 and 307 are likely two of the riskiest response codes used for highjacking sites. I would not suggest any use of either... especially if sleep is important to you

I will not list on sites that use 302 because that is a huge vulnerability I've never believed was entirely closed.

Last edited by Terry Van Horne : 06-25-2008 at 11:31 AM.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Webmaster Resources Discussion Forum


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduled Downtime mike WebProWorld: Guidelines/Announcements/Suggestions 25 05-21-2007 07:54 PM
Yahoo DTC Maintenance: The Never Ending Story WPW_Feedbot Search Engine Optimization Forum 0 10-18-2005 02:00 PM
Web Maintenance/Warehouse Mgr StevenAllen Services for Sale/Hire 0 08-26-2005 06:49 PM
Home Maintenance/Plumbing Link Exchange cybermed Marketing Strategies Discussion Forum 2 07-24-2004 09:02 AM
Do Maintenance Contracts Help Manage Client Relations? greeneagle Graphics & Design Discussion Forum 2 04-08-2004 11:01 AM


Search Engine Optimization by vBSEO 3.2.0