简体   繁体   中英

Is there a way to use google sites with a subdomain of a google domain if the domain root is not hosted on google?

I have a google domain like www.example.com which is hosted on digital ocean and for that reason I am using custom name servers setup on google domains as shown in image below. 在此处输入图像描述

I have created a google site and would like to use www.blog.example.com as the address but I have not been able to properly set up its DNS records while using custom name servers. It was added to default name servers by default but If I switch to this setting my main website will go down. 在此处输入图像描述

How would I go about it? Are there better ways to do this?

Thank you for your time.

I was able to setup this connection trough DigitalOcean which hosts the main site with a CNAME under the root domain.

Type: CNAME
Hostname: blog.example.com
Value: ghs.googlehosted.com.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM