How to set up Office 365 in cPanel

This article will show you how to setup Office 365 in Cpanel


Step 1– Login to cPanel


  • Please see our article on logging into cPanel here.



Step 2– Click on Zone Editor in your Domains section.





Step 3– Click on Manage for the relevant domain.





  • To add a new record, select the record type via the drop-down menu and input the record’s name, TTL, and destination.





Step 4 – Configure DNS for Office 365

  • To set up Microsoft Office 365  add/update the following DNS records for the domain(s) in question:


# Record Type TXT 3600 TXT MS=ms000000 3600 TXT “v=spf1 -all”
# Record Type MX 300 MX 0
# Record Type CNAME
autodiscover 3600 CNAME
sip 3600 CNAME
lyncdiscover 3600 CNAME
msoid 3600 CNAME
enterpriseregistration 3600 CNAME
enterpriseenrollment 3600 CNAME
# Record type SRV
_sip._tls 3600 SRV 100 1 443
_sipfederationtls._tcp 3600 SRV 100 1 5061

INFO: The MS record shown in red is a number supplied by Microsoft as part of the verification process. Please see Microsoft’s knowledge-base on how to retrieve this number by clicking here.


Step 5 – Change email routing to Remote


  • Select your domain in the drop-down section, ensure that your routing is set to “Remote Mail Exchange” and click on “Change”. 



That’s it! You’ve successfully added Office 365 records. Typically, it takes about 15 minutes for these changes to take effect. Since it needs to update across the Internet’s DNS system, it can take up to a few hours. 

Was this post helpful?