Keep Microsoft 365 Email After Changing Website Hosting
Question details
Keep a domain's Microsoft 365 email service working after moving its website to a different hosting provider.

- 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.
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.
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.
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.
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.
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.
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.
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.

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.

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.




