大网数据广告活动
网站运营与故障问答

How can I create a Google Site and use it with a Google Domain?

· 52CE 我爱测

How can I create a Google Site and use it with a Google Domain? I registered a domain via Google Domains (let's call it example.com ). I then created a Google Site (let's call it sites.google.com/site/example123 ) Now, I'm trying…

问题原文

原帖链接 · MWB · CC BY-SA 3.0

How can I create a Google Site and use it with a Google Domain?

I registered a domain via Google Domains (let's call it example.com). I then created a Google Site (let's call it sites.google.com/site/example123)

Now, I'm trying to point example.com to that address.

To this end, I added a CNAME record on Google Domains, but as I understand it, I also need to configure the Web Address on Google Sites.

However, when I enter www.example.com or example.com there, it tells me

This location is already in use by another service. Please pick a different one.

With no further explanation or hints. Googling wasn't much help - I found some forum messages from 7 years ago complaining about this.

已采纳解答

原帖链接 · norcal johnny · CC BY-SA 4.0

It seems like you did it backwards and missed a few steps. Here are the full instructions from start to finish.

In Google Domains:

  1. Click My domains in the navbar and then click the domain name.

  2. Click the DNS tab .

  3. Scroll down to Custom resource records.
  4. Create a new CNAME record:
  5. Name: The subdomain you are directing to the site (do not enter "@").
    • Type: CNAME
    • TTL: 1h
    • Data: GHS.GOOGLEHOSTED.COM
  6. Click Add to save the record.

In Google Sites:

  1. Log in to Google Sites, and go to the site you are integrating with your domain.
  2. Click on the More Actions menu in the top right corner.
  3. Select Manage Site.
  4. On the left side of the Manage Site page, click Web Address.
  5. Under Add a web address enter the address of the subdomain you are using, for example examplesite.documentation.example.
  6. Click Add at the top of the page to add your address. Your address should display in a list below the Google Sites address.

IF YOU STILL GET ERRORS:

The reason you get this message is that, for example, when you sign up for Google Apps, we automatically create a site at http://www.example.com mapped to http://sites.google.com/a/example.com/www. When you try to map http://sites.google.com/site/mysite/ to http://www.example.com, this doesn't work, because we've already mapped it for you.

Here's how you can solve this problem:

  1. Sign in to the control panel at www.google.com/a/example.com.
  2. Click the Settings tab and then select Sites in the left column.
  3. Click the Web Address Mapping tab, where you'll see the www mapping. Select the checkbox and click the Delete mapping button.
  4. Click Domain Settings tab.
  5. Click the Domain names tab.
  6. Under the Primary Domain section, click the Advanced DNS Settings link, and read instructions on how to sign in to the DNS registrar's website (either GoDaddy or eNom).
  7. Sign in to the DNS registrar, and map the CNAME of www to ghs.google.com.
  8. Try to set the web address mapping of http://sites.google.com/site/mysite/ to http://www.example.com.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-10-03)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。