Configure Exchange Autodiscover with multiple SMTP namespaces

MS Outlook auto-configuration


This article assumes that your Exchange Autodiscover is setup and working correctly internally.

For external connections MS Exchange Autodiscover uses following 4 methods to retrieve automatic email client configuration:

  1. Connecting to Autodiscover URL:
  2. Connecting to Autodiscover URL:
  3. Connecting to Autodiscover redirect URL and looking for Redirection to HTTPS Autodiscover at:
  4. Looking for DNS SRV record

First two methods work fine for single SMTP namespace organisations. Last two can deal with multiple SMTP namespaces. In this example I will use third, the Redirect method.

Configuring Exchange Autodiscover with HTTP redirect method

  1. Login to your SMTP domain management console and add A type record autodiscover and point it to an external IP address that is not used for any HTTP service.
    i.e.      A
    Repeat this for your other SMTP domains.
  2. Login to your Exchange Client Access Server and add a new internal IP address.
  3. Login to your firewall and setup incoming NAT redirection to forward HTTP traffic from to
  4. Login to Exchange Client Access Server and open IIS Manager
    1. Create a new web site autodiscover-redirect (name is not important) and Bind it to the IP address
    2. Inside autodiscover-redirect website create new virtual directory called autodiscover
    3. Inside autodiscover virtual directory create a blank file autodiscover.xml
      IIS Manager
    4. Select autodiscover.xml and click on HTTP redirect.
      Configure as per screenshot below. is your Exchange external access domain with a valid SSL certificate.
      IIS Manager - HTTP Redirect
  5. Go to and perform a test. Autodiscover should succeed using the third method (Redirect)
    Microsoft Remote Connectivity Analyzer

Windows Server 2008 R2
Exchange Server 2010



Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait