Solved

Redirecting domain names in IIS 7

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
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 …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

770 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