Skip to content

Add Custom Domain to Microsoft 365

In this guide, you’ll learn how to add a custom domain to your Microsoft 365 Tenant. You will also learn how to verify your domain with a DNS text record.

  • To add, modify, or remove domains, you must be a Domain Name Administrator of a business or enterprise plan.
  • A purchased domain name from a domain registrar
  • Access to the domain registrar to verify domain ownership and add DNS records
  1. Sign into the Microsoft 365 Admin Center

  2. Navigate to Setting > Domains.

    settings domain

  3. Click Add Domain

    click add domain

  4. Enter the name of the domain you want to add, then select Use this domain. In this example, I’ll be adding the domain name entralyzer.net.

    enter domain name

  5. On the Verify you own your domain page, you have three options to verify domain ownership.

    1. Add a TXT record to the domains DNS records
      • This requires access to the DNS records at your domain registrar
    2. If you can’t add a TXT record, add an MX record to the domains DNS records.
      • This would require the same access as number 1.
    3. Add a text file to the domain’s website.
      • Recommended if you’ve already set up a website using this domain.

    In this example, I’ll walk through adding a TXT record.

    verify your domain

  6. On the Add a record to verify ownership page, you are provide the TXT record details that need added to your domain registrar.

    Example TXT record provided by Microsoft

    dns text record details

    1. Login to your domain registrar

    2. Go to the domain DNS settings

    3. Add New DNS record

    4. Enter the provided DNS TXT record details and save the changes

      enter txt record details

  7. When you have added the DNS TXT record to your domain registrar go back to the Microsoft 365 domain setup page and click Verify.

    click verify domain

  8. On the How do you want to connect your domain? page, you are asked how you want to add additional DNS records. These additional records are needed for email, spam protection and other Microsoft services to work with your custom domain. Choose one of the following options:

    1. Add your own DNS records
      • If you have a complex DNS record structure, choose this option.
    2. Set up my online services for me
      • Update your domain’s name servers to point to Microsoft and Microsoft 365 will add the rest of the DNS records.
    3. Skip and do this later
      • Your Microsoft services won’t be connected to your custom domain. You can come back and finish the set up at a later time.

    choose how to connect domain

    If you choose to add your own dns records you will get a list of DNS records you will need to manually add to your registrar.

    Example DNS records

    I walk through adding the mx records in a another article.

    additional dns records

  9. Select Finish and the domain setup is complete.

    click finish

If you did not complete the setup or need to check your list of custom domains go to Settings > Domains.

domain list

From this page you can select a domain and choose from the provided options.

These guides walk through adding the DNS records for the various domain registrars.