Create DNS records at any DNS hosting provider for Office 365

Watch the video (3:29)

If you know how to update DNS records at your DNS host, go here to find a list of the DNS records required for Office 365. Note that to set up your MX record, you will need to get your specific “MX token” by looking at the list of DNS records for your domain. To find your DNS record settings, see the steps below for Exchange Online.

If you need some help figuring out how to add the required DNS records and your DNS hosting provider is not listed in Create DNS records for Office 365, first gather the information you need to create Office 365 DNS records. Then follow these general steps for setting up your DNS records with Office 365 services:

Note that the exact name of the box you type or paste the information into to create each type of DNS record is different for each DNS hosting provider. Your DNS hosting provider may have Help available to assist you in mapping the instructions shown here to the exact fields on their website.

 Important    Some DNS hosting providers don’t let you create all the required record types, which causes service limitations. If your provider doesn’t support SRV, TXT, or CNAME records, we recommend that you transfer your domain to a provider that supports all required record types. For a fast, automated process, transfer your domain to GoDaddy.

Add records to configure your domain for Exchange Online

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

For the specific values to use (except for the MX record, which is specific to each Office 365 account), see the section External DNS records required for Exchange Online in DNS records for Office 365.

Task Action
Find the page where you can create records for your domain.
  1. Sign in to your DNS hosting provider’s website.
  2. Select your domain.
  3. Find the page where you can edit DNS records for your domain.
Add a mail exchanger record (MX record).
  1. Create a new MX record.
  2. Copy the values into the empty record from the MX row in the Exchange Online section of the Office 365 DNS manager page (Admin > Domains or Admin > Manage your domains for website and email, then choose Manage DNS > View DNS records.
  3. Set the priority of the MX record to the highest value available, typically 0. For more information about priority, see What is MX priority?
  4. Save the record.
Remove any obsolete MX records. If you have an old MX record for this domain that directs email to another location, delete it.
Add CNAME records.
  1. Add new CNAME records. Copy the values listed for CNAME records into the empty record from the section External DNS records required for Exchange Online in DNS records for Office 365.
  2. Save the records.
Add TXT (including SPF) records.
  1. Add new TXT records. Copy the values listed for TXT records (including the SPF record) into the empty record from the section External DNS records required for Exchange Online in DNS records for Office 365.
  2. Save the records.

Add records to configure your domain for Lync Online

To add the four records that are required for Lync Online, use the steps in the following table. For the specific values to use, see the section External DNS records required for Lync Online in DNS records for Office 365.

Task Action
Find the page where you can create records for your domain.
  1. Sign in to your DNS hosting provider’s website.
  2. Select your domain.
  3. Find the page where you can edit DNS records for your domain.
Add CNAME records.
  1. Add new CNAME records. Copy the values listed for CNAME records into the empty record from the section External DNS records required for Lync Online in DNS records for Office 365.
  2. Save the records.
Add SRV records.
  1. Add new SRV records. Copy the values listed for SRV records into the empty record from the section External DNS records required for Lync Online in DNS records for Office 365.
  2. Save the records.

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 designing and customizing the website and are ready to make it available to the public.

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 your DNS hosting provider.

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
Gather information from SharePoint Online.
  1. If you’re on the Domains page in Office 365, go to the SharePoint admin center:
  1. Click Domains, click the domain name, and then click Edit domain intent.
  2. Select SharePoint Online.
  3. Click Save.
  4. Click SharePoint admin center.
  1. From the SharePoint admin center:
  1. Click Manage site collections, and then select the check box next to your public website.
  2. On the ribbon, click DNS Information.
  1. Write down or copy the target address so you’ll have it ready for the next step, Add a CNAME record.
Add a CNAME record.
  1. At your DNS hosting provider, add a CNAME record.
  2. Add the required information in the empty record:
  • Use the name of your custom domain; for example, www.contoso.com.
  • Use the target address value from the step (above) where you gathered information from SharePoint Online.
  • For TTL, use the default for your provider, or set it to 3600 seconds or 1 hour.
  1. Save the record.

ShowFor Office 365 Small Business

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

When you’re ready to create the CNAME record at your DNS hosting provider, use the steps in the following table.

Task Action
Find the page where you can create records for your domain.
  1. Sign in to your DNS hosting provider’s website.
  2. Select your domain.
  3. Find the page where you can edit DNS records for your domain.

Add a CNAME record.

  1. Add a CNAME record.
  2. Add the required information in the empty record:
  • Map the name of your custom domain; for example, www.contoso.com to name.sharepoint.com.
    Name is the name of your custom domain, for example contoso.sharepoint.com.
  1. Save the record

Add an additional record that’s required for Office 365

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

Task Action
Add the additional CNAME record for Office 365
  1. Add a CNAME record.
  2. Copy the values from the CNAME row in the Additional Office 365 records section of the Office 365 DNS manager page into the empty record:
  • Use the Host name value.
  • Use the Points to address value.
  • For TTL, use the default for your provider, or set it to 3600 seconds or 1 hour.

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

Here are the general steps to add a DNS record to verify that you own the domain.

Watch the video (4:48)

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

Task Action
Gather information from Office 365.
  1. If you’re not signed in to Office 365, sign in to Office 365. In the header, click Admin, and then click Office 365.
  2. Click Domains.
  3. 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.
  4. If you’ve already added a domain, on the Domains page, in the Action column for the domain that you’re verifying, click Setup not started.
  5. On the Add a domain to Office 365 page, in the See instructions for performing this step with drop-down list, select General instructions.
  6. From the table, copy or write down the Destination or Points to Address information.

You’ll need this value to complete the next steps.

Find the area on your DNS hosting provider’s website where you can create a new record.
  1. Sign in to your DNS hosting provider’s website.
  2. Select your domain.
  3. Find the page where you can edit DNS records for your domain.
Create a new TXT or MX record.
  1. Create a new TXT or MX record.

 Note    You have to create only one of these records. TXT is the preferred record type, but some DNS hosting providers don’t support it. In that case, you can create an MX record instead.

TXT record:

  • For alias or host name, type or paste @ or your domain name.
  • For value, type or paste the Destination or Points to Address.
  • If TTL is listed, use 3600 seconds or 1 hour.

MX record:

  • For host name, type or paste @
  • For value, type or paste the Destination or Points to Address.
  • For priority, to avoid conflicts with the MX record used for mail flow, use a lower priority than the priority for any existing MX records. For more information about priority, see What is MX priority?
  • If TTL is listed, use 3600 seconds or 1 hour.

2. Save the new record.

Verify your domain in Office 365.
  1. Wait 5 to 15 minutes for the changes to take effect across the Internet.
  2. 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.
  3. In the Domains list, in the Status column for the domain you are verifying, click Click to verify domain.
  4. On the Confirm that you own your_domain page, click done, verify now, and in the confirmation dialog box, click Finish.
 
 
Се однесува на:
Office 365 Enterprise admin, Office 365 Midsize Business admin, Office 365 Small Business admin