![]() |
Force Browser to request for another domain using DNS?
If browser requests for www.foo.com then I want to send back a DNS response (answer) to the browser which would make browser to ask request DNS entry for www.bar.com. This time if I see request for www.bar.com, I would let it follow through and let the DNS system reply with 'A' record for www.bar.com.
In short I want to force browser to go to another domain using DNS. I referred CNAME record but it does not seem possible to achieve this using CNAME records. Can you please suggest something? Can it be done using DNS or would I have to look for another technique. |
you can do that using DNS if your DNS server will allow you to remove all A records and leave only CNAME.
otherwise you can use redirection in .htaccess file (and that's prolly better idea) |
| All times are GMT +1. The time now is 05:38 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.