473,473 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Friendly page when web server is down for maintenance

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!!
Nov 19 '05 #1
4 1945
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

Nov 19 '05 #2
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/

Nov 19 '05 #3
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" <Di*******@discussions.microsoft.com> wrote in message
news:29**********************************@microsof t.com...
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!!

Nov 19 '05 #4
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
Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tim Marshall | last post by:
Originally posted with Comp.lang.php spelt stupidly incorrectly. Please accept my apologies for the resultant multi-post.... Hi, I'm cross posting to comp.infosystems.www.authoring.html and...
7
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard...
8
by: dmiller23462 | last post by:
My brain is nuked....Can anybody tell me right off the bat what is wrong with this code? Along with any glaring errors, please let me know the syntax to display a message (Response.Write would be...
1
by: weiwei | last post by:
HI I am having a problem with print friendly function with asp, I have download some code regard with print friendly, it works fine with static html information, however, I have the dynamic pages...
3
by: vikramp | last post by:
Hi, I want to know how to setup the "Under Maintenance" page for the website? Here is the thing: I have application setting in web.config called "MMode". I set it to "Y" when I need to do...
6
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, We have two sites hosted on different servers and we have many pages on domain A which has many links(asp programs) to domain B. My question is if domain B server is in trouble, what is...
1
by: Dave Rado | last post by:
Hi A while ago I discovered a way of creating css pseudo-frames, that offer users the important benefits of real frames (i.e. the navigation remains visible when you scroll down the page), but...
15
by: Prisoner at War | last post by:
Okay, I'd like to create a print-friendly website, so I've been reading up on how to create print-friendly pages (without duplicating my site, of course, by having separate versions of each...
4
by: Mike Gleason jr Couturier | last post by:
Hi, What's a clean way to redirect users on an information page while doing site maintenance... Can we do it with urlMappings !? (wildcard "*"?) Thanks
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.