CNAME ?

D. Stussy spam at bde-arc.ampr.org
Fri Feb 29 04:43:07 UTC 2008


"Madison Kelly" <linux at alteeve.com> wrote in message
news:fq4sv9$49k$1 at sf1.isc.org...
> sasi-technique wrote:
> > Hi,
> > I'm quite new  in Bind configuration so I hope someone can answer this.
In
> > Bind DNS entrie, Is there a way to do this :
> >
> > When people tape http://domain.com redirect to http://www.domain.com ?
> >
> > Thanks in advance.
> >
> > Best regards,
> > F. Sabino
>
> If I understand your question (guessing by the subject), then no, CNAME
> will not do this. As others have suggested, you're web server will have
> to do this. Personally, I create a virtual host container and symlink
> it's document root to the the virtual host container I have my real
> data, but this may or may not work for you (it will not change the url).
> Regardless, that is outside the scope of this mailing list.

Actually, for the DNS-HALF of the solution, a CNAME will work, but it has to
be "www IN CNAME @" (and the zone name itself has an address record t the
web server).




More information about the bind-users mailing list