Exchange Connection Problems

Configure Exchange Online Autodiscover DNS for Outlook

John WilsonJohn Wilson Nov 25, 2026 868 views

Question details

An administrator needs to configure Outlook clients and Autodiscover DNS for a custom domain during an Exchange Online migration.

Configure Exchange Online Autodiscover DNS for Outlook
Product
Microsoft Exchange Online and Microsoft Outlook
Device & OS
not provided
Scenario
Migrating Exchange 2007 mailboxes to Exchange Online and planning Outlook profile configuration for a custom domain.
Observed behavior
The administrator needs the correct Autodiscover DNS target, guidance on internal and external DNS, and an alternative to specifying an Exchange Online server name in a PRF file.
Before you start

Identify the custom email domain, its public DNS provider, and any internal DNS zone that serves the same domain. Check the migration plan before changing Autodiscover, especially if some mailboxes are still on-premises.

Solution 1Recommended

Create the Exchange Online Autodiscover DNS record

Use this setup to direct Autodiscover requests for the custom domain to Exchange Online when the migration plan calls for the change.

1
Open public DNS management

Sign in to the DNS provider hosting the custom domain and open its DNS records or zone editor.

2
Add the CNAME record

Create a CNAME with the host or alias autodiscover and the target autodiscover.outlook.com. For example, autodiscover.abc.com points to autodiscover.outlook.com.

3
Check internal DNS

If internal clients use a separate DNS zone for the domain, open that zone in your internal DNS manager and configure the corresponding Autodiscover record when required by your migration design.

4
Verify DNS and client discovery

Use a DNS lookup tool such as nslookup to check autodiscover.abc.com from external and relevant internal networks. Then add the account in a supported Outlook client and test automatic configuration.

Create the Exchange Online Autodiscover DNS record
Plan for coexistence: Do not switch Autodiscover solely on the basis of this example if on-premises mailboxes remain. Follow the DNS and coexistence guidance for your migration method, and resolve any conflicting record for the same host before adding the CNAME.
Free Microsoft Office alternative

Work with Office documents in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for an easier transition. It does not configure Exchange Online DNS or replace the Outlook Autodiscover setup.

Open and edit Microsoft Word, Excel, and PowerPoint formatsUse a familiar interface for everyday document workKeep working with Office documents while planning your Outlook migrationInstall a lightweight suite with a free option
microsoft office alternative - wps office

Frequently Asked Questions

What is the Autodiscover record for a custom domain?

Create a CNAME for autodiscover.yourdomain.com that points to autodiscover.outlook.com when your migration plan calls for directing Autodiscover to Exchange Online.

Do I need to add the record to internal DNS too?

If internal clients use a separate DNS zone for the custom domain, check that zone in your internal DNS manager. Add the corresponding record when required so internal clients receive the intended Autodiscover result.

Can I put an Exchange Online server name in an Outlook PRF file?

Do not hard-code an Exchange Online server name in a PRF file. Server identifiers can vary by user and change over time; use Autodiscover to configure a supported Outlook client instead.

Does Outlook 2007 work with Exchange Online Autodiscover?

Outlook 2007 supports Autodiscover, but it is no longer supported for Exchange Online and does not meet current authentication requirements. Upgrade to a supported Outlook version before connecting.

When should I change Autodiscover during a migration?

Follow the guidance for your migration method. If mailboxes remain on-premises, changing the record prematurely can affect discovery for those users, so check the coexistence design before updating DNS.