How to setup and configure a domain to Microsoft 365 tenant
We will explain in this article that how do we can Setup a domain in Office 365 tenant? If you have already created an Office 365 tenant. Only after we can add a domain to Office 365 tenant, so need to sign in to Microsoft 365 admin center. To add, modify, or remove domains, you must be a Domain Name Administrator or Global Administrator of a business or enterprise plan.

- In the Microsoft 365 admin center, choose Setup.
- Under Get your custom domain set up, select View > Manage > Add domain.
- Enter the new domain name that you want to add, and then select Next.
- Sign in to your domain registrar, and then select Next.
- Choose the services for your new domain.
- Select Next > Authorize > Next, and then Finish. Your new domain has been added.
You can refer this YouTube video and add, setup a domain in your Microsoft 365 tenant. You can learn after watching this video that How do I add a domain to Microsoft 365?
Step by Step Office 365 domain setup and configuration video
How do I add a domain to Office 365 tenant?
Follow these steps to add, set up, or continue setting up a domain.

- Go to the admin center at https://admin.microsoft.com.
- 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.
- If you will authorize Microsoft to your domain registrar, Microsoft will set up your records automatically by having you sign in to your registrar and confirm the connection to Microsoft 365. You’ll be returned to the admin center and Microsoft will then automatically verify your domain.
- You can use a TXT record to verify your domain. Select this and select Next to see instructions for how to add this DNS record to your registrar’s website. This can take up to 30 minutes to verify after you’ve added the record.
- Choose how you want to make the DNS changes required for Microsoft to use your domain.
2. Choose I’ll add the DNS records myself if you want to attach only specific Microsoft 365 services to your domain or if you want to skip this for now and do this later.
- Choose Add the DNS records for me if your registrar supports Domain Connect, and Microsoft will set up your records automatically by having you sign in to your registrar and confirm the connection to Microsoft 365.
- If you chose to add DNS records yourself, select Next and you’ll see a page with all the records that you need to add to your registrars website to set up your domain.
- Select Finish – You’re done!

Step by step configuration to setup a domain in Office 365 tenant
Step 1: Log into your Office 365 account.
Step 2: Navigate to the Setup > Domains page.
Step 3: From there, select the domain you want to use, then select Start Setup, which will then display the value needed in the next step.
Step 4: Go to the Verify Domain page.
Step 5: Select Add a TXT record instead and press Next.
Step 6: Copy the TXT value that is displayed, which should look something like the following:
MS=msXXXXXXXX
Step 7: Create the TXT Record using this value via the Zone Editor in cPanel.
Step 8:Go back to your Office 365 account and verify your domain.
Step 9: Remove the TXT record in the cPanel Zone Editor or with domain registrar once verified.
After this step is complete, your domain is verified with Microsoft 365. You can choose to close the wizard at this point.

If you want to add additional records, such as those to allow Microsoft Teams chats with external people – or if you don’t have an existing email provider and want to receive mail at Microsoft 365 now, then you will want to choose Continue to activate relevant DNS records.
On the Add DNS records page, we’ll select Microsoft Teams and Skype for Business. This will show the specific DNS records we need to add. Much like if you have an email server you will not add MX records. If it will become your first email server then you can add MX record as well.
Add DNS records in Office 365
How do I add DNS records to Office 365?
Exchange and Exchange Online protection will list three DNS records that you’ll need to add for your domain at your DNS host:
MX record for incoming mail
Don’t do it now, as it will impact the production mail flow. There is no Hybrid Configuration in place yet, and Exchange Online wouldn’t know how to route mail to the on-premises mailboxes for the domain. We will configure the record in another stage.CNAME record for autodiscover
Don’t change it yet. Autodiscover needs to resolve to the on-premises Exchange Server as long as we still have mailboxes on-premises. We will configure the record in another stage.TXT record for SPF
This can be added to our existing SPF record.

When these DNS records have been successfully added, we’ll choose Continue. This will take us to the last page of the wizard.

After choosing Done, the custom domain will be added to your Office 365 tenant. If it’s the first custom domain, it will be set as your default domain.
Conclusion:
In this article we have explained that how to add domain in newly created Microsoft Office 365 tenant and how to verify the DNS records as well. Hope you will understand this. If, you have any doubt then you are feel free to reach me by comment in this article. I have already created a video on this.