Solved

Redirecting domain names in IIS 7

Posted on 2009-07-07
2
245 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Determine Server Specs for IIS.7 Website 4 68
Exchange 2013 certificate error 3 38
PHP 5.6 and 7.x 4 39
HTTPS for signup & login - HTTP for all other pages 10 50
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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