[Zope] OT: Apache VirtualHost and subdomains

Jaroslav Lukesh lsh@wo.cz
Fri, 18 Oct 2002 08:32:39 +0100


| Odes=EDlatel: Jo Meder <jo@meder.de>
| Am 17.10.2002, 21:12 Uhr
| 	schryb Jan Ulrich Hasecke <janulrich.hasecke@web.de>:
| > How do I do this with the virtual-host rules?
| >=20
| > ServerName solinger.buergerportal.de
| > or
| > ServerAlias solinger.buergerportal.de
| >=20
| > does not work.
|=20
| Just a guess: Are you sure that your DNS-entry for
| solinger.buergerportal.de is ok? I get
|=20
| Host solinger.buergerportal.de not found: 3(NXDOMAIN)
|=20
| As long as apache can't resolve the name your virtual host will not
| work.

I have one tip: use wildcard domain configuration, like this:

@		IN	A	ipadress
www		IN	A	ipadress
*		IN	CNAME	www

and you will be out of all "DNS refresh" timeout problems.

Regards JL.