I have an asp.net application deployed under IIS 7.5 Version with several sub domains under it. I would like to redirect a particaular subdomain to another url.
For example:
www.domain1.com/a
www.domain1.com/b
The above urls should work fine.
www.domain1.com/c
should be redirected to www.domain2.com
How can i achieve this?
Update on my requirement: I have same application deployed for several users (a, b, c) with same application pool. I would like to have redirect for only user c.
I got it working by using rewrite module.
I have updated web.config as follows :