Add records at to set up your SharePoint Online Public Website

Note: The SharePoint Online Public Website information in this article applies only if your organization purchased Office 365 prior to March 9, 2015. If you purchased Office 365 after March 9, 2015, use an Office 365 website hosting partner.

Before you rename the site to use your custom domain name, make sure you've finished designing the website (in Office 365) and that you're ready for everyone to see it. Then when you're ready to use your custom domain for the address, you create (at the DNS host for your domain) a CNAME record to point to your customized website.

Ready to create that CNAME record at Follow the steps in this article. (Need more help? Get support.)

Add the CNAME record to use your custom domain

First, review one of the two following linked articles (depending on the Office 365 subscription you have) for an overview of the process.

Then, when you’re ready to create the required CNAME record, use the steps in the following table.



Add a CNAME record.

  1. On the website, open the DNS Management page for your domain.

    To find the DNS Management page, see Find your DNS records at

  2. In the Record Type drop-down list, choose CNAME.

  3. Add the required information in the empty record:

    • Host: Use the name of your custom domain; for example,

    • Answer: Use where name is the name of your custom domain; for example,

    • TTL: Change this value to 3600.

  4. Choose Add Record.

Note:  Typically it takes about 15 minutes for DNS changes to take effect. However, it can occasionally take longer for a change you've made to update across the Internet's DNS system. If you’re having trouble with mail flow or other issues after adding DNS records, see Troubleshoot issues after changing your domain name or DNS records.

Back to top

Set up redirection so that people can get to your public website if they don’t type www

You probably want people to be able to get to your public website without including www in the address. To do this, use the steps in the following table to set up redirection at This maps the root domain name (for example, to the full domain name (for example,

For more information about redirection, see Make sure people can get to your Office 365 public website if they don’t type www.


What you’ll see

Select the domain.

  1. On the website, sign in.

    To sign in, see Find your DNS records at

  2. At the top center of the page, choose Account.

  3. On the My Account page, choose the domain name that you’re redirecting.

Set up redirection.

  1. In the upper-right corner of the Domain Management page, choose URL Forwarding.

  2. Enter the following:

    • Domain: Leave this field blank to use the default value.

    • Title: Enter a descriptive word or title (such as "Main site").

    • URL: Use your fully qualified domain name; for example,

    • Type: Choose 301 – Permanent Redirection.

    • Metatags (optional): Not required.

  3. Choose Add Forwarding.

Changes may take a few minutes, or up to an hour, to update across the Internet.

Fill in the URL info and choose Add Forwarding

Find your DNS records at the website

If you need help finding the place where you work with DNS records at, follow the steps below.


What you’ll see

  1. In your browser, go to your domains at and sign in.

  2. On the Account Dashboard page, in the My Domains section, find the domain you are changing, and then choose the domain name.

  3. On the left side of the page, under Details, choose DNS Records.

  4. On the Domain Name page, a warning may appear. If it does, choose Manage DNS Anyway.

    The DNS management page for the site opens.

On the dashboard, choose the Domain Name

Back to top

Still need help?

Get help from the Office 365 community forums Admins: Sign in and create a service request Admins: Call Support

Back to top

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!