Verify your domain and change name servers at any DNS hosting provider or domain registrar

Follow these instructions if:

  1. You have your own domain and want to set it up to work with Office 365.
  2. You want Office 365 to manage your DNS records for you. If you prefer, you can manage your own DNS records.
  3. Your domain is hosted at a DNS hosting provider or domain registrar that is not listed in Verify your domain and change name servers.

Here’s what you need to do:

 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 update through the DNS system. If you’re having trouble adding DNS records, see Troubleshoot issues after changing your domain name or updating DNS records.

Step 1: Gather the information you need

  1. If you’re not signed in to Office 365, sign in to Office 365.
  2. If you haven’t yet added your domain:
  1. Click Email address.
  2. Follow the steps in the wizard until the page in step 1 that states “To get started, we need to know where you manage DNS for yourdomain.com.”
  3. In the I’ll choose the company from this list drop-down list, select Mine is not listed, and then click Next.

If you’ve already added your domain:

  1. Go to Domains > Manage your website and email domains.
  2. On the Domains page, in the Status column for the domain that you are verifying, click Click to verify domain.
  3. In the See step-by-step instructions for performing this step with drop-down list, select General Instructions, and then click Next.
  1. From the TXT row in the table, copy or write down the Destination or Points to Address information. You’ll need it for the next step.

Step 2: Create a DNS record to verify that you own your domain

You can create the DNS record yourself to help Office 365 confirm that you own the domain, or, if you’re not familiar with DNS, instead of creating the record yourself, you can contact the company that hosts your DNS records and ask them to create the record for you.

If you’re asking for help, here’s a sample message to send to your DNS hosting provider, asking them to create the DNS record for you.

 Note    Be sure to replace yourdomain with your domain name; for example, contoso.com, and to replace the Destination or Points to address value with the information you gathered from Office 365 in step 1.

Greetings,

I’m using Microsoft Office 365 and would like to use my domain with it, but first Office 365 must confirm that I own the domain name. To do this, I need to create either a TXT or MX record for my domain. Because you are my DNS hosting provider, could you create the record for me? The record needs to include the information shown in the following table.

Please create either a TXT or MX record, but not both. You can choose which one to create.

Record type (choose one) Alias or Hostname Value or Address TTL Priority
TXT @ or yourdomain; for example, contoso.com Use the Destination or Points to address value that you copied from Office 365. If TTL is needed, use 3600 seconds or 1 hour. --
MX @ or yourdomain; for example, contoso.com Use the Destination or Points to address value that you copied from Office 365. If TTL is needed, use 3600 seconds or 1 hour. If needed, use a number that is larger than the number specified for our other MX records (lower priority).

If you’re comfortable with working with DNS records, you can create a record yourself at your DNS hosting provider by following these general steps.

Task Action
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. On your DNS hosting provider’s website, 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 you copied from Office 365.
  • If TTL is listed, use 3600 seconds or 1 hour.

MX record:

  • For alias or host name, type or paste @ or your domain name.
  1. For value, type or paste the Destination or Points to Address that you copied from Office 365.
  • If TTL is listed, use 3600 seconds or 1 hour.
  • For priority, to avoid conflicts with the MX record used for mail flow, use a lower priority than the value for any existing MX records.
  1. Save the new record.

Step 3: Verify your domain in Office 365

  1. Wait at least 15 minutes for the changes to take effect across the Internet.
  2. If you still have the wizard open:
  1. At the bottom of the page, click done, verify now.

If you’re not still signed in to Office 365:

  1. Sign in to Office 365, and in the header, click Admin.
  2. Go to Domains >Manage your website and email domains.
  3. In the Domains list, in the Status column for the domain you are verifying, click Click to verify domain.
  4. On the confirmation page, click done, verify now.
  1. In the confirmation dialog box, click Finish. Your domain status is now listed as Verified in the list of domains.

Step 4: Change your domain’s name servers

When you get to the last step of the wizard, you have one task remaining. To complete setting up your domain with Office 365, you change your domain’s NS records at your domain registrar to point to the Office 365 primary and secondary name servers. Then, because Office 365 hosts your DNS, we can set up the required records for you so that email, Lync, and your public website work with your domain.

 Caution    When you change your domain’s NS records to point to the Office 365 name servers, all the services that are currently associated with your domain are affected. If you skipped any steps of the wizard, or if you’re using your domain for blogs, shopping carts, or other services, there are additional steps that are required to make sure that this transition doesn't result in service downtime, such as loss of email access or your current website being inaccessible.For example, here are some additional steps that might be required for email and website hosting:

You can modify the name server records yourself, or you can contact your domain registrar and ask them to modify the name server records.

If you’re asking for help, here’s a sample message to send to your domain registrar.

 Note    Be sure to replace yourdomain with your domain name; for example, contoso.com.

Greetings,

I’m using Microsoft Office 365, and in order to use my domain (yourdomain) with it, I need to use the Office 365 name servers so that Office 365 can manage DNS for my domain. Because you are my domain registrar, could you update the name server records for me? The records need to point to the following primary and secondary name servers:

ns1.bdm.microsoftonline.com

ns2.bdm.microsoftonline.com

To change your domain’s name servers at your domain registrar’s website yourself, follow these steps:

  1. Find the area on the domain registrar’s website where you can edit the name servers for your domain.
  2. Create two name server records, or edit the existing name server records to match the following values:
  • ns1.bdm.microsoftonline.com
  • ns2.bdm.microsoftonline.com
  1. Save your changes.
 
 
Applies to:
Office 365 Small Business admin