[Xitami] Two VHOSTS using same configuration file?

Russel Olinger xitami@lists.xitami.org
Mon, 6 May 2002 10:55:09 -0700


I believe you can solve these issues with proper DNS configs.  I have three
domains sharing the same cfg file:

Xitami Defaults.cfg file:
www.domain.com=domain.cfg
www.domain.net=domain.cfg
www.domain1.com=domain.cfg

But from with in the Alias section for the domain.cfg file you can set
preferences pertaining that address each domain indepently.  But it gets
kind of tricky.

In the DNS I simply have three forward records and of course, only one
reverse record (which is the authority record).  The source/reverse record
is the address that will respond to the clients browser and then the clients
browser will begin talking to the new forward address that matches the
reverse address.

Forward:
www.domain.com    A    192.168.10.10
www.domain.net      A    192.168.10.10
www.domain1.com  A    192.168.10.10

Reverse:
192.168.10.10    SOA    www

----- Original Message -----
From: "Alasdair Macdonald" <alimac@netcomuk.co.uk>
To: <xitami@lists.xitami.org>
Sent: Monday, May 06, 2002 5:55 AM
Subject: Re: [Xitami] Two VHOSTS using same configuration file?


> I had some problems with folks having difficulty establishing ftp
connection, and I
> believe I traced the problems to multiple vhosts sharing the same cfg
files. I've yet
> to see any other reports of this on this list.
>
> Alasdair
>
> On 6 May 2002 at 8:30, Dwaine Gonyier wrote:
>
> > Is this allowed?
> > I have two DNS names that I want to refer to the  same web pages, etc.
> > I would rather have both vhosts point to the same set of cfg files
> > rather than maintain two separate but identical cfg files. Is sharing
> > a cfg file between two VHOSTS supported? The documentataion wasn't
> > very clear on this.
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
>