Add records at Oray 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 Oray? 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

What you'll see

Add a CNAME record.

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

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

  2. In the 无需带域名根 (subdomain name) box, type the name of your custom subdomain (for example, www), and then click 增加子域名 (add subdomain).

  3. Click the newly added subdomain name.

  4. Click the CNAME tab.

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

    • CName (别名): 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.

    • TTL: 3600

  6. Click 保存 (save).

Add subdomain name

Click "CNAME"

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 Oray. 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 Oray website, you need to contact Oray, and Oray will review and censor before they activate the redirection.

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

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

  2. In the 域名解析设置 (DNS record management) list, click the @ subdomain name.

  3. Click the URL转发 (URL forwarding) tab.

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

    • 转发目的地址 (destination URL): Type or paste your fully qualified URL; for example, http://www.fourthcoffee.com.

    • 隐藏 (cloak): Select (yes) or (no).

    • 页面标题 (website title): Type the website title you want to use.

  5. Click 增加 (add).

Click "@”

Click "URL转发"

Set URL forwarding

Find your DNS records at Oray

Use the steps in the following table to get to the right spot in the Oray 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 Oray and sign in.

  2. In the right pane, in the 解析设置 (DNS record management) column for the domain that you want to update, click DNS解析设置 (DNS record management).

    The DNS records page for your domain opens.

Sign in to Oray

Click "DNS解析设置"

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!

×