How to Set Up O365 DNS on Media Temple

  • Applies to: All SERVICES
    • Difficulty: Easy
    • Time Needed: 5
    • Tools Required: AccountCenter access


This tutorial will show you how to edit your DNS zone file to point to Office 365. O365 is Microsoft's subscription based productivity suite. In order to use 0365 for email you'll need to create specific entries in your DNS zone file.

  • Typically it takes about 15 minutes for DNS changes to propagate, but it may take up to 24 hours. DNS Propagation refers to the time for any DNS changes to transmit across the Internet. Your O365 service may not be 100% available during this time. 

This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by Media Temple. Please take a moment to review the Statement of Support.


1. Begin by logging into the AccountCenter

2. Click on Domains and then select the domain that you would like to point to O365.


3. Click Edit DNS Zone File in the DNS & Zone Files box.


4.Now, use the Add Row button to create 9 blank records.


5. Add the data from the table below. To avoid any issues, make sure that you add all of this information in the format depicted here.

Name Type Data
autodiscover CNAME
lyncdiscover CNAME
msoid CNAME
  MX 10
  TXT v=spf1 -all
_sip._tls SRV 100 1 443
_sipfederationtls._tcp SRV 100 1 5061

  • There are two values that need to be replaced with unique information:
    • Replace msXXXXXXXX in your first TXT record with your unique code. If you need assistance, Microsoft has an article located here that can help you find this information.  
    • Replace yourdomain-com in your MX record, with your actual domain name.
      • If in your Microsoft Outlook account you see the required MX listed as, you will want to use your unique code instead of
  • Note that neither the MX or TXT records have anything in the name field.

  • The AccountCenter will automatically place a period at the end of each record. This is normal and will not cause an issue.

 Once you’ve entered each of the records, click on Save Changes and that’s it!