To use your custom domain for your SharePoint Online Public Website, but not use this domain with Exchange Online and Lync Online, follow these steps. For example, if your domain name is fourthcoffee.com, this setup lets site visitors use www.fourthcoffee.com to go to your SharePoint Online Public Website, but does not set up email addresses on this domain.
- Get your Public Website ready
- Associate your domain name with your Public Website
- Create a DNS record to point your domain’s URL to your Public Website
Important If you also want to use your domain with email and Lync Online, don’t follow the steps here. You’ll need to follow these instructions instead to set up that scenario correctly.
Step 1: Get your Public Website ready
Before you start Step 2, be sure to customize your Public Website so the site looks the way you want. After you complete Step 3, your SharePoint Online Public Website will be visible to everyone.
Step 2: Associate your domain name with your Public Website
Associate your domain name with the SharePoint Online Public Website by following these steps.
- Use the Add a domain wizard in Office 365 to add your domain to Office 365.
- At the step in the wizard where you’re prompted to choose the domain purpose (that is, the services you want to use with the domain), select only SharePoint Online.
- On the last page of the wizard, click SharePoint Online Administration Center.
- On the SharePoint Online Administration Center page, select the check box next to your public website and, on the ribbon, click Website Domains.
- In the Rename your website dialog box, in the New URL drop-down list, select the domain name you just added; for example, www.fourthcoffee.com.
Note If you want to change your SharePoint Online website URL back to the default domain, return to the SharePoint Online Administration Center page and use the Rename your website dialog box to choose the initial domain name (like contoso-public.sharepoint.com) from the list.
- Click OK.
- On the ribbon, click DNS Information.
- In the DNS Information dialog box, write down or copy the target address. You’ll use this information to create a DNS record that points people to your website on Office 365.
Step 3: Create a DNS record to point your domain’s URL to your Public Website
Watch the video (3:29)
Create the record by following these steps.
- At your DNS hosting provider’s website, sign in to your account.
- Create a CNAME record by using the values in the following table.
In the table:
- label is the subdomain that you added. The subdomain might be www.fourthcoffee.com.
- name.sharepoint.com is the target address you just copied.
||Points to address
||Time to live (TTL)
If you need help creating the CNAME record, see the step-by-step instructions for creating DNS records at your DNS hosting provider.
After you create the CNAME record and it updates across the DNS system, traffic for your website (for example, http://www.fourthcoffee.com) will be directed to your SharePoint Online Public Website.
Note 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 update through the DNS system.
Other things to consider
The steps above help make sure users can see your website when they type, for example, www.contoso.com. If you also want them to see your site when they type just the naked domain, contoso.com, contact your DNS hosting provider and ask if they have a URL redirection service to direct traffic from contoso.com to www.contoso.com. Most providers offer URL redirection, and you can check their documentation to learn how to set it up.