Conditional Redirect for IIS server

David Brugge
David Brugge used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
SharePoint Engineer
Commented:
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

I'm way up to my ears in another project right now, so I haven't had time to pursue your suggestion.
Thanks for your suggestion and if I have problems, I'll repost.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial