Resolving domain.com > www.domain.com.

Galen Johnson gjohnson at eduprise.com
Tue Jun 12 17:02:23 UTC 2001


Richard wrote:
> 
> G'Day,
> 
> Is it possible to direct http://domain.com to http://www.domain.com ?,
> I have tried adding a CNAME entry to do this but get an error when I
> reload. Is this possible to achieve and if so How.
> 
> Any comments or suggestions.
> 
> Richard.
I'm guessing you have an entry similar to the following:

domain.com.	3600	IN	CNAME	www

www	3600	IN	A	some.ip.is.here

this will not work as you cannot CNAME your domain.  I'd recommend this

domain.com.	3600	IN	A	some.ip.is.here ; same ip as www

www	3600	IN	A	some.ip.is.here

that should always work.

=G=


More information about the bind-users mailing list