What Domain Does Autodiscover Use?

TechGnomeLV

Registered
Aug 13, 2019
1
0
1
Las Vegas
cPanel Access Level
Root Administrator
We use mail.domain.com for email. Does autodicover use autodiscover.mail.domain.com or autodiscover.domain.com

mail.domain.com.1200x.x.x.x
default._domainkey.mail.domain.com.1200INTXTv=DKIM1; k=rsa; p=stuff
_autodiscover._tcp.mail.domain.com.1200INSRVPriority: 0
Weight: 0
Port: 443
Target: cpanelemaildiscovery.cpanel.net
autodiscover.mail.domain.com.1200INAx.x.x.x
autoconfig.mail.domain.com.1200INAx.x.x.x
mail.domain.com.1200INTXTv=spf1 +a +mx +ip4:x.x.x.x ~all
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Hello @TechGnomeLV

I'm not sure I fully understand what you're asking. There should be an autodiscover record created for all domains on the server. In this instance, you're showing me an autodiscover SRV record and A record for autodiscover.mail.domin.com.

You can see what would be returned by querying the autodiscover server:

Code:
curl -d '<EMailAddress>[email protected]</EMailAddress>' https://cpanelemaildiscovery.cpanel.net/autodiscover/autodiscovery.xml
 

jndawson

Well-Known Member
Aug 27, 2014
284
31
78
Western US
cPanel Access Level
DataCenter Provider
We are dealing with a customer who can't get autodiscover to work, and manually configuring doesn't seem to work, either. We tried your call to the autodiscover page:

Code:
[ [email protected] ~># curl -d '<EMailAddress>[email protected]</EMailAddress>' https://cpanelemaildiscovery.cpanel.net/autodiscover/autodiscovery.xml
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  <title>Error 404 - Not Found</title>
  <link rel="stylesheet" href="http://cpanelemaildiscovery.cpanel.net/css/error.css">
</head>
<body>
<h1>Error 404 - Not Found</h1>
<div id="content">
/autodiscover/autodiscovery.xml
</div>
<div id="footer">
Powered by <a href="http://perldancer.org/">Dancer2</a> 0.205001
</div>
</body>
</html>
So, that explains why autodiscover isn't working, but doesn't explain the 404 failure. It's not because he uses a .name tld as no other email addresses are returning a result besides the 404 error.

Is the URL you provided correct?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Last edited: