Domain/Zone Setup Question...

Tom Jones tjones at acworld.com
Mon May 29 01:20:29 UTC 2006


Ah, that makes sense...

Thanks!
tom



On May 28, 2006, at 6:16 PM, Danny Mayer wrote:

> Tom Jones wrote:
>> Hello,
>> I would like to know how to setup my domain so that if my web site is
>> www.example.com then apache would also answer http://example.com?
>>
>> I thought all I had to do is  ...
>>
>>
>> $ORIGIN example.com.
>> www			IN	CNAME		web.example.org
>> example.com.	IN	CNAME		www.example.com
>>
>> Is this correct?
>>
>
> No, you must never use CNAME at the domain level, it's illegal, see  
> RFC
> 1034. Use this:
>
> $ORIGIN example.com.
> www.example.com.	IN	CNAME		example.com
> @			IN	A		1.2.3.4
>
>
> Danny



More information about the bind-users mailing list