Add records at 22.cn 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 22.cn? 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.

On the DNS records page for your domain, 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.

记录类型 (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.

Click 添加一条 (add).

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

If you want people to be able to get to your public website without including www in the address, use the steps in the following table to set up redirection at 22.cn. This maps the root domain name, for example, http://fourthcoffee.com, to the full domain name, for example http://www.fourthcoffee.com.

Note: 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.