Question : Conditional Redirect for IIS server

Up until now, I have always worked with Apache servers, I do not have any experience with a Windows IIS server. (This is a virtual server hosted by GoDaddy)

I have two domain names pointing to the same site.

I need to set up a permanent redirect of traffic from the second domain to index2.html, leaving the first domain going to index.html.

Answer : Conditional Redirect for IIS server

Not sure what version of IIS you are on, but you could use URL Rewrite if you're on IIS 7:

http://weblogs.asp.net/owscott/archive/2009/11/30/iis-url-rewrite-redirect-multiple-domain-names-to-one.aspx

Random Solutions  
 
programming4us programming4us