logo
search
Email Migration

How to Use a Custom Domain with Outlook and Microsoft 365

Aamir Naveed AkramAamir Naveed Akram Oct 1, 2026 869 views

Question details

The user needs to configure a custom domain with Microsoft 365 Business Standard to route emails through Microsoft instead of a previous hosting provider.

How to Use a Custom Domain with Outlook and Microsoft 365
Product
Microsoft 365
Device & OS
not provided
Scenario
Migrating a business email environment to Microsoft 365 while retaining a professional custom domain name.
Observed behavior
Mail flow needs to be securely and correctly transitioned to Microsoft's servers via domain verification and MX record updates.
Before you start

Ensure you have administrator access to both your Microsoft 365 Admin Center and the DNS management console of your domain registrar.

Solution 1Recommended

Verify Domain and Update DNS Records

This is the standard procedure to prove domain ownership and route your incoming emails to Microsoft 365.

To use your custom domain with Outlook and Microsoft 365, you must first prove that you own the domain by adding a specific TXT record. Once verified, updating the MX (Mail Exchanger) record directs all new emails to Microsoft's servers, bypassing your old host and improving reliability.

1
Add your domain in Microsoft 365

Log in to the Microsoft 365 Admin Center, navigate to 'Settings', click on 'Domains', and select 'Add domain'. Enter your custom domain name.

2
Verify domain ownership

Choose the option to add a TXT record to your domain's DNS records. Copy the TXT value provided by Microsoft, log in to your domain registrar, and paste it into your DNS settings. Return to Microsoft 365 and click 'Verify'.

3
Update the MX record

Once verified, Microsoft will provide a list of required DNS records. In your domain registrar's DNS settings, replace your existing MX record with the new Microsoft 365 MX record to route your email.

4
Add CNAME and SPF records

Add the required CNAME record for Autodiscover (which helps Outlook connect automatically) and the TXT record for SPF (which prevents your emails from being marked as spam).

Verify Domain and Update DNS Records
DNS Propagation Delay: DNS changes can take anywhere from a few minutes to 48 hours to fully propagate across the internet. During this time, some emails may still route to your old provider.
Free Microsoft Office alternative

Looking for a Lightweight Alternative for Your Daily Office Tasks?

While Microsoft 365 handles your business email hosting, you might not need an expensive subscription for your team's document creation needs. WPS Office provides a complete, free, and highly compatible productivity suite for documents, spreadsheets, and presentations.

  1. 1. Download the Installer: Visit the WPS Office website and download the free installer for your Windows, Mac, or Linux device.
  2. 2. Install the Software: Run the setup file and follow the on-screen instructions to install the application in seconds.
  3. 3. Open and Edit Documents: Launch WPS Office to instantly open, edit, and save your existing Microsoft Office files without any formatting loss.
Completely free core features for Writer, Spreadsheet, and PresentationSeamless compatibility with Microsoft Office formats (DOCX, XLSX, PPTX)Lightweight installation that runs smoothly on older and newer devicesBuilt-in PDF editing capabilities at no extra cost
QA img-9

Frequently Asked Questions

Will I lose my existing emails when I change my MX records to Microsoft 365?

Changing your MX records only affects new, incoming emails. However, your old emails will remain with your previous host. To bring them into Microsoft 365, you must perform an email migration using the Exchange Admin Center or an IMAP migration tool.

Can I use my custom domain with both Microsoft 365 and my old email provider simultaneously?

No, an MX record can only route incoming emails to one primary email hosting environment. Splitting email delivery across two providers requires complex routing connectors and is generally not recommended for standard setups.

Why is Outlook failing to connect after I updated my domain?

If Outlook cannot connect, ensure that you have correctly added the CNAME record for 'autodiscover' in your DNS settings. This record is essential for the Outlook desktop client to automatically configure your custom domain profile.