From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 13:11:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B277437B408 for ; Mon, 9 Jun 2003 13:11:53 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 027B443F85 for ; Mon, 9 Jun 2003 13:11:48 -0700 (PDT) (envelope-from mfromwald@gmx.at) Received: (qmail 24680 invoked by uid 65534); 9 Jun 2003 20:11:46 -0000 Received: from unknown (EHLO menterg) (62.178.160.230) by mail.gmx.net (mp016) with SMTP; 09 Jun 2003 22:11:46 +0200 From: "Moritz Fromwald" To: "Ian Barnes" , freebsd-questions@freebsd.org Date: Mon, 09 Jun 2003 22:11:51 +0200 MIME-Version: 1.0 Message-ID: <3EE50627.26719.76B8F04@localhost> Priority: normal In-reply-to: References: <3EE50157.21389.758C0B6@localhost> X-mailer: Pegasus Mail for Windows (v4.11) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: RE: Alternate websites X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mfromwald@gmx.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 20:11:54 -0000 From: "Ian Barnes" To: Copies to: Subject: RE: Alternate websites Date sent: Mon, 9 Jun 2003 21:58:05 +0200 > > From: "Ian Barnes" > > To: > > 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