Export (0) Print
Expand All

Add your domain

Published: April 16, 2012

Updated: June 16, 2014

Applies To: Azure, Windows Intune

noteNote
This topic provides online help content for cloud services, such as Windows Intune and Office 365, which rely on Microsoft Azure Active Directory for identity and directory services.

If your organization already has a custom domain name, as an administrator, you can add it to your Microsoft Azure AD tenant to use with all of the Microsoft cloud services that you have subscribed to. After you’ve added your domain name to Azure AD, you can start associating your domain name with your various cloud services.

For more information about your Microsoft Azure AD tenant, see What is an Azure AD directory?.

TipTip
Using Office 365? Once you have set up your domain, you can start creating email addresses, Lync Online accounts, and distribution groups that use your custom domain name. You can also use your domain name for a public-facing website hosted on SharePoint Online.

More information The following steps can be completed using either the Office 365 account portal, the Windows Intune account portal or the Microsoft Azure AD portal, depending on which services your organization has subscribed to. In this way, portals act as front-end interfaces that pull in directory data associated with your organizations Azure AD tenant. For more information about using portals to manage your tenant, see Administering your Azure AD directory.

Before you add your domain name, keep in mind the following.

  • You can add up to 900 domain names to your Azure AD tenant by using, either:

    • A Microsoft cloud service portal, such as the Office 365, Windows Intune or Azure management portals.

    • The Microsoft Azure Active Directory Module for Windows PowerShell. For more information about which cmdlet you can use for this, see Manage domains.

  • You must have already registered a domain name and have the sign-in credentials needed for your domain name registrar. If you don’t have a custom domain name, you can buy one from a domain name registrar. For more information, see Locate your domain services or buy a new domain.

  • You can add multiple domains to your tenant. However, you can’t add the same domain to different tenants. So, for example, when you add your domain to your tenant, you can't create another Microsoft Azure AD tenant and add the same domain name to it.

  • If you are currently using domains in Microsoft Business Productivity Online Standard Suite, you cannot add the same domains to your Azure AD tenant.

Use the procedure below to add a custom domain name using a cloud service portal.

  1. Depending on the cloud service portal you are using, click Domains, and then click either Add a domain or Add.

  2. On the Add domain page, type the domain name that you want to add, and then go to the next page.

  3. Follow the steps on the page to verify the domain name you have added belongs to you. For step-by-step directions, see Verify a domain at any domain name registrar.

After your domain name is verified, you specify the services with which you plan to use the domain name, and then set up the domain name to use it with the cloud service, as described in the next sections.

TipTip
After you add your domain name to the cloud service, you can change the default domain name for new email addresses. For more information, see Change your default domain name. You can also update your own email address (which is also your user ID) to use your custom domain name instead of the onmicrosoft.com domain. For more information about working with user accounts in the cloud service, see Create or edit users.

What do you want to do?

When you add your domain name to Azure AD, you might need to specify the services that you’ll use with your domain name.

In a couple of scenarios, you have to specify which domain services you intend to use with a domain name. Why do you have to tell us which services you’ll use? This lets us make sure that you can see and update the DNS records in the cloud service for the services you want.

TipTip
Using Office 365? You have to specify which domain services you intend to use when you do either of the following:

  • You add your custom domain name to Azure AD by using the wizard and want to use your domain name for a public website on SharePoint Online.

    ImportantImportant
    If you want to create a SharePoint Online public-facing website that uses your domain name, you must specify SharePoint Online as the domain service you plan to use. However, you can’t also choose Exchange Online or Lync Online if you have already set up SharePoint Online as the service you’ll use with the domain name. To learn about how to work around this set up restriction, see For Office 365 Customers: Host a public-facing website with your domain name together with Exchange Online or Lync Online.

  • You add your domain by using the Microsoft Azure Active Directory Module for Windows PowerShell. When you use the tool to add your domain name, you always have to choose the services you want to use with the domain name.

To set the domain services for your domain name when you use the Add a domain wizard, do the following.

  1. In the Add a domain wizard, on the Specify services page, select the services for which you’ll use the domain name.

  2. Click Next.

You can edit your domain services list later, or choose your initial domain services, if you added your domain name by using the Microsoft Azure Active Directory Module for Windows PowerShell.

To set your domain services list, do the following.

  1. On the portal, in the left pane, click Domains.

  2. Click a domain name, and then, on the Domain properties page, click Edit domain services.

TipTip
Using Windows Intune? You do not need to edit DNS records for the Windows Intune cloud service.

After you add and verify your custom domain name, the next step is to edit the DNS records at your domain registrar or DNS hosting provider that point traffic to your cloud service. Azure AD provides the DNS information that you need.

If you’ve just completed the Add a domain wizard, click Configure DNS records. Otherwise, follow these steps.

  1. On the portal, in the left pane, click Domains.

  2. Depending on which portal you are using, click the domain name that you want to set up, and then click either DNS settings or View DNS settings. The DNS settings page lists the DNS records for the cloud service.

    noteNote
    If you want to configure a service that you don’t see on the DNS settings tab, check your domain services selections to make sure you’ve chosen that service for this domain name. To change the settings, for example, to add Lync Online, see Specify the services you’ll use with your domain name.

  3. At your domain name registrar website, add the required records to your DNS file.

noteNote
Typically it takes about 15 minutes for your changes to take effect. But it can take up to 72 hours for the DNS record that you created to propagate through the DNS system. If you need to view these record settings again, on the Domains page, click the domain, and then, on the Domain properties page, click the DNS settings tab.

To check the status of your domain, on the Domains page, click the domain, and then, on the Domain properties page, click Troubleshoot domain.

If you have any problems, see Troubleshoot issues after changing your domain name.

What do you want to do?

In Office 365, you can host your SharePoint Online public website on the same domain as Exchange Online and Lync Online, but there are several additional steps you have to take.

Here’s what you need to do:

  1. Run the Add your domain wizard to add your domain name, for example, contoso.com, to Office 365 and verify that you own the domain. In the wizard, set the domain services option to Exchange Online, Lync Online, or both Exchange Online and Lync Online.

    noteNote
    Do not enable the SharePoint Online service yet. You’ll add it later.

  2. Add the required DNS records for Exchange Online and Lync Online to work with your domain name. Add the records where you host DNS records for your domain name, which could be your domain registrar, another DNS hosting provider, or an on-premises DNS server.

    After you create the DNS records and they propagate through the DNS system, traffic will begin to go to Exchange Online and Lync Online.

  3. Run the Add a domain wizard again, and this time add a third-level domain to Office 365 with the format label.contoso.com, where label is a value that completes the website address for the website you want to host on SharePoint Online. For example, you could set label to be www so your website would be located at http://www.contoso.com.

    When you add the domain, set the domain services options to SharePoint Online.

  4. On the SharePoint Online Administration Center, create your SharePoint Online public-facing website, and then associate it with the third-level domain name you added in the previous step, for example, www.contoso.com. For more information, see Set up a public website.

  5. Create a CNAME record for SharePoint Online at your domain name registrar in the same area where you created the DNS records for Exchange Online and Lync Online.

    When you create the CNAME record, specify the host name of the record as the same label that you chose earlier, for example, www. The SharePoint Online Administration Center provides the target address for the CNAME record is provided to you by the SharePoint Online Administration Center.

    WarningWarning
    When you create the CNAME record, be aware of the following.

    • Make sure that you set up the CNAME record this way to route traffic to your SharePoint Online website. Otherwise, the record could prevent other DNS records for your domain from working correctly, so that, for example, your email service might be disrupted.

    • When you specify the host header name, you must explicitly specify the domain name that you want to use with SharePoint Online. This is because Office 365 uses the host header name that you configure for your DNS records to map your domain to the corresponding site collection in SharePoint Online.

After you create the CNAME record and the record propagates through the DNS system, traffic for your website (for example, http://www.contoso.com) will be directed to the website at SharePoint Online. Typically it takes about 15 minutes for your changes to take effect. But it can take up to 72 hours for the record that you created to propagate through the DNS system.

noteNote
You cannot host the three services together on your domain if you want to host your website on the same third-level, or greater, domain as you are also hosting other services. For example, you cannot host your website on http://partners.contoso.com and also use email addresses, such as user@partners.contoso.com. For more information about domain name levels, see Domain names.

What do you want to do?

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft