If you add an email address to Outlook, Mail, or a phone and you don’t need to fill in a server name or port yourself, that’s thanks to autodiscover (Microsoft) or autoconfig (Mozilla/Thunderbird and many other clients). These techniques automatically look up the correct mail server settings based on your domain name. If this doesn’t work, you usually need to adjust a DNS record or file on the server. In this article you’ll learn exactly how it works and how to fix common errors.
What is autodiscover/autoconfig?
Without autodiscover, you’d have to manually fill in the IMAP, SMTP server, port numbers, and security settings on every new device. With autodiscover or autoconfig, a user only needs to enter the email address and password; the mail client looks up the rest itself. This saves time and prevents typos that cause mail not to be sent or received.
Outlook uses the autodiscover protocol, which looks for autodiscover.yourdomain.nl or an SRV record. Thunderbird and many other clients use autoconfig, which looks for autoconfig.yourdomain.nl or a fixed location on Mozilla’s servers as a fallback.
How a mail client finds the settings
When setting up an account, the client usually follows this order:
- Check for an existing SRV record for autodiscover or autoconfig on your domain.
- Check for
autodiscover.yourdomain.nlorautoconfig.yourdomain.nlas a CNAME or A record. - If that fails: a fixed fallback URL from the software vendor, which often returns generic settings that don’t match your hosting package.
That last point is exactly why many people complain that Outlook suggests ‘odd’ server names: without a correctly configured DNS record, the client falls back on a guess instead of your hosting provider’s actual settings.
Setting up autodiscover or autoconfig
To make this work properly, you need to add the correct records in your DNS management (for example, in Plesk). This is set up separately from your regular MX record for incoming mail.
Log in to your DNS management
Go to the DNS overview of your domain, for example via Plesk or your hosting provider’s customer panel.
Add a CNAME for autoconfig
Create autoconfig.yourdomain.nl as a CNAME pointing to your hosting provider’s mail server.
Add an SRV record for autodiscover
For Outlook, set up an SRV record for _autodiscover._tcp, or a CNAME autodiscover.yourdomain.nl pointing to the correct server.
Wait for DNS propagation
New or changed records aren’t visible everywhere immediately. Test again after some time.
Test the account again
Add the email address in the mail client and check whether the settings are now correctly suggested automatically.
Solving common problems
Outlook suggests incorrect server names. This almost always indicates a missing or incorrect autodiscover record. Check your DNS settings and compare them with your provider’s correct mail server settings.
An SSL warning when setting up mail. This happens when the mail server’s certificate doesn’t match the domain that autodiscover calls. Make sure the certificate is also valid for autodiscover.yourdomain.nl or use the server hostname that is listed on the certificate.
Automatic setup still doesn’t work. Then manually enter the IMAP/SMTP details; these can usually be found in your hosting panel under the relevant email account.
You’ve just moved or registered a domain. Also check your general domain name settings, because without correct nameservers no DNS record works, including autodiscover.
Frequently Asked Questions
Is autodiscover the same as an MX record?
No. The MX record determines where incoming mail goes, while autodiscover/autoconfig ensures your mail client automatically finds the correct server and port settings to log in.
Does autodiscover also work on mobile phones?
Yes, most modern mail apps on Android and iOS support autodiscover or autoconfig, though the exact functioning may vary per app.
Do I need to set this up myself for every new mailbox?
No, the record is set at the domain level. Once it’s configured correctly, it works for all mailboxes under that domain.
Where can I find my current DNS records?
In Plesk you can find this under the DNS settings overview of your domain, or check the knowledge base for a step-by-step guide per panel.
Conclusion
Autodiscover and autoconfig ensure that mail clients automatically find the correct server settings, so users only need to enter their email address and password. If this doesn’t work well, the cause is almost always a missing or incorrect DNS record. With the correct CNAME and SRV records set up, you save yourself and your users a lot of time and frustration.