Add records at ENAME to set up your SharePoint Online Public Website

Note: The SharePoint Online Public Website information in this article only applies if your organization purchased Office 365 prior to March 9, 2015.

Before you rename the Office 365 operated by 21Vianet website 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 ENAME? Follow the steps in this article.

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.

Task

Action

Add a CNAME record.

  1. Find your DNS records at ENAME.

  2. On the DNS records page for your domain, click 添加记录 (add a record).

  3. Make sure that the fields are set to precisely the following values for the empty record:

    • 主机记录 (host name): Use the name of your custom subdomain; for example, www.

    • 记录类型 (record type): CNAME

    • 记录值(IP/域名) (value): Use name.sharepoint.cn, where name is the first part of your initial partner.onmschina.cn domain; for example, contoso in contoso.partner.onmschina.cn.

    • 线路类型 (network): Use the default value.

    • TTL: 3600

  4. Click 保存 (save).

Click "添加记录"

Add CNAME record

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 ENAME. This maps the root domain name, for example, http://fourthcoffee.com, to the full domain name, for example http://www.fourthcoffee.com.

For more information about redirection, see How can I make sure people can get to my Office 365 public website if they don’t type www?

Notes: If you select cloaked URL forwarding, the browser’s address bar will retain the original URL after the URL redirects you to the destination URL. If you select uncloaked URL forwarding, the browser’s address bar will display the destination URL after the original URL redirects you to the destination URL.

After you enter your redirection information on the ENAME website, you need to contact ENAME, and ENAME will review and censor it before it is activated.

Task

What you'll see

Get an ICP number.

Before setting up redirection, you need to get an Internet Content Provider (ICP) number for your domain.

Set up redirection.

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

    To find the DNS records page for your domain, see Find your DNS records at ENAME.

  2. Click 添加记录 (add a record).

  3. Make sure that the fields are set to precisely the following values for the empty record:

    • 主机记录 (host name): Leave the box blank.

    • 记录类型 (record type): Select URL隐藏 (cloaked URL forwarding) or URL非隐藏 (uncloaded URL forwarding).

    • 记录值(IP/域名) (value): Type or paste your fully qualified URL; for example, http://www.fourthcoffee.com.

    • 线路类型 (network): Use the default value.

    • TTL: 3600

  4. Click 保存 (save).

Click "添加记录"

Set URL forwarding

Find your DNS records at ENAME

Use the steps in the following table to get to the right spot in the ENAME website to edit your DNS records.

Task

What you'll see

Go to the page that has the DNS records for your domain.

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

  2. In the right pane, in the 操作 (actions) column for the domain that you want to update, click 管理 (manage).

  3. Click 域名解析 (domain name resolution).

    The DNS records page for your domain opens.

Sign in to ENAME

Click "管理"

Click "域名解析 "

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!

×