Others

Redirect a Root Domain When DNS Is Hosted by Office 365

Camila MilosovichCamila Milosovich Nov 27, 2026 868 views

Question details

Redirect a root domain to another website while keeping Office 365 email and other services working.

How to Redirect a Root Domain When DNS Is Hosted by Office 365
Product
Office 365 domain DNS hosting
Device & OS
not provided
Scenario
The user wants visitors to the root domain to reach another website, but the current DNS hosting does not provide URL forwarding.
Observed behavior
A CNAME can point a subdomain such as www to another host, but it does not normally provide a URL redirect for the root domain.
Before you start

Check which provider hosts your domain's authoritative DNS and note the destination URL. Review the existing MX, TXT, CNAME, and SRV records needed for Microsoft 365 and any other services before changing DNS providers.

Solution 1Recommended

Use a DNS provider with root-domain URL forwarding

Use this option if you want a provider to handle the redirect without running your own web server.

1
Choose a forwarding provider

In your registrar or DNS provider's control panel, look for URL forwarding that supports the root domain and HTTPS. Confirm whether the service requires you to use its nameservers.

2
Recreate service records

If you need to move DNS hosting, add the existing Microsoft 365 MX, TXT, CNAME, and SRV records in the new provider's DNS management panel before switching nameservers. Include records for any other services that use the domain.

3
Set up the redirect

Open the provider's URL forwarding or domain redirect settings, select the root domain, and enter the destination URL. Choose a permanent redirect if the move is intended to be permanent.

4
Switch nameservers if needed

If the forwarding provider requires its own nameservers, open your domain registrar's nameserver settings and replace the current nameservers with those supplied by the new provider.

5
Test the domain and email

After DNS changes propagate, open both the HTTP and HTTPS versions of the root domain in a browser. Send and receive a test email and check any other services that depend on the domain.

Use a DNS provider with root-domain URL forwarding
Registrar forwarding may require a DNS change: A registrar's forwarding setting may not work while another provider hosts the authoritative DNS. Follow the registrar's requirements for nameservers or DNS records.
Free Microsoft Office alternative

Track Your Domain DNS Records with WPS Spreadsheets

WPS Office does not provide DNS hosting or URL forwarding. As a free, lightweight Office alternative with a familiar interface, it can help you document DNS records before a provider change and work with existing Office files.

List DNS record names, types, values, and purposes in a spreadsheetOpen and edit Microsoft Excel XLS and XLSX files for a seamless move from OfficeUse a familiar spreadsheet interface to organize domain informationWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can I use a CNAME to redirect my root domain?

A CNAME generally cannot be used at the domain apex alongside required records such as MX and SOA records. It also maps a DNS name rather than sending an HTTP redirect. Use URL forwarding or a web server for the redirect.

Will moving DNS hosting stop my Microsoft 365 email?

Moving DNS does not have to stop email, but missing or incorrect records can disrupt it. Recreate the required Microsoft 365 MX, TXT, CNAME, and SRV records at the new provider before changing nameservers, then test mail flow.

Does redirecting the root domain also redirect www?

Not necessarily. Add a separate www forwarding rule or configure www at the web host if visitors to that address should also reach the destination.

Why does the redirect work over HTTP but not HTTPS?

The forwarding service or web server must support HTTPS and present a valid TLS certificate for the original domain. Check its HTTPS or SSL settings and test the HTTPS address again after the certificate is active.