logo
search
Others

How to Change Microsoft 365 DNS Nameservers to a New Hosting Provider

John WilsonJohn Wilson Oct 19, 2026 870 views

Question details

The user needs to move their domain to a new hosting provider and update the DNS nameservers while ensuring Microsoft 365 services continue functioning.

How to Change Microsoft 365 DNS Nameservers to a New Hosting Provider
Product
Microsoft 365
Device & OS
not provided
Scenario
Migrating a website or domain to a new hosting provider, which requires modifying domain registrar settings and recreating DNS records.
Observed behavior
To maintain email and authentication services, the user must securely transfer and configure Microsoft 365 DNS records (like MX and TXT) at the new hosting provider.
Before you start

Before making any changes to your domain's nameservers, log in to your current DNS host and take screenshots or export all existing DNS records to prevent accidental service downtime.

Solution 1Recommended

Update Nameservers and Migrate Microsoft 365 DNS Records

Use this method if your new hosting provider requires you to use their nameservers. You will need to recreate your Microsoft 365 records in their portal.

Changing nameservers transfers the entire DNS management to your new hosting company. Because of this, you must manually add Microsoft 365's service records to the new host so that your business emails and software authentication are not disrupted.

1
Export existing DNS records

Log in to your current domain registrar or DNS hosting provider, navigate to the DNS Zone or Nameserver settings, and copy all existing records, especially MX, TXT (SPF), CNAME, and Autodiscover records.

2
Update the nameservers

In your domain registrar's dashboard, replace the current nameservers with the specific nameservers provided by your new hosting company.

3
Recreate records at the new host

Log in to your new hosting provider's DNS management portal and manually recreate all the Microsoft 365 records you exported in the first step.

Update Nameservers and Migrate Microsoft 365 DNS Records
DNS Propagation Time: Nameserver changes can take anywhere from a few hours up to 48 hours to fully propagate across the global internet.
Free Microsoft Office alternative

Manage Your Business Documents Easily with WPS Office

While you manage your domain configuration and hosting migration, you may also be evaluating alternatives to expensive productivity subscriptions. WPS Office is a highly compatible, free alternative to Microsoft 365, giving you powerful word processing, spreadsheet analysis, and presentation tools without the recurring costs.

  1. 1. Download the installer: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the software: Run the setup wizard and follow the on-screen prompts to install WPS Office on your device.
  3. 3. Open your documents: Launch WPS Office to immediately view, edit, and create files that are fully compatible with Microsoft Office formats.
Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Completely free to download and use for essential daily tasks.Lightweight installation that runs smoothly on almost any desktop or mobile device.Features a familiar, tabbed interface to ensure a zero-learning-curve transition.
microsoft office alternative - wps office

Frequently Asked Questions

Will my Microsoft 365 email stop working when I change nameservers?

Yes, it might stop working temporarily if you do not add your Microsoft 365 MX and TXT records to the new hosting provider. To avoid downtime, recreate these records at the new host immediately after updating the nameservers.

Where can I find the correct Microsoft 365 DNS records for my domain?

You can view your required records by logging into the Microsoft 365 admin center. Navigate to Settings > Domains, select your domain, and click on 'DNS records' to see exactly what MX, TXT, and CNAME records you need.

Do I have to change my nameservers to launch a new website?

No. If you only want to point your domain to a new website hosting server, you can simply update the A record (and CNAME for 'www') at your current DNS provider instead of changing the nameservers entirely.

What should I do if my domain registrar won't let me edit DNS records?

Some domain registrars restrict manual DNS modifications. If you cannot edit the records yourself, you should contact your domain hosting provider's support team to apply the DNS changes on your behalf.