Simple question of dns?
hornetmadness at gmail.com
Wed Aug 10 17:58:07 GMT 2005
On 8/10/05, Carstea Catalin <carstea.catalin at gmail.com> wrote:
> I want to configure my dns to redirect all request from :
> http://www.mail.mydomain.com <http://www.mail.mydomain.com>
> Many users do first request and my server respond only al the second url.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
DNS will not do "redirects", that's a function of a web server.
You can do an aliases. The format would be like this in the zone file.
www.mail IN CNAME mail.domain.com.
So going to www.mail.domain.com is the same as using mail.domain.com.
The only time it is not good to do the above, is when your web server
is doing name based virtual hosting.
More information about the freebsd-questions