Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I've had issues for a long time with out of office, i believe my exchange has been setup incorrectly. When running tests on testexchangeconnectivity it connects to and tries unfortunately neither of these have been configured and i only have the DNS set up for


Whats my best step? points to my web designers server. owa.mydomain points to us and seems to work for remote(sbs2011 thing) and OWA.

sbs2011, exchange2010

share|improve this question
up vote 8 down vote accepted

Autodiscover is a means to help simplify the configuration of remote Outlook installations and mobile devices to use Exchange. Microsoft's verbose documentation about this feature is here.

The easiest approach to get over the autodiscover hurdle is to create a public DNS A Record for that points to your SBS server's IP address. This can also be a CNAME alias, but I prefer the A Record. This can be requested or configured through your domain registrar or whomever manages your public DNS. That's really the bulk of the setup from the DNS side.

The other portion is to deal with your SSL certificate. If you browse to your webmail address and examinee the SSL certificate, you'll see what DNS names are configured. You may want to have the autodiscover names on the same cert. Again, a more involved process, but helpful in the long run.

Since this is an SBS, you may only have a single-name certificate. I'd check with the original implementor, but your alternative would be to create a fallback SRV DNS record instead. See this approach from Microsoft and additional notes here.

Even though autodiscover fails for you now, you should still be able to configure your mail manually. have you been able to get that far?

share|improve this answer
Great answer! One extra answer to the actual question: You only need to configure 1 of the 2 autodiscover URLs. Since one is in use, just set up the "" to point to your OWA server. – Mark Aug 10 '12 at 12:26
Thanks for reply, mail works fine. i've amended the dns records of autodiscover. i have a certificate for owa.mydomain but this does not include autodisover as you may suspect so now i must acomplish this. is a new certificate required? thanks – user121246 Aug 13 '12 at 10:59
Yes.. a new cert would be required. As you will be sharing this with your OWA server, you can look at a multi-name cert using Subject Alternate Names for both owa and autodiscover (or a wildcard cert - which is technically discouraged by Microsoft). Hmm, I'm assuming SBS will support SAN/Wildcard certs.. – Rex Aug 14 '12 at 17:39

This is how I would configure the whole thing.

Let's say that your email address is

  1. If you have port 443 open on your completely unrelated web site, make sure that whatever web server handles your web site returns 404 for the URL /Autodiscover/Autodiscover.xml

    This tells the Exchange clients to go away.

    Prevents email clients from being hijacked by your web site.

  2. Make sure that you DO NOT have any A or CNAME or whatever DNS records for

    This also tells the Exchange clients to go away.

    Instead, they will use the proper RFC method of discovering service endpoints, see next bullet.

    (I know that this is contrary to other advice offered in this thread; I just wanted to offer you this alternate method of configuring AutoDiscover!)

  3. Create a DNS SRV record for "", it should contain "".

    This tells the Exchange clients to connect to for autodiscover.

    (The reason that we call the hostname exchange and not autodiscover will be apparent in the next bullet.)

  4. Configure your Exchange servers so that all services (address book, email, calendar, whatever) resides on the IIS site and virtual host "".

    This lets you configure everything to run on just a single SSL certificate, instead of having to cash out for SAN certificates.

  5. Create an SSL certificate for

    (Use any certificate authority you like.)

    Install the SSL certificate onto the Exchange IIS service.

  6. Make sure that has an A or CNAME record in DNS that points to the IP address of the Exchange IIS service.

That should just about do it.

It's a bit convoluted, and that is because Exchange clients try a whole lot of hardcoded, dumb places to find the autodiscover service before doing the proper thing and ask for a DNS SRV record. Those holes have to be plugged, or else the client will at some point be inadvertently hijacked by unrelated services such as your website.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.