Domain without WWW. not working
johnno at nospam.casebook.org
Mon Mar 20 10:01:05 UTC 2000
<Administrator at NederWeb.com> wrote:
> > > Hello, I am trying to debug my RR info at granite canyon. When
> > > I type in http://mydomain.com it resolves to the correct IP, but if
> > > I type in http://www.mydomain.com it does not.
> > The zone file for your domain needs an entry like the following
> > (replace the bogus IP address with your real one):
> > www IN A 126.96.36.199
> www IN CNAME domain.com.
Yep, that'll work.
I generally tend to avoid using CNAMEs unless it makes sense to do so.
The above scenario is a legitamte use of a CNAME.
I generally don't give root domains an A record (unless specifically asked to
do so), in which case I always point www records to an IP address.
Johnno (johnno at nospam.casebook.org)
More information about the bind-users