From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 12:58:40 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 046C237B401 for ; Mon, 9 Jun 2003 12:58:40 -0700 (PDT) Received: from cerebellum.za.net (cerebellum.za.net [196.34.172.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC07843FAF for ; Mon, 9 Jun 2003 12:58:38 -0700 (PDT) (envelope-from ian@cerebellum.za.net) Received: from [196.30.239.58] (helo=ian) by cerebellum.za.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.36 #1) id 19PSyp-000G5z-00; Mon, 09 Jun 2003 20:11:00 +0000 From: "Ian Barnes" To: Date: Mon, 9 Jun 2003 21:58:05 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <3EE50157.21389.758C0B6@localhost> cc: freebsd-questions@freebsd.org Subject: RE: Alternate websites X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 19:58:40 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Moritz Fromwald > Sent: 09 June 2003 09:51 PM > To: freebsd-questions@freebsd.org > Subject: Re: Alternate websites > > > > > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > 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