[Zope] Virtual hosting on Linux: what's needed in BIND?

Petru Paler ppetru@coltronix.com
Sun, 25 Jun 2000 11:00:52 +0300


On Sun, Jun 25, 2000 at 12:16:18AM -0700, Hung Jung Lu wrote:
> For Zope/SiteAccess to work with virtual hosting, something needs to be done 
> at the Linux BIND level. But I would like to know what exactly. Is it as 
> simple as adding a whole bunch of cname lines into the database file?

Yes.

> Also, is it possible to use wildcards in the database file for BIND? I mean, 
> if you have many virtual sites, would it be possible (and wise?) to make it 
> so all requests like *.mysite.com point to the Zope server? 

Yes, something like
*	IN	CNAME (or A, if you wish)	your IP

-Petru