Setting up bindings / redirects on IIS7
Posted on 2009-12-16
I have IIS7 running on my server, along with Exchange. IIS is hosting a Default Web Site, which contains items such as OWA and so on. The bindings on this a just as standard and handle all incoming traffic not handled by the second website I have set up (more on this later).
The server is also part of my local domain, and can be accessed via "server.domain.local" or "domain.local".
In the DNS of my "external" .com domain, I have an A record mail.domain.com. I would like this domain to go straight to OWA, which as mentioned is an application under the default web site. How can I do this?
The second website set up has a number of applications under it. I am currently accessing this through a subdomain (sub.domain.com). The applications are accessed via sub.domain.com/applicationname.
This website is accessed internally and externally, although for internal access, I am having to enter the .com address. I want to be able to access this website and related applications in the manner of "sub.server.domain.local" or even better "sub.domain.local".
How can I do this? If I access "domain.local " at the moment, I just get the default web site IIS7 page, and visiting sub.domain.local (even with a binding added for the site) I get an error.