问题原文
原帖链接 · 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:
Click My domains in the navbar and then click the domain name.
Click the DNS tab .
- Scroll down to Custom resource records.
- Create a new CNAME record:
- Name: The subdomain you are directing to the site (do not enter "@").
- Type:
CNAME - TTL:
1h - Data:
GHS.GOOGLEHOSTED.COM
- Type:
- Click Add to save the record.
In Google Sites:
- Log in to Google Sites, and go to the site you are integrating with your domain.
- Click on the More Actions menu in the top right corner.
- Select Manage Site.
- On the left side of the Manage Site page, click Web Address.
- Under Add a web address enter the address of the subdomain you are using, for example
examplesite.documentation.example. - 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:
- Sign in to the control panel at
www.google.com/a/example.com. - Click the Settings tab and then select Sites in the left column.
- Click the Web Address Mapping tab, where you'll see the
wwwmapping. Select the checkbox and click the Delete mapping button. - Click Domain Settings tab.
- Click the Domain names tab.
- 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).
- Sign in to the DNS registrar, and map the CNAME of www to ghs.google.com.
- Try to set the web address mapping of
http://sites.google.com/site/mysite/tohttp://www.example.com.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
