Alternate websites

Moritz Fromwald mfromwald at gmx.at
Mon Jun 9 13:11:54 PDT 2003



From:           	"Ian Barnes" <ian at cerebellum.za.net>
To:             	<mfromwald at gmx.at>
Copies to:      	<freebsd-questions at freebsd.org>
Subject:        	RE: Alternate websites
Date sent:      	Mon, 9 Jun 2003 21:58:05 +0200

> > From:           	"Ian Barnes" <ian at cerebellum.za.net>
> > To:             	<freebsd-questions at freebsd.org>
> > 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


More information about the freebsd-questions mailing list