Asp.net url rewriting and domain redirection
Posted
by
GregM
on Stack Overflow
See other posts from Stack Overflow
or by GregM
Published on 2012-01-31T16:54:21Z
Indexed on
2012/04/10
11:29 UTC
Read the original article
Hit count: 338
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
© Stack Overflow or respective owner