How to setup DNS to work without the "www" on shared hosting?

Simon Waters Simon at wretched.demon.co.uk
Thu Jan 10 02:02:48 UTC 2002


Gustavs Avotins wrote:
> 
> In the users area it has a simple DNS config tool and the settings
> are:
> 
> www.domain.com CNAME server0012.isp.com
> server0012.isp.com A 123.123.123.123
> 
> I tried adding
> 
> domain.com CNAME server0012.isp.com

No can do - a domain name can not have a CNAME and other data.

Presumably domain.com already got nameservers, and an SOA, and
maybe an MX, so a CNAME just isn't allowed.

You really have to use an A record here.

domain.com. A 123.123.123.123

 Simon 'CNAMEs are evil (usually)' Waters


More information about the bind-users mailing list