Create DNS records at myhosting.com for Office 365

If myhosting.com is your DNS hosting provider, here’s how to set up your DNS records for Office 365:

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 myhosting.com

Use the steps in the following table to get to the right spot in the myhosting.com 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 myhosting.com and sign in.
  2. On the Home page, scroll down to the Domains section, and then click Hosted Domains.
  3. On the Hosted Domains page, click the domain name.
  1. On the Sites & Domains page for your domain, click the DNS tab, and then click the DNS Records tab.

The List of DNS records page opens.

MyHosting-Configure-2-2

MyHosting-Configure-2-3

Add records to configure your domain for Exchange Online

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

Task What you’ll see

Add a mail exchanger record (MX record).

  1. On the List of DNS records page, click Add new DNS Record.

To find the List of DNS records page, see Find your DNS records at myhosting.com.

  1. In the DNS Record Type drop-down list, select MX.

Copy the values from the MX row in the Exchange Online section of the Office 365 Add DNS records page into the empty record:

  • Mail domain: use the Host name value.
  • Preference: select Custom, and then use the Priority value. For more information about priority, see What is MX priority?
  • Mail exchanger: use the Points to address value.
  • TTL: leave the Default TTL option selected.
  1. Click Finish.

MyHosting-Configure-3-1

MyHosting-Configure-3-2

Remove any obsolete MX records.

If you have an old MX record for this domain that routes email somewhere else, delete it.

  1. On the List of DNS records page, select the old record, and then click Delete.
  2. In the confirmation dialog box, click OK.

Add a CNAME record.

  1. On the Manage Domain page, click the DNS tab, and then click DNS Records.
  2. Click Add New DNS Record.
  3. In the DNS Record Type drop-down list, select CNAME.

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

  • Domain: use the Host name value.
  • Canonical name: use the Points to address value.
  • TTL: leave the Default TTL option selected.
  1. Click Finish.

MyHosting-Configure-5

Add a TXT record.

  1. On the Manage Domain page, click the DNS tab, and then click DNS Records.
  2. Click Add New DNS Record.
  3. In the DNS Record Type drop-down list, select TXT.

Copy the values from the TXT row in the Exchange Online section of the Office 365 Add DNS records page into the empty record:

  • Domain: use the TXT Name value.
  • Data: use the TXT Value value
  • TTL: leave the Default TTL option selected.
  1. Click Finish.

MyHosting-Configure-6

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

Add records to configure your domain for Lync Online

To add the four records at myhosting.com 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 List of DNS records page, click Add new DNS Record.

To find the List of DNS records page, see Find your DNS records at myhosting.com.

  1. In the DNS Record Type drop-down list, select CNAME.

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:

  • Domain: use the Host name value.
  • Canonical name: use the Points to address value.
  • TTL: leave the Default TTL option selected.
  1. Click Finish.

MyHosting-Configure-5

Add the second CNAME record for Lync Online.

  1. On the List of DNS records page, click Add new DNS Record.
  2. In the DNS Record Type drop-down list, select CNAME.

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

  • Domain: use the Host name value.
  • Canonical name: use the Points to address value.
  • TTL: leave the Default TTL option selected.
  1. Click Finish.

Add the first SRV record.

  1. On the List of DNS records page, click Add new DNS Record.
  2. In the DNS Record Type drop-down list, select SRV.

Copy the values from the first SRV row in the Lync Online section of the Office 365 Add DNS records page into the empty record:

  • Service
  • Preference: use the Priority value.
  • Weight
  • Server Host: in the first box, use the Name value. In the second box, use the Target value.
  • TTL: leave the Default TTL option selected.
  1. Click Finish.

MyHosting-Configure-9

Add the second SRV record.

  1. On the List of DNS records page, click Add new DNS Record.
  2. In the DNS Record Type drop-down list, select SRV.

Copy the values from the second SRV row in the Lync Online section of the Office 365 Add DNS records page into the empty record:

  • Service
  • Preference: use the Priority value.
  • Weight
  • Server Host: in the first box, use the Name value. In the second box, use the Target value.
  • TTL: leave the Default TTL option selected.
  1. Click Finish.

Add records to configure your public website on SharePoint Online (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 myhosting.com.

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 List of DNS records page, click Add new DNS Record.

To find the List of DNS records page, see Find your DNS records at myhosting.com.

  1. In the DNS Record Type drop-down list, select CNAME.
  2. Add the required information in the empty record.
  • Domain: use the name of your custom domain; for example, www.contoso.com.
  • Canonical name: use the target address value from the DNS Information page.
  • TTL: leave the Default TTL option selected.

Save your changes.

Click Save.

You’ll receive a message that says the update was successful.

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.

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 List of DNS records page, click Add new DNS Record.

To find the List of DNS records page, see Find your DNS records at myhosting.com.

  1. In the DNS Record Type drop-down list, select CNAME.
  2. Add the required information in the empty record.
  • Domain: use the name of your custom domain; for example, www.contoso.com.
  • Canonical name: use name.sharepoint.com.
    Name is the name of your custom domain, for example contoso.sharepoint.com.
  • TTL: leave the Default TTL option selected.

Save your changes.

Click Save.

You’ll receive a message that says the update was successful.

Add an additional record that’s required for Office 365

To add the additional record at myhosting.com 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 List of DNS records page, click Add new DNS Record.

To find the List of DNS records page, see Find your DNS records at myhosting.com.

  1. In the DNS Record Type drop-down list, select CNAME.

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:

  • Domain: use the Host name value.
  • Canonical name: use the Points to address value.
  • TTL: use the default value.

MyHosting-Configure-5

Save your changes.

  • Click Save.

You’ll receive a message that says the update was successful.

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

To add a record at myhosting.com 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, go to 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 List of DNS records page, click Add New DNS Record.

To find the List of DNS records page, see Find your DNS records at myhosting.com.

  1. In the DNS Record Type drop-down list, select TXT.
  2. In the empty row, enter the following:
  • Domain: type or paste @
  • Data: use the Destination or Points to Address value.
  • TTL: leave the Default TTL option selected.
  1. Click Finish.

MyHosting-Verify-2

Verify your domain in Office 365.

  1. Wait at least 15 minutes for the changes to take effect across the Internet.

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.
  1. 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