Solved

Redirecting domain names in IIS 7

Posted on 2009-07-07
2
251 Views
Last Modified: 2012-05-07
I have several domain names all point to the same IP as one of our sites. I want to configure these domain names to redirect (301) to one of my domains. For example I want site1.com and site2.com to redirect to www.site.com.  Any help would be appreciated.

FYI: I did this in IIS 6 and had no problems by simply adding a site leaving the ip address all unassigned pointing the path of the real site then doing the redirect on the home directory tab. When I try the same steps in IIS 7 I have binding issues.

Thank you,
0
Comment
Question by:tbonehwd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Expert Comment

by:djpazza
ID: 24798745
There is an http redirection module in iis7, if you can not see an icon for it then you may need to install it.  In windows features window goto - IIS - World Wide Web Services - Common HTTP features - tick http redirection.

0
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 500 total points
ID: 24842563
"FYI: I did this in IIS 6 and had no problems by simply adding a site leaving the ip address all unassigned pointing the path of the real site then doing the redirect on the home directory tab. When I try the same steps in IIS 7 I have binding issues"

You can do exactly the same thing in IIS 7 but you left out a step - you have to set an appropriate Host Header for the site or you will get binding issues.

Dave Dietz
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
What You Need to Know when Searching for a Webhost Provider
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question