http redirection in bind

Alex R alex at deviousmeans.net
Tue Jan 11 13:39:31 UTC 2005


> >  Then how the dns hosting providers gives http
> >  redirection option ?
> 
> 	They run a web server and do the HTTP redirection within the
> webserver.  Or they publish a CNAME record in the DNS for you.
> 

Unfortunately that does not work in many cases because of name based vhosts.
If I have blah.com CNAME'd to foo.com and the webserver does not have a
vhost for foo.com blah.com will not work because the webserver will default
onto its default vhost.



More information about the bind-users mailing list