Adding custom domain name to SharePoint online site

How do I add my own custom domain  name to SharePoint Online site which I created?
If you have SharePoint online site and want to add a custom domain name to your site, the process is easy.

Under Management click on Domain

Your Microsoft Office 365 account comes with a domain name——but if you have your own domain name already, you can use that domain name with Microsoft Office 365 services too. To add your domain, click Add a domain.

If you don’t already own a domain name, you can purchase one from a domain registrar, and then come back to add it to Microsoft Office 365.  How to purchase a domain



Specify domain

To get started adding your domain to Microsoft Office 365, type the domain name that you want to add—for example—and then click Check domain. We’ll get information about the domain name and where it’s registered, and then provide a summary for you to review before you continue.

You can only add domain names that you own. If you don’t already own a domain name, you can purchase one from a domain registrar, and then return to add it to Microsoft Office 365.



Verify domain

Before we can add your domain name to Microsoft Office 365, we must verify that you are the owner of the domain. To begin the verification process, you add a specific record to the DNS records at your domain registrar. We then look for the record to verify ownership.

Each DNS provider supports different features, so we provide two ways that you can verify ownership: by creating a TXT record or an MX record.
Note: The new DNS record does not affect how your domain works. Learn more
Select a verification method: Add TXT record (preferred method) Add MX record (alternate method)

Use the table and instructions below to create a TXT record for a domain that is registered at your domain registrar. For general instructions about verifying a domain, see Verify a domain at any domain name registrar.

Create a TXT record at your domain registrar

Note: Your domain registrar’s website may differ from that described in these instructions.




Alias or Host Name
Destination or Points to Address
v=verifydomain MS=ms95651193
1 Hour

  1. Sign in to your domain registrar’s website, and then select the domain that you’re verifying.
  2. In the DNS management area for your account, choose the option to add a TXT record for your domain.
  3. In the TXT box for the domain, type or paste
  4. In the Fully qualified domain name (FQDN) or Points to box, type or paste v=verifydomain MS=ms95651193.
  5. Where it asks for TTL information, type or paste 1 Hour.
  6. Save your changes, and then sign out of your domain registrar’s website. Wait at least 15 minutes for this change to take effect.
  7. Return to Office 365 and click the Verify button below.

Typically it takes about 15 minutes for your changes to take effect. However, it can take up to 72 hours for the record that you created to propagate through the DNS system.


Creating a DNS record at eNom Central for Office 365 SharePoint Online

Office 365 uses a DNS record that you create at eNom Central to confirm that you own the domain. Use the instructions below to create a TXT record (or, if you prefer, an MX record) for a domain that is registered at your registrar.

To add a TXT record to verify your domain in Office 365, do the following.

  1. Sign in to your account at
  2. In the header, under Domains, click My Domains.
  3. On the My Domain page, select the domain name that you’re verifying.


  4. In the Manage Domain drop-down list, choose Host Records.


  5. In the first empty row of the Edit Host Records section, in the Host Name box, type or paste the Alias or Hostname that you recorded in
  6. In the Record Type box, select TXT.
  7. In the Address box in the same row, type or paste your Destination or Points To Address that you recorded
  8. Click Save.


Step 2: Verify Domain

Once you make all the changes to your Domain name wait for 24 to 72 hours.  Go to Office 365 administration and verify click on verify your domain

Once verified your status will be Active



If you want to change your SharePoint address to your custom domain, click on Change Address. You should see your domain name listed in Select Domain.
Select your domain name and click OK



You will get a message saying Address Changes in Progress

Change my SharePoint Address

Your current SharePoint address is:
To change this address, select a domain from the drop-down box and click OK.

Select a domain

Your new SharePoint address will be:

Address change in progress

Completing this change takes up to 24 hours. While we’re finalizing the change, you can access your site at
Until the address change is complete, we recommend that you don’t make changes to your site or modify shared documents.
When the changes are complete the website address on the Domains page is updated.



Step 3: Edit Records

Click on your Custom Domain and go to Domain properties. In domain properties click on DNS Manager



You will see your DNS records for your domain. Take this information and added to your domain name.




In this demo, I my domain name is in eNom and this is how I changed the DNS settings



After all these changes, Whey I type in my custom domain, it takes me to SharePoint Online Site.
Here is the end result of all theses works


Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

One thought on “Adding custom domain name to SharePoint online site

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: