Solved

Hosted Exchange Autodiscover

Posted on 2013-05-14
5
94 Views
Last Modified: 2016-03-24
Hi All,

We have a hosted exchange environment setup for a few of our customers but we are having issues with the auto discover service.

We have setup a CNAME record that points autodiscover.domain1 to autodiscover.ourdomain. and everything works except when we go to add another mailbox to Outlook (eg a shared mailbox like Sales/Support etc). The error " The name cannot be resolved. The name cannot be matched to a name in the address list" comes up. Also when Outlook loads they get a security error "The name on the security certificate is invalid or does not match the name of the site". We have a wildcard certificate so we can have anything.ourdomain. When you look at the error it is looking for autodiscover.domain1 on the certificate and not the resolved address.

When we take the CNAME away it removes the certificate error but as well as the other error the Out of Office says exchange is unavailable and downloading offline address book fails.

Each customer has their own GAL and address book policy.

If you need any other details let me know!

Thanks in advance, I've always found great advice on these forums!
0
Comment
Question by:PenMatt
  • 2
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
didnthaveaname earned 500 total points
ID: 39165630
In order to do this you will need to setup a redirect.
So like this:

autodiscover.domain1 points to autodiscoverredirect.yourdomain.com
autodiscoverredirect then goes to an IIS web site that redirects you to autodiscover.yourdomain.com

A cname will just resolve autodiscover.domain1 to the same IP as your record not rewrite the URL like a redirect.  Because it doesn't rewrite the URL the cert will apear invalid.


Edit:

Here is a MS kb on setting up a redirect in IIS
http://technet.microsoft.com/en-us/library/cc770409(v=ws.10).aspx
0
 
LVL 16

Expert Comment

by:Enphyniti
ID: 39165902
Much easier to do it with an SRV record on the domain that points directly to your auto-discover address.  Then make sure that you do NOT have "autodiscover.<emaildomain>.com" resolve to anything.
0
 

Author Comment

by:PenMatt
ID: 39168011
Hi,

Thanks for your replies.

Will the SRV record work with Outlook Anywhere when they are outside the environment and not on VPN?

Regards,
0
 
LVL 8

Expert Comment

by:didnthaveaname
ID: 39168186
Indeed it will.  As long as its in public DNS.

The reason we went with the method i posted above over SRV records is we found some smaller DNS providers did not support SRV records. (this was awhile ago now so it may no longer be an issue) Then we were forced to migrate our customers DNS to another provider just to get autodiscover to work.

Didnt happen that often but it was enough where we moved away from SRV records.
0
 
LVL 16

Expert Comment

by:Enphyniti
ID: 39168834
Absolutely true that some registrars won't support SRV records.  So far, migrating the domain to another registrar hasn't been too big a deal.  Usually those that don't support SRV will have wonky DNS controls as well.
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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

820 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