Create DNS records at MyDomain for Office 365

 Caution    If you’re using Office 365 Small Business, we recommend that you choose to have Office 365 manage your DNS records. No matter which Office 365 plan you use, if you manage your DNS records at MyDomain, there are significant service limitations, and you may want to switch to different DNS hosting provider:

  • The MyDomain website doesn’t support SRV records, which means several Lync Online and Outlook Web App features won’t work.

If you choose to manage your own Office 365 DNS records at MyDomain despite the service limitations, here’s how to set them up:

If you’ve closed Office 365, start by gathering the information you need to create Office 365 DNS records.

 Note    Typically it takes about 15 minutes for DNS changes to take effect. However, it can take up to 72 hours for a changed record to propagate through the DNS system. If you’re having trouble adding DNS records, see Troubleshoot issues after changing your domain name or updating DNS records.

Find your DNS records at MyDomain

Use the steps in the following table to get to the right spot in the MyDomain website to edit your DNS records.

Task What you’ll see

Go to the page that has the DNS records for your domain.

  1. In your browser, go to your domains at MyDomain and sign in.
  2. In the DOMAIN section, click DomainCentral.
  3. On the DomainCentral page, click the domain name you are changing.
  1. Click DNS.

The DNS section for your domain opens.

MyDomain-Configure-2-1,2

MyDomain-Configure-2-3

Add a record to configure your domain for Exchange Online

To add the three records at MyDomain that are required for email, use the steps in the following table.

Task What you’ll see

Add a mail exchange record (MX record).

  1. On the MyDomain website, open the DNS section for your domain.

To find the DNS section for your domain, see Find your DNS records at Mydomain.

  1. In the Modify drop-down list, select MX Record.
  2. Copy the values from the MX row in the Exchange Online section of the DNS settings page into the empty record.
  • Priority
    use 0. For more information about priority, see What is MX priority?
  • Host: use the Host name value.
  • Points To: use the Points to address value.
  1. Click Add.

MyDomain-Configure-3

Remove any obsolete MX records.

If you have an old MX record for this domain that routes email somewhere else:

  1. Find the row for the old record.
  2. On the Action drop-down list, select Remove.
  3. In the confirmation dialog box, click OK.

Add a CNAME record.

  1. In the Modify drop-down list, select CNAME Alias.
  • Copy the values from the CNAME row in the Exchange Online section of the Office 365 Add DNS records page into the empty record:
    • Host: use the Host name value.
    • Points to: use the Points to address value.
  1. Click Add.

MyDomain-Configure-5

Add a TXT record.

  1. In the Modify drop-down list, select TXT/SPF Record.
  2. In the Content box, copy or type one of the following values:
  • If your organization is cloud-only with all its mailboxes in Exchange Online, use:

v=spf1 include:outlook.com –all

  • If you have a hybrid deployment and use an on-premises computer running Exchange Server to send outbound mail, or if you’re a Forefront Online Protection for Exchange (FOPE) stand-alone customer, use:

v=spf1 ip4: <server ip address> include:outlook.com -all

  • If you have multiple outbound mail servers, include the IP address for each mail server in the TXT record. Separate each IP address with a space. For example:

v=spf1 ip4:192.168.0.1 ip4:192.168.0.2 ip4:192.168.0.3 include:outlook.com -all

  1. Click Add.

MyDomain-Configure-6

Add a record to configure your domain for Lync Online

To add the four records at MyDomain that are required for Lync Online, use the steps in the following table.

Task What you’ll see

Add the first CNAME record for Lync Online.

  1. On the MyDomain website, open the DNS section for your domain.

To find the DNS section for your domain, see Find your DNS records at Mydomain.

  1. In the Modify drop-down list, select CNAME Alias.
  2. Copy the values from the first CNAME row in the Lync Online section of the Office 365 Add DNS records page into the empty record:
  • Host: use the Host name value.
  • Points to: use the Points to address value.
  1. Click Add.

MyDomain-Configure-5

Add the second CNAME record for Lync Online.

  1. In the Modify drop-down list, select CNAME Alias.
  2. Copy the values from the first CNAME row in the Lync Online section of the Office 365 Add DNS records page into the empty record:
  • Host: use the Host name value.
  • Points to: use the Points to address value.
  1. Click Add.

Add the SRV records.

Currently MyDomain doesn’t support SRV records. Learn about this service limitation.

Add a record for your SharePoint Online public website (if needed)

 Important    If you host your public website on Office 365, before making it available from your custom domain name, make sure you have finished creating your SharePoint Online public website and are ready to make it available to the public.

When you’re ready to create the CNAME record, use the following steps to add the record at MyDomain.

ShowFor Office 365 Enterprise or Office 365 Midsize Business

Get an overview of the process by reading the topic that applies to you:

Then, when you’re ready to create the required CNAME record, use the steps in the following table.

Task Action

Add a CNAME record.

  1. On the MyDomain website, open the DNS section for your domain.

To find the DNS section for your domain, see Find your DNS records at Mydomain.

  1. In the Modify drop-down list, select CNAME Alias Record.
  2. Add the required information in the empty record:
  • Host: use the name of your custom domain; for example, www.contoso.com.
  • Points to: use the target address value from the DNS Information page.

Save your changes.

Click Add.

ShowFor Office 365 Small Business

Get an overview of the process by reading Use a custom domain name for your Office 365 public website address.

If you manage your DNS records at MyDomain, when you’re ready to create the CNAME record, use the steps in the following table.

Task Action

Add a CNAME record.

  1. On the MyDomain website, open the DNS section for your domain.

To find the DNS section for your domain, see Find your DNS records at Mydomain.

  1. In the Modify drop-down list, select CNAME Alias Record.
  2. Add the required information in the empty record:
  • Host: use www.
  • Points to: use name.sharepoint.com.
    Name is the name of your custom domain, for example contoso.sharepoint.com.
Save your changes. Click Add.

Add an additional record that’s required for Office 365

To add the additional CNAME record at MyDomain that is required for Office 365, use the steps in the following table. Learn why this record is needed.

Task What you’ll see

Add the additional CNAME record for Office 365

  1. On the MyDomain website, open the DNS section for your domain.

To find the DNS section for your domain, see Find your DNS records at Mydomain.

  1. In the Modify drop-down list, select CNAME Alias Record.

Copy the values from the CNAME row in the Additional Office 365 records section of the Office 365 Add DNS records page into the empty record:

  • Host: use the Host name value.
  • Points to: use the Points to address value.
  1. Click Add.

MyDomain-Configure-5

Add a record to verify that you own the domain, if you haven’t already

To add a record at MyDomain to verify your domain, use the steps in the following table.

 Note    This record is used only to verify that you own your domain; it doesn’t affect anything else.

Task What you’ll see

Gather information from Office 365.

  • If you’re not signed in to Office 365, sign in to Office 365. In the header, click Admin >Office 365, and then click Domains.
  1. If you haven’t yet added a domain, on the Domains page, click Add a domain, and follow the steps in the wizard.

For more information about adding a domain, see Add your domain to Office 365.

  1. If you’ve already added a domain, on the Domains page, in the Status column for the domain that you are verifying, click Setup in progress.
  2. On the Add a domain to Office 365 page, in the See instructions for performing this step with drop-down list, select General instructions.
  3. From the table, copy or write down the Destination or Points to Address information. You’ll need it for the next step.

Verify General

 Verify General 1.2

Verify General 1.3

Add a TXT record.

  1. On the MyDomain website, open the DNS section for your domain.

To find the DNS section for your domain, see Find your DNS records at Mydomain.

  1. In the Modify drop-down list, select TXT/SPF Record.
  2. In the empty row, in the Content box, type or paste the Destination or Points to Address.
  3. Click Add.

MyDomain-Verify-2

Verify your domain in Office 365.

  1. Wait at least 15 minutes for the changes to take effect across the Internet.
  1. If you’re not yet signed in to Office 365, sign in to Office 365, and in the header, go to Admin > Office 365, and then click Domains.
  1. In the Domains list, in the Status column for the domain you are verifying, click Click to verify domain.
  2. On the Confirm that you own your_domain page, click done, verify now, and in the confirmation dialog box, click Finish.
 
 
Applies to:
Office 365 Enterprise admin, Office 365 Midsize Business admin, Office 365 Small Business admin