Alternate websites

2003-06-09 Thread Ian Barnes
Hi,

I have an idea. I dont know if it is possible, but here goes.

First my server layout.

Server 1
---
* Primary DNS
* Mail
* Web Server

Server 2
---
* Secondary DNS


Right, what I would like is that if server one goes down, it will redirect
web trafic to Server 2, displaying a This site is temporarily offline
page.  Is this possible, and could someone help me to get it right. And
could Server 2 display an error page according to the specific website that
the user is visiting ?

Thanks for the help.

Ian Barnes

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Alternate websites

2003-06-09 Thread Moritz Fromwald


From:   Ian Barnes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date sent:  Mon, 9 Jun 2003 20:42:15 +0200
Subject:Alternate websites

 Hi,
 
 I have an idea. I dont know if it is possible, but here goes.
 
 First my server layout.
 
 Server 1
 ---
 * Primary DNS
 * Mail
 * Web Server
 
 Server 2
 ---
 * Secondary DNS
 
 
 Right, what I would like is that if server one goes down, it will
 redirect web trafic to Server 2, displaying a This site is
 temporarily offline page.  Is this possible, and could someone help
 me to get it right. And could Server 2 display an error page according
 to the specific website that the user is visiting ?
Sure it is, look at mod_backhand for apache 
(http://www.backhand.org/mod_backhand/)
pound (front webserver)
Pen (TCP Balancing) (http://siag.nu/pen/)

 
 Thanks for the help.
 
 Ian Barnes

Regards 
moritz fromwald

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Alternate websites

2003-06-09 Thread Ian Barnes


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Moritz Fromwald
 Sent: 09 June 2003 09:51 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Alternate websites




 From: Ian Barnes [EMAIL PROTECTED]
 To:   [EMAIL PROTECTED]
 Date sent:Mon, 9 Jun 2003 20:42:15 +0200
 Subject:  Alternate websites

  Hi,
 
  I have an idea. I dont know if it is possible, but here goes.
 
  First my server layout.
 
  Server 1
  ---
  * Primary DNS
  * Mail
  * Web Server
 
  Server 2
  ---
  * Secondary DNS
 
 
  Right, what I would like is that if server one goes down, it will
  redirect web trafic to Server 2, displaying a This site is
  temporarily offline page.  Is this possible, and could someone help
  me to get it right. And could Server 2 display an error page according
  to the specific website that the user is visiting ?
 Sure it is, look at mod_backhand for apache
 (http://www.backhand.org/mod_backhand/)
 pound (front webserver)
 Pen (TCP Balancing) (http://siag.nu/pen/)

 
  Thanks for the help.
 
  Ian Barnes

 Regards
 moritz fromwald

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



Hi,

thanks for the reply. I dont think i was clear enough in my previous
description, sorry bout that.

What i would like is not load balancing, but that when the main server goes
down (and only then), does it forward to an error page on the secondary
server, until the main server has come back up again.

Thanks for the help.

Ian

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Alternate websites

2003-06-09 Thread Moritz Fromwald


From:   Ian Barnes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Copies to:  [EMAIL PROTECTED]
Subject:RE: Alternate websites
Date sent:  Mon, 9 Jun 2003 21:58:05 +0200

  From:   Ian Barnes [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Date sent:  Mon, 9 Jun 2003 20:42:15 +0200
  Subject:Alternate websites
 
   Hi,
  
   I have an idea. I dont know if it is possible, but here goes.
  
   First my server layout.
  
   Server 1
   ---
   * Primary DNS
   * Mail
   * Web Server
  
   Server 2
   ---
   * Secondary DNS
  
  
   Right, what I would like is that if server one goes down, it will
   redirect web trafic to Server 2, displaying a This site is
   temporarily offline page.  Is this possible, and could someone
   help me to get it right. And could Server 2 display an error page
   according to the specific website that the user is visiting ?
  Sure it is, look at mod_backhand for apache
  (http://www.backhand.org/mod_backhand/)
  pound (front webserver)
  Pen (TCP Balancing) (http://siag.nu/pen/)
 
  
   Thanks for the help.
  
   Ian Barnes
 
  Regards
  moritz fromwald

 Hi,
 
 thanks for the reply. I dont think i was clear enough in my previous
 description, sorry bout that.
 
 What i would like is not load balancing, but that when the main server
 goes down (and only then), does it forward to an error page on the
 secondary server, until the main server has come back up again.
 
 Thanks for the help.
 
 Ian
 
Hi,
Well, at least pound is able to have a heartbeat function, have a 
closer look!
greez
moritz fromwald
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]