I have multiple domains that redirect to the same website. Example http://www.abc.com and http://www.def.com both redirect to http://www.abc.com. What I want is even if user types http://www.def.com in the browser address bar it should show http://www.abc.com in the browser bar.
My website is in .NET and hosted on IIS6.
Thanks!!!
You will need to use a rewriting tool such as Ionics – http://iirf.codeplex.com/.
Alternatively you could write some code that detects the domain and redirects with the right response code, a 302 is best for seo.