how to allow domain.com as well as www.domain.com ?

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Jun 15 23:49:26 UTC 1999


	This won't work as domain.com is a delegated zone and hence
	the CNAME and OTHER rules come into play.

	You need to add a A record at the to of the zone with the same
	IP address as www.domain.com.  You can then, if you want, make
	www.domain.com a CNAME that points to domain.com.

	domain.com.	IN A	 XX.XX.XX.XX
	www.domain.com. IN CNAME domain.com.

	Mark

> In the zone file for domain.com.
> 
> domain.com. in cname www.domain.com.
> 
> Heewoon Chung wrote:
> > 
> > How do I set up an alias domain.com for a host www.domain.com?
> > 
> > So that poeple can reach the host by either http://domain.com or
> > http://www.domain.com.
> > 
> > Thanks in advance.
> > 
> > - Heewoon
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list