Why Exchange Autodiscover Requests Reach Your Web Server & How to Fix It
Question details
Web server logs show unwanted requests for /Autodiscover/autodiscover.xml that are intended for an Exchange mail server.

- Product
- Microsoft Exchange
- Device & OS
- not provided
- Scenario
- Following a website relaunch, the web server is logging Autodiscover requests because the website and mail server are hosted by different providers.
- Observed behavior
- Autodiscover traffic is being misrouted to the website's web server instead of the correct Exchange mail service.
Ensure you have administrative access to your domain's DNS management panel and have the correct Autodiscover DNS records provided by your email hosting service.
Update Domain DNS Records for Exchange Autodiscover
Correct the misconfigured DNS records to route Autodiscover traffic to your Exchange mail server rather than your web server.
When a website and mail server are hosted by different providers, a wildcard DNS record or an incorrect CNAME can accidentally catch Exchange Autodiscover queries. To resolve this, you must explicitly configure the autodiscover subdomain to point directly to your email provider.
Log in to your domain registrar or DNS hosting provider's control panel and navigate to the DNS Management or Zone Editor section.
Look for an existing CNAME or A record for the hostname 'autodiscover'. If it currently points to your web server's IP address or hostname, you need to edit or delete it.
Add a new CNAME record with the host/name set as 'autodiscover' and point it to the specific address provided by your Exchange hosting provider (for example, autodiscover.outlook.com).
Save the DNS changes. Keep in mind that DNS propagation can take up to 48 hours to update across all servers worldwide.

Looking for a Lightweight Alternative for Business Productivity?
While you manage your domain and Exchange DNS settings, consider WPS Office as a free, lightweight, and highly compatible alternative to Microsoft Office. It offers a familiar interface and seamless migration for your daily document and presentation needs.

Frequently Asked Questions
What is the Autodiscover.xml file used for in Exchange?
The Autodiscover.xml file allows Microsoft Outlook and other compatible mail clients to automatically configure email accounts. It retrieves server settings, ports, and connection methods simply by using the user's email address and password.
Why do these Autodiscover requests happen after a website relaunch?
When relaunching a website, DNS A records or CNAMEs (like wildcard records) might be updated to point to a new web server. If the specific Autodiscover record isn't correctly configured to point to the mail host, the web server catches these automated client queries instead.
Can ignoring these misrouted requests harm my website?
Generally, no. They will just appear as harmless 404 Not Found errors in your web server logs. However, ignoring them means your employees or users might experience errors when trying to automatically set up their Exchange email accounts on new devices.




