Help to configure right values for autodiscover

samuelmf

Verified User
Joined
Jul 30, 2021
Messages
165
Hi guys, i have a server with hostname hope.thecross.com.mx and when i configure the main domain thecross.com.mx on outlook, i use the values
mail.thecross.com.mx, smtp.thecross.com.mx, pop.thecross.com.mx.
I found this tutorial, but i have a doubt which are the right value that i must fill on the number 3 of my image.
1707435761499.png


Must i use autodiscovery.hope.thecross.com.mx or autodiscover.thecross.com.mx?

In case the value of the number 3 on my image is: thecross.com.mx
On the step 2 of the tutorial:
  1. Create the subdomain autodiscover.hostname.com in DA, and add the following code into a file called autodiscover.php :
Which path i must set for the subdomain?
1707436141045.png


If there is anyone here who has successfully configured autodiscover, I would be very grateful if you could help me.
Thanks in advance
 
Hello,

From docs https://docs.aws.amazon.com/workmail/latest/adminguide/autodiscover.html :

* Phase 2: The client sends a request to the following URLs and validates the results. These endpoints are only available using HTTPS.

* https://company.tld/autodiscover/autodiscover.xml
* https://autodiscover.company.tld/autodiscover/autodiscover.xml

* Phase 3: The client performs a DNS lookup to autodiscover.company.tld and sends an unauthenticated GET request to the derived endpoint from the user’s email address. If the server returns a 302 redirect, the client resends the AutoDiscover request against the returned HTTPS endpoint.


Must i use autodiscovery.hope.thecross.com.mx or autodiscover.thecross.com.mx?

autodiscovery.hope.thecross.com.mx will be used for hope.thecross.com.mx
autodiscover.thecross.com.mx will be used for thecross.com.mx

Which path i must set for the subdomain?

The default one
 
I followed all the steps but seems that i made something wrong, if i try to enter to : autodiscover.hope.thecross.com.mx, nothing is shown on the browser, and if i try to access the file autodiscover.php
I get this error:

[Fri Feb 09 23:34:33.816091 2024] [ssl:warn] [pid 3187228:tid 140057844255040] AH01909: www.autodiscover.hope.thecross.com.mx:443:0 server certificate does NOT include an ID which matches the server name

I have noted too that on my main domain dns zone i have 3 times the srv record
1707543911827.png

And if i try to delete other 2, it cannot be deleted, apparently when i chose delete, it shows the green record deleted but the 3 records still there, another thing i noted is if i pick only one select box, the 3 registers becomes selected.
 
Last edited:
I followed all the steps but seems that i made something wrong, if i try to enter to : autodiscover.hope.thecross.com.mx, nothing is shown on the browser, and if i try to access the file autodiscover.php

See:

Bash:
$ host autodiscover.hope.thecross.com.mx
Host autodiscover.hope.thecross.com.mx not found: 3(NXDOMAIN)

I get this error:

[Fri Feb 09 23:34:33.816091 2024] [ssl:warn] [pid 3187228:tid 140057844255040] AH01909: www.autodiscover.hope.thecross.com.mx:443:0 server certificate does NOT include an ID which matches the server name

It's only a warning, and it is not related.


And if i try to delete other 2, it cannot be deleted, apparently when i chose delete, it shows the green record deleted but the 3 records still there, another thing i noted is if i pick only one select box, the 3 registers becomes selected.

I have no idea on how you managed to get the 3 same records in a DNS zone. I mostly use CLI, can not say anything here. Probably other users can say more. You might remove the records from *db file in SSH. I would go this way.
 
Back
Top