Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Friendly page when web server is down for maintenance

Reply
Thread Tools

Friendly page when web server is down for maintenance

 
 
=?Utf-8?B?RGlmZmlkZW50?=
Guest
Posts: n/a
 
      07-06-2005
Hello All,

How can one be redirected to a friendly page when web server is down for
maintenance or daily builds?

One technique I tried was reading from a configuration file and redirecting
the users to a different page. But since the configuration file and the
webform which reads it are both part of application , this technique would
fail to redirect when web server is down.

Any pointers on how to accomplish this with no failover or redundant
server(no hardware upgrade)?

Thanks!!
 
Reply With Quote
 
 
 
 
intrader
Guest
Posts: n/a
 
      07-06-2005
On Wed, 06 Jul 2005 11:07:03 -0700, Diffident wrote:

> Hello All,
>
> How can one be redirected to a friendly page when web server is down for
> maintenance or daily builds?
>
> One technique I tried was reading from a configuration file and redirecting
> the users to a different page. But since the configuration file and the
> webform which reads it are both part of application , this technique would
> fail to redirect when web server is down.
>
> Any pointers on how to accomplish this with no failover or redundant
> server(no hardware upgrade)?
>
> Thanks!!

The best that I have done about this problem is to detect via javascript
that the response indicates that the server is down and replace the entire
body with your own at the client

 
Reply With Quote
 
 
 
 
jasonkester
Guest
Posts: n/a
 
      07-06-2005
We keep a second web site configured just for maintenance. It has our
maintenance message, and some of the static portions of the site. When
it comes time to deploy, we stop production and start the maintenance
site. Once the deploy is finished, we just flip back to production.

Good luck!

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

 
Reply With Quote
 
Robbe Morris [C# MVP]
Guest
Posts: n/a
 
      07-06-2005
Define "web server down"?

If the server is really down, how would you expect
any option to work?

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net

Earn $$$ money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp



"Diffident" <> wrote in message
news:29B9D216-EC2B-46A2-8E80-...
> Hello All,
>
> How can one be redirected to a friendly page when web server is down for
> maintenance or daily builds?
>
> One technique I tried was reading from a configuration file and
> redirecting
> the users to a different page. But since the configuration file and the
> webform which reads it are both part of application , this technique would
> fail to redirect when web server is down.
>
> Any pointers on how to accomplish this with no failover or redundant
> server(no hardware upgrade)?
>
> Thanks!!



 
Reply With Quote
 
Amedee Van Gasse
Guest
Posts: n/a
 
      07-07-2005
Diffident shared this with us in
microsoft.public.dotnet.framework.aspnet:

> Hello All,
>
> How can one be redirected to a friendly page when web server is down
> for maintenance or daily builds?
>
> One technique I tried was reading from a configuration file and
> redirecting the users to a different page. But since the
> configuration file and the webform which reads it are both part of
> application , this technique would fail to redirect when web server
> is down.
>
> Any pointers on how to accomplish this with no failover or redundant
> server(no hardware upgrade)?
>
> Thanks!!


With no redundant server? When the webserver is really down? Can pigs
fly?

Your spare server can be a really cheap box with a static page that
only says "sorry we're closed for maintenance". Hey, you can even run a
few static web pages on those home broadband routers from Linksys! They
come for less than 80€ or cheaper.

When it is maintenance time, you simply change the dns entry from your
real web server to your cheapo spare box.

--
Amedee Van Gasse
 
Reply With Quote
 
 
 
Reply

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup Under Maintenance page for asp.net website vikramp ASP .Net 3 05-04-2007 06:13 PM
Friendly Urls with page title in (eg. page-title.aspx) anthonykallay@googlemail.com ASP .Net 1 04-24-2007 08:25 AM
Please help - how to create a Printer Friendly web page... =?Utf-8?B?VGlnZ2Vy?= ASP .Net 2 11-10-2004 01:15 PM
Mike's Maintenance Page Ben Computer Support 8 12-05-2003 07:27 PM
Mike's Maintenance Page WeeWilly Computer Support 135 10-28-2003 10:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57