Autodiscovery outlook 2016 not working for secondary domain on exchange 2010 sp3 SBS2011.

setup:

SBS2011, exchange 2010 with sp3.
internal domain: domain1.local
external domain: domain1.eu
external dns a records
remote.domain1.eu   external ip (godady certificate is on this one)
mail.domain1.eu   external ip
autodiscover.domain1.eu external ip

configuring outlook 2016 with just email address and password works fine.

Now there is a second domain on the same box where autoconfigure does not work all the time
It hangs ons searching email server settings right after a certificate error (which is understandable cause it belong the domain above)

external dns a records
remote.domain2.eu   external ip (godady certificate is on this one)
mail.domain2.eu   external ip
autodiscover.domain2.eu external ip

After writing this question and leaving the search open after 15 minutes plus I do het a user name password question and outlook is configured.
Strange! help much appreciated!

Thanks, Tom.
tmhooft01Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason CrawfordTransport NinjaCommented:
Run an Outlook Autodiscover ExRCA test at https://testexchangeconnectivity.com.

Run this in a command prompt and let me know the results:

nslookup -q=a test.domain2.eu 8.8.8.8
tmhooft01Author Commented:
Hello Texas!! Thanks for helping out!

the nslookup for test.domain2.eu fails
nslookup domain2.eu comes back with domain registrars IP

the nslookup for test.domain1.eu comes back with domain registrars IP (different)
nslookup domain1.eu comes back with domain registrars IP
Jason CrawfordTransport NinjaCommented:
Ok I'm trying to establish if there is a wildcard DNS entry which can cause issues for Autodiscover.  When you say it returns the registrar IP, do you mean the A record query for test.domain2.eu was able to resolve a WAN IP?

What about the ExRCA test?
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

tmhooft01Author Commented:
Oh sorry, It did not upload.
It is not resolving to the correct wanIP  where exchange is listening.
I think that is the wildc
But neither is domain1.eu

I changed the record  domain2.eu from the hoster to the external ip the exchange server is listening on.
I'll let you know. Have leave the house in a little bit so please give me some time.
THank you so far! Tom.
autodiscover-test.txt
Jason CrawfordTransport NinjaCommented:
No problem.  Good luck.
tmhooft01Author Commented:
Hi Jason,

That was it. The discovery works fine now.  Thank you for you help. I am just wondering if there were records I was missing. Any idea?
Thanks again! Tom
Jason CrawfordTransport NinjaCommented:
Generally you need at least two:

Type: A
Host: mail.domain.com
Value: <Insert WAN IP>

Type: CNAME
Host: autodiscover.domain.com
Value: mail.domain.com


Optional:

pop.domain.com
smtp.domain.com
imap.domain.com

You can technically get by with one and avoid the extra expense of a SAN certificate, but for simplicity sake just ensure at a minimum  you have mail and autodiscover.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tmhooft01Author Commented:
Thank you for your help Jason!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.