CNAME ?
Jonathan Petersson
jpetersson at garnser.se
Thu Feb 28 00:58:53 UTC 2008
Speaking of which, wasn't there a thread just a few days ago why not to
have any A records for "domain.com", so neither of this would be the best.
Sabio, if you're running Apache you probably want to have a look at
VirtualHost http://httpd.apache.org/docs/1.3/vhosts/
Good luck!
Madison Kelly wrote:
> 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.
>
> What CNAME (Canonical NAME) does is say to BIND, "return the IP address
> for 'domain.com.' when someone requests the IP for 'www.domain.com.'."
> As opposed to an 'A' record which is the specific IP address to resolve.
>
> Madi
>
>
More information about the bind-users
mailing list