logo
search
Others

How to Replace Microsoft 365 Onmicrosoft.com Domain with a Custom Domain

Maira MehtabMaira Mehtab Sep 27, 2026 869 views

Question details

The user needs to replace the default Microsoft 365 onmicrosoft.com address with a custom domain for enterprise applications like email, Teams, and Outlook.

Product
Microsoft 365
Device & OS
not provided
Scenario
Setting up a custom business domain in Microsoft 365 to replace the default domain for professional email routing and account sign-ins.
Observed behavior
Microsoft 365 assigns an onmicrosoft.com address by default, which must be transitioned to a verified custom domain by updating DNS records with the domain host.
Before you start

Ensure you have administrative access to your Microsoft 365 admin center and the login credentials for your domain registrar (such as Wix or GoDaddy) to manage your DNS records.

Solution 1Recommended

Add and Verify Your Custom Domain in Microsoft 365

This solution guides you through adding your custom domain, verifying ownership, and configuring the required DNS records to route your email correctly.

Before updating your MX, CNAME, and TXT records, ensure you are fully ready to route emails to Microsoft 365 to prevent any interruption to your current business email service.

1
Add domain in admin center

Log into the Microsoft 365 admin center, navigate to 'Settings', and select 'Domains'. Click on 'Add domain' and enter your custom domain name.

2
Verify domain ownership

Choose the option to add a TXT record to your DNS host provider (e.g., Wix). Copy the provided TXT value and add it to your registrar's DNS settings to verify ownership.

3
Set up matching user addresses

Create the matching user address or alias in your active users list. Set this new custom domain address as the primary email address.

4
Update DNS records to route email

When you are ready to switch your email traffic, add the MX, CNAME, and additional TXT records provided by Microsoft 365 into your domain registrar's DNS settings.

DNS Propagation Delay: DNS changes can take anywhere from a few hours to 24 hours to fully propagate. If your domain status appears unhealthy, try refreshing the DNS status or wait until the next morning.
Free Microsoft Office alternative

Looking for a Cost-Effective Alternative to Microsoft 365?

Managing enterprise Microsoft 365 setups can be complex and costly. Consider WPS Office as a free, lightweight, and easy-to-use alternative that offers powerful word processing, spreadsheet, and presentation tools without the heavy subscription fees.

  1. 1. Visit the WPS Office Website: Go to the official WPS Office website to find the free download link.
  2. 2. Download the Installer: Click the 'Download WPS Office Free' button to get the installer for your operating system.
  3. 3. Install and Start Using: Run the installer, follow the on-screen instructions, and start opening your Microsoft Office files instantly.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Free to download and use with a highly familiar user interface.Lightweight installation that runs smoothly on both new and older devices.Seamless migration for individuals and small teams looking to reduce software costs.
microsoft office alternative - wps office

Frequently Asked Questions

Will I lose access to my business email when adding new MX records?

If you are migrating from another service like Google Workspace, you must migrate your email separately through IMAP or manual export before updating your MX records. Changing MX records immediately redirects new incoming mail to Microsoft 365.

Why is my domain status showing as unhealthy in Microsoft 365?

This typically happens if the DNS records haven't fully propagated yet or if you are viewing an outdated status cache. Refresh the DNS status in the admin center or wait up to 24 hours for the changes to apply.

Can I use Wix as my DNS host for Microsoft 365?

Yes, you can use Wix or any other domain registrar. You will need to log into your Wix account to manually add the necessary TXT, MX, and CNAME records provided by Microsoft 365.