Exchange Connection Problems

Keep Microsoft 365 Email After Changing Website Hosting

Chanuka GeekiyanageChanuka Geekiyanage Nov 22, 2026 868 views

Question details

Keep a domain's Microsoft 365 email service working after moving its website to a different hosting provider.

Keep Microsoft 365 Email After Changing Website Hosting
Product
Microsoft 365 Exchange Online
Device & OS
not provided
Scenario
A domain's website is moving to a new host, while its email may remain in Microsoft 365.
Observed behavior
The website and email should use their respective providers, with the domain's active DNS records directing mail to the intended email service.
Before you start

Decide whether email will stay in Microsoft 365 or move to the new host. Identify the provider that manages your domain's active nameservers and have access to its DNS settings and the Microsoft 365 admin center.

Solution 1Recommended

Keep Microsoft 365 Mail Records at the Active DNS Provider

Use this approach when the website is moving but email should remain in Microsoft 365.

1
Check the active DNS provider

Open your domain registrar's nameserver settings and identify the provider hosting the active DNS zone. Changing website hosting does not necessarily change where DNS is managed.

2
Check the domain in Microsoft 365

In the Microsoft 365 admin center, go to Settings > Domains and select your domain. If it has not been added and verified, choose Add domain and follow the verification instructions.

3
Review the mail records

In Settings > Domains, open the domain's DNS information and compare the required records with those at the active DNS provider. Keep or add the Microsoft 365 MX and Autodiscover records, along with the applicable SPF, DKIM, and other records shown for your setup.

4
Update the website records separately

In the active DNS provider's DNS management page, update the website records as instructed by the new web host. Leave the Microsoft 365 mail records in place if email is staying in Microsoft 365.

5
Test email

After DNS changes have propagated, send a test message to and from the Microsoft 365 address. If mail does not work, recheck the active DNS zone and contact its provider for help.

Keep Microsoft 365 Mail Records at the Active DNS Provider
Do not add the same address as a connected account: If the address is already a primary or proxy address in Microsoft 365, adding it again as a connected account can fail. No connected account is needed to keep using the existing mailbox.
Free Microsoft Office alternative

Work With Office Documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its Office format compatibility makes it easy to bring existing files across, though it does not replace Exchange Online or fix Microsoft 365 DNS settings.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Use a familiar interface to work with existing Office files.Keep working with email attachments as documents while resolving your Microsoft 365 mail settings.Use a free, lightweight office suite for everyday tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Can my website and Microsoft 365 email use different providers?

Yes. At the provider managing your active DNS zone, point the website records to the web host and keep the Microsoft 365 mail records for Exchange Online.

Where can I find the DNS records Microsoft 365 needs?

In the Microsoft 365 admin center, go to Settings > Domains, select your domain, and review its DNS information. Compare those values with the records at your active DNS provider.

Do I need to add my existing Microsoft 365 address as a connected account?

No. If the address is already a primary or proxy address in Microsoft 365, adding it again as a connected account can fail. Continue using the existing mailbox.

What if I want to move email to the new hosting provider too?

Arrange the mailbox migration with the new provider, then update the mail-related DNS records at your active DNS provider using its instructions. Changing the MX record alone does not migrate existing mailbox contents.