Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Check the Domains FAQ if you don't find what you're looking for.
Check out all of our small business content on Small business help & learning.
Check out Microsoft 365 small business help on YouTube.
To add, modify, or remove domains, you must be a Domain Name Administrator of a business or enterprise plan. These changes affect the whole tenant; Customized administrators or regular users can't make these changes.
Tip
If you need help with the steps in this article, consider working with a Microsoft small business specialist. With Business Assist, you and your employees get around-the-clock access to small business specialists as you grow your business, from onboarding to everyday use.
Check out this video and others on our YouTube channel.
Your company might need multiple domain names for different purposes. For example, you might want to add a different spelling of your company name because customers are already using it and their communications failed to reach you.
Where possible, we recommend that your organization use a custom domain name, as it can enhance your email's appearance and improve it's reputation.
Tip
Where possible, we recommend that your organization use a custom domain name, as it can enhance your email's appearance and improve its reputation.
Follow these steps to add, set up, or continue setting up a domain.
Go to the Microsoft 365 admin center.
Go to the Settings > Domains page.
Select Add domain.
Enter the name of the domain you want to add, then select Next.
Choose how you want to verify that you own the domain.
http://mydomain.com/ms39978200.txt
. We confirm you own the domain by finding the file on your website.Choose how you want to make the DNS changes required for Microsoft to use your domain.
If you chose to add DNS records yourself, select Next and you see a page with all the records that you need to add to your registrars website to set up your domain.
If the portal doesn't recognize your registrar, you can follow these general instructions.
If you don't know the DNS hosting provider or domain registrar for your domain, see Find your domain registrar or DNS hosting provider.
If you want to wait for later, either unselect all the services and select Continue, or in the previous domain connection step, choose More Options and select Skip this for now.
Select Finish - you're done!
Follow these steps to add a custom record for a website or third party service.
Sign in to the Microsoft 365 admin center.
Go to the Settings > Domains page.
On the Domains page, select a domain.
Under DNS records, select Custom Records; then select Add record.
Select the type of DNS record you want to add and type the information for the new record.
Select Save.
Domain Connect enabled registrars let you add your domain to Microsoft 365 in a three-step process that takes minutes.
In the wizard, we confirm that you own the domain, and then automatically set up your domain's records, so that email comes to Microsoft 365 and other Microsoft 365 services, like Teams, work with your domain.
Note
Make sure you disable any popup blockers in your browser before you start the setup wizard.
After you finish setup, the MX record for your domain is updated to point to Microsoft 365 and all email for your domain will start coming to Microsoft 365. Make sure you add users and set up mailboxes in Microsoft 365 for everyone who gets email on your domain!
If you have a website that you use with your business, it keeps working where it is. The Domain Connect setup steps don't affect your website.
Each Microsoft 365 organization can have up to five onmicrosoft.com domains.
Note
You must be a Domain Name admin to add a domain. Creating another .onmicrosoft domain and using it as your default won't do a rename for SharePoint Online. To make changes to your .onmicrosoft SharePoint domain you would need to use the SharePoint domain rename preview (currently available to any tenant with less than 10,000 sites). If you're using Microsoft 365 mail services, removal of your initial .onmicrosoft domain isn't supported.
To add an onmicrosoft.com domain:
In the Microsoft 365 admin center, select Settings, and then select Domains.
Select an existing .onmicrosoft.com domain.
On the Overview tab, select Add onmicrosoft.com domain.
On the Add onmicrosoft domain page, in the Domain name box, enter the name for your new onmicrosoft.com domain.
Note
Make sure to verify the spelling and accuracy of the domain name you entered. You're limited to five onmicrosoft.com domains, and currently they can't be deleted once they're created.
Select Add domain. When successfully added, you'll see a message stating this.
You can set any domain you own as your default domain.
For more information on how to add an onmicrosoft.com domain, see Add or replace your onmicrosoft.com domain.
Domains FAQ (article)
What is a domain? (article)
Buy a domain name in Microsoft 365 (article)
Add DNS records to connect your domain (article)
Change nameservers to set up Microsoft 365 with any domain registrar (article)
Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreTraining
Module
Add a custom domain in Microsoft 365 - Training
This module provides instruction on how to add a custom domain to your Microsoft 365 deployment. It also examines the DNS requirements that are necessary to support a new domain.
Certification
Microsoft 365 Certified: Administrator Expert - Certifications
If you’re an administrator who deploys and manages Microsoft 365 and performs Microsoft 365 tenant-level implementation and administration of cloud and hybrid environments, this certification is designed for you.