LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-03-2007, 10:11 PM   #1
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
Router interception on server down


Here is a quick question that seems like it should be rather easy, but I am not sure of the best way to do it.

Say you go to a website, and it has some text stating that "the server is currently down for maintenance, please come back later."

How do I get it so that when my server is down for maintenance, it displays something like that?

I have a Linksys WRT54G Router and I was thinking that when it forwards port 80 to my web server, if the server is down, it would not forward and would instead it would display that maintenance page?

Thanks for your help in advance!

Kris
 
Old 12-03-2007, 10:40 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Some CMS systems have that functionality built in. the site admin can take down the site and it will automatically provide that message when the site is offline. not sure how you would do it with an external device without any re-configuration of that device to point at a different web server...
 
Old 12-04-2007, 12:24 AM   #3
mat2ag
LQ Newbie
 
Registered: Aug 2002
Distribution: Slackware,Redhat
Posts: 17

Rep: Reputation: 0
you can use dnat to this for you and redirect traffic to another host manually or you can use some load balancing system to this automatically.

Last edited by mat2ag; 12-04-2007 at 12:26 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL Interception LinuxGeek Linux - Security 13 01-05-2008 09:08 PM
configure redhat enterprise server 4 as Router and Proxy server amdattani Linux - Networking 0 06-15-2006 05:50 AM
RH8 server is NAT router, but getting a new router. WorldBuilder Linux - Networking 1 06-08-2006 05:54 PM
packet interception, server administration etc. youneedaclue Linux - Networking 3 06-27-2004 05:14 PM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration