Integrate with Google Sites

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:

  1. Sign in to Google Domains.
  2. Click My domains in the left navigation.
  3. Click the DNS tab  of the domain name you want to connect to a Google Site.
  4. Scroll down to Custom resource records.
  5. Create a CNAME record with the following inputs:
    • Name: The subdomain where you’re directing to the site (do not enter "@")
    • Type: CNAME
    • TTL (Time to live): 1h
    • Data: GHS.GOOGLEHOSTED.COM 
  6. 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.

Use a regular Gmail account

Follow the steps below based on whether you created a site on new or classic Google Sites.

New Google Sites

You can add up to 5 URLs to your Google site by following these steps:

  1. On a computer, open your site in new Google Sites.
  2. At the top, click More More Custom URLs.
  3. Enter your custom URL.
  4. Click Assign.

Learn more about how to use a custom URL for your site.

Classic Google Sites

To add a web address in classic Google Sites, follow these steps:

  1. Sign in to classic Google Sites, and go to the site you’re integrating with your domain.
  2. Click 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’re using, for example subdomain.example.com.
  6. To add your address, click Add at the top of the page.

Use a G Suite account

To add a web address in Google Sites if you have an account through G Suite, follow the steps below:

Note: Before taking these steps, make sure you’ve created a CNAME record in Google Domains.

  1. Open the Google Admin console.
  2. From the Admin console homepage, go to Apps  G Suite  Sites.
  3. Click Web address mapping  Add a new web address.
  4. Fill in the following settings:
    • URL format: Choose new Sites or classic Sites.
      Note: If /a appears in the URL, it’s classic Sites. If not, it’s new Sites.
    • Site location: Select your domain. Then, enter the name of the site you want to map.
    • Web address: Enter the subdomain and select your domain for your site. For example, enter support to create support.mysite.com. Then, select the domain from the drop-down list.
    • Tip: The domain is the host name address for your site, such as mysite.com. The subdomain is an address within your site, such as support.mysite.com.
  5. Click Add mapping.
  6. Click I’ve completed these steps.
Was this article helpful?
How can we improve it?