logo
search
Others

How to Add a Microsoft 365 Domain Without Moving Email Hosting

Steve KSteve K Oct 21, 2026 868 views

Question details

The user needs to add and verify a custom domain in Microsoft 365 while keeping their current email hosting provider, avoiding any name server changes.

How to Add a Microsoft 365 Domain Without Moving Email Hosting
Product
Microsoft 365
Device & OS
not provided
Scenario
Setting up a custom domain in the Microsoft 365 Admin Center for services other than Exchange Online.
Observed behavior
The Microsoft 365 setup wizard prompts the user to change their domain name servers or reports a DNS health error when attempting to configure custom records manually.
Before you start

Ensure you have administrator access to your domain registrar's DNS management portal so you can manually add TXT and CNAME records.

Solution 1Recommended

Manually Add and Verify DNS Records

Bypass Microsoft 365's automated setup to manually verify your domain using a TXT record, leaving your MX records untouched.

To keep your email hosted with your current provider (such as Rackspace or Google Workspace), you must avoid changing your domain's name servers to Microsoft 365. Instead, you will use manual DNS management to add only the records necessary for the specific Microsoft services you plan to use.

1
Start domain verification

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

2
Verify with a TXT record

When asked how you want to verify the domain, select the option to add a TXT record to your domain's DNS records. Copy the provided TXT value.

3
Update your DNS registrar

Open a new tab, log in to your DNS hosting provider or domain registrar, and create a new TXT record using the value copied from Microsoft 365. Save the changes.

4
Complete verification

Return to the Microsoft 365 admin center and click 'Verify'. Once verified, choose the option to manage your own DNS records manually instead of letting Microsoft set up your services.

5
Skip MX record configuration

On the DNS configuration screen, uncheck Exchange and Exchange Online Protection if you do not want Microsoft handling your email. Leave your existing MX record pointing to your current email provider and only add the CNAME or TXT records required for other services like Teams or MDM.

Manually Add and Verify DNS Records
Domain Health Warning: You may continue to see a domain health check warning or name-server error in the Microsoft 365 admin center because the MX records do not point to Microsoft. This is expected behavior for a split-hosting setup and can be safely ignored.
Free Microsoft Office alternative

Simplify Your Work with WPS Office

If managing complex Microsoft 365 domain settings and expensive cloud subscriptions feels overwhelming, consider switching to WPS Office. It provides powerful standalone alternatives for Word, Excel, and PowerPoint without the need for intricate administrative setups.

  1. 1. Download the software: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to set up the software.
  3. 3. Open and edit files: Launch WPS Office to immediately start creating new documents or opening your existing Microsoft Office files.
Completely free to download and use for core document creation and editing.Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight design that installs quickly without complex cloud admin requirements.Familiar user interface makes transitioning from Microsoft Office seamless.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use Microsoft Teams with my custom domain if my email is hosted elsewhere?

Yes. You can use Microsoft Teams and other Microsoft 365 services by manually adding their specific CNAME and TXT records to your DNS provider, even while your MX records remain pointed to a third-party email host.

Why does Microsoft 365 show a DNS error when I leave my MX records untouched?

Microsoft's automated health check expects all recommended records (including the MX record for Exchange Online) to point to their servers. When you use manual DNS management to keep a third-party email provider, this mismatch triggers a warning that you can safely ignore.

Will changing my name servers to Microsoft 365 break my website?

Yes, if your website relies on your current name servers and you switch them entirely to Microsoft 365 without first migrating your A and CNAME records, your website will go down. This is why manual DNS management is recommended for complex setups.