Setting up bindings / redirects on IIS7

Posted on 2009-12-16
Last Modified: 2012-05-08
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  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 (  The applications are accessed via  

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.
Question by:pipelineconsulting
    LVL 13

    Expert Comment

    For your first question, ensure the A record for points to your external web server IP.  Instructions here on how to redirect requests to the owa subfolder:

    You could also use the IIS URL Rewrite Module:

    For your second question, you will need to add an internal DNS A record called sub, which will resolve to the internal ip address of your IIS server.
    You can test this by pinging sub.domain.local.  If DNS is setup correctly it should resolve to the internal IP address of IIS server.


    Author Comment

    Second question solved nicely - thanks.

    For the first, was the advice on the TechNet page for IIS7? I cannot see a "properties" option when right-clicking "Default Web Site", neither can I find a "home directory" tab anywhere.
    LVL 13

    Accepted Solution

    Ah that might have been for IIS6.

    To find that option in IIS7, open your IIS console, highlight your website, then on the right window double click the HTTP Redirect icon.

    This will be the same place as what the technet page describes.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    I have been working as System Administrators since 2003. I recently started working as a FreeLancer and was amazed to find out that very few people are taking full advantage of their Windows Server Machines. Microsoft Windows Server comes with so…
    I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
    This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
    This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now