How do I set up my domain with Office 365?

Step 1 - Log in to Office 365
Step 2 - Enter your domain
Step 3 - Copy verification record
Step 4 - Go to DNS
Step 5 - Add the verification record
Step 6 - Set up your online services
Step 7 - Update DNS Settings
Step 8 - Add an MX record
Step 9 - Add CNAME records
Step 10 - Add a TXT record
Step 11- Add SRV records
Step 12 - Confirm DNS records with Microsoft
Step 13 - Congratulations!

Note: If you have subscribed to Office 365 Plus through One.com, no further set up is required.

In this guide we explain how to set up Office 365 on your domain if you have not subscribed to Office 365 Plus through One.com.

Office 365 is a third party product, and the info in the records might change, so please check your settings with Microsoft.

First you need to verify with Microsoft, that you are the owner of the domain. Next you need to set up the DNS records in your One.com Control Panel.


Step 1 - Log in to Office 365

Log in to your Office 365 portal. In the menu to the left click Settings and then Domains.
Click + Add domain at the top of the screen.


Go to domains and click add domain

Step 2 - Enter your domain

Enter the domain you want to setup with Office 365 and click Next.


Enter your domain in the Office 365 portal

Step 3 - Copy verification record

You now need to verify that you are the owner of the domain by adding a TXT record.
Copy the TXT Value that Microsoft has provided.


You need to add the following TXT record to verify your domain

Step 4 - Go to DNS

Open another browser window and log in to the One.com control panel and go to DNS.


Click DNS in the control panel

Step 5 - Add the verification record

Go to Web DNS and add a TXT record with the settings provided by Microsoft. Click the green + icon to save.

Go back to the Office 365 portal and click Verify.


Add the TXT record to verify you own the domain

Step 6 - Set up your online services

Select I'll manage my own DNS records and click Next.


Select that you want to manage your own DNS

Step 7 - Update DNS Settings

You now see an overview of the DNS records that you need to set up, to make your domain work with Office 365.

Go back to DNS in the One.com control panel, but keep this page open so you can use it as a reference.


Overview of DNS settings you need to add

Step 8 - Add an MX record

Go to Mail DNS and add an MX record with the settings provided by Microsoft. Click the green + button to save.


Add the MX record provided by Microsoft

Step 9 - Add CNAME records

Go to Web DNS and add the CNAME records with the settings provided by Microsoft.


Add the CNAME records provided by Microsoft

Step 10 - Add a TXT record

You now need to add a TXT record, with which you add SPF (Sender Policy Framework) to your domain. To make sure you keep receiving emails from our services, we recommend you to adjust the string provided by Microsoft.

Microsoft specifies this:

v=spf1 include:spf.protection.outlook.com -all

We advice you to change it to:

v=spf1 include:spf.protection.outlook.com include:_custspf.one.com -all

Add the Hostname and TTL provided by Microsoft, but leave the Priority field empty.
Click the green + icon to save.


Add the TXT record provided by Microsoft

Step 11- Add SRV records

Almost done! You now need to add two SRV records.

Microsoft needs you to add values for protocol, port and weight. For these values there are no seperate fields in the DNS settings at One.com. To set this up correctly you need to combine certain values in one field.

First record:

Domain (Hostname): _sip._tls
Type: SRV
TTL: 3600
Priority: 100
Value: 1 443 sipdir.online.lync.com

Second record:

Domain (Hostname): _sipfederationtls._tcp
Type: SRV
TTL: 3600
Priority: 100
Value: 1 5061 sipfed.online.lync.com

Add the SRV records provided by Microsoft

Step 12 - Confirm DNS records with Microsoft

Return to the Office 365 portal and click Verify, at the bottom of the page. If everything is setup correctly you are forwarded to the confirmation page.


Click Okay I have added the records

Step 13 - Congratulations!

You are all setup!


You are all setup

Related articles:

Add an SPF record
What is priority?
What is TTL?