Autodiscover issues with Exchange 2010

We have an exchange 2010 server that we recently migrated to and it seems to be working correctly. I can get to my OWA page from outside the network and when I try it takes me to my OWA login page however it changes the url to include owa in the path e.g. When I try to configure Outlook 2016 to connect to our Exchange server it fails and when I run Microsoft Remote Connectivity analyzer it also says that autodiscover fails. One of the tests removes mail from the URL and just uses but that is never going to work since our domain name points to a third party ecommerce site we have set up and is not on our domain.

How can I resolve this. I went to my doamin registrar and looked at how the autodiscover records were set and I have a a CNAME record pointing to our mail server e.g. so I don't see how it is pointing to our ecommerce website and not our mail website.
TimSr. System AdminAsked:
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.

Hemil AquinoNetwork Security EngineerCommented:
You need two A records

A host mail
A host Autodiscover

Did you have those in place?
About microsoft exchange connectivity, he looks for any name that you have configured in your host like --Bu this is the one that needs to pick up followed by the autodicover record.

I hope this help,

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
Tom CieslikIT EngineerCommented:
I don't know who is your registrant but in Network Solutions thee is opion to forward CNAME to other host

Jose Gabriel Ortega CastroEE Rookie/Solution Guide/Topic Advisor and CEO Faru Bonon ITCommented:
The autodiscover process goes in 4 stages
if it's not found
if not found
third: would try HTTP (generally for o365)
if it's not found
Fourth:  SRV DNS.

Check internals and externals DNS, it's a DNS issue.
Here's a script: use it with the option -Get
You will get all the internal entry points

Use it with the option set to set all the internals and externals (-set -urlpath "")

In public DNS you need to have a "A" record to the public ip of your Exchange Server (or firewall if exists), need to open port 443 in the firewall and do the forwarding to the server internally).
And create a CNAME to
Get Blueprints for Increased Customer Retention

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.

RoninCommented: can be either A or CNAME.
The important part is to make sure that in addition to the traditional, or whatever name you want to use, on SSL certificate, it should also include
In short you must have two FQDNs on the cert deployed on Exchange:
Tom CieslikIT EngineerCommented:
Don't create CNAME, remove it.
Just create A record pointed to your and and use this address in TXT record.
Also you must have certificate for to be able set outlook anywhere and activesynch.

On your server you must activate autodiscover on your email server

Get-ClientAccessServer | Set-ClientAccessServer –AutoDiscoverServiceInternalUri

Open in new window

and add on port 443 in Bindings in you IIS and bind it to your certificate
Internally there's no need to create as the clients use SCP, therefore Set-ClienAccessServer can point directly to the name of the server as appears in the certificate.
As well, there's no need to add autodiscover in IIS.
TimSr. System AdminAuthor Commented:
I am confused about the TXT record. When I look online about this there are many examples however I don't know which one I should use. BTW our registrar is Network Solutions. When looking at how to create an SPF record there are many mechanisms I can use. Which one is better? Should I use multiples. And when it is asking for the host name am I using Autodiscover or Mail or both?
Tom CieslikIT EngineerCommented:
This is an example

v=spf1 ip4: ptr ~all
TimSr. System AdminAuthor Commented:
And what should I use as the host? Mail or Autodiscover?
If you asking for the SPF record - usually hostname of the server is being used. Not autodiscover.
Jessica KCommented:
Hey Tim,

This AutoDiscover issue needs very clean and clear steps to be resolved. So, be careful while performing the steps related to this. There is a following informative article from Microsoft, which has helped my clients in the similar issue, go through it to resolve your problem:

Feel free to ask for further queries.

Best Regards,
All the requested information provided
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

From novice to tech pro — start learning today.