Asp.net url rewriting and domain redirection
- by GregM
I have a domain "test.com" and I want this domain to redirect to "mydomain.com/test". I'm with 1and1 for my domain test.com and with discountAsp for mydomain.com.
In the control panel of 1and1 you can set a redirection from a domain to another domain, so everything is fine.
But when i'm on the page mydomain.com/test I want my url to be rewritten as test.com
Is this possible to do that with IIS or in my asp.page (would prefer in my page)
I'm using iis7
Thanks