This article gives you the steps to connect a site developed with Google Sites to your subdomain. Google Sites is a tool that lets you easily create websites using structured templates. Learn more about Google Sites.
To forward your root domain (example.com) to your subdomain (subdomain.example.com), create a subdomain forward for @.
Before you begin
If you didn't create a Google site with the same email address as your Google Domains account, add the email address of your Domains account as a user of your site. Then, give that account site-level permissions of "Is owner." Learn more about how to share your site with other people.
In addition, make sure the site is public. Redirects won't work until you publish the site.
Create a CNAME record in Google Domains
To add your subdomain as a web address for a site you created on Google Sites, you first need to create a CNAME record in Google Domains. To create a CNAME record, follow these steps:
- Sign in to Google Domains.
- Select the name of your domain.
- In the left navigation panel, click DNS.
- Scroll down to Custom resource records.
- Create a CNAME record with the following inputs:
- Name: The subdomain of the web address you want to use with the Google Site (e.g. www)
- Type: CNAME
- TTL (Time to live): 1h
- Data: GHS.GOOGLEHOSTED.COM
- Click Add to save the record.
Add a web address in Google Sites
The steps to add a web address in Google Sites are different based on whether you created a site with a regular Gmail account or an account through G Suite. Follow the steps below based on your Google Account.