Solved

Redirecting domain names in IIS 7

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
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…

789 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