Knowledge Base
Save up to  70% off.  Start your website today!

Sites with Google


This guide will help you configure your domain to work with Google Sites and provide you with the Google Workspace MX Destinations if you wish to utilize Google as your email host.

Note: Your domain must be utilizing your HostGator nameservers in order for this configuration to take effect across your domain.

Google has created an easy-to-use free-form content creation tool known as Google Sites to help users share information. Click the link below for instructions on how to configure this service.

  1. Log in to cPanel. There are two ways to access your cPanel.
    • Option 1: Access your cPanel directly.
    • Option 2: Access your cPanel via your Customer Portal.
      1. Log in to your Customer Portal.
      2. Click Hosting in the left-side menu.

        Customer Portal - Hosting menu

      3. If you have a single hosting package in your account, scroll down to the Quick Links section.

        If you have multiple hosting packages in your account, locate the hosting package you want to manage on the Hosting Packages page, then click its Manage button.

        Hosting tab - Manage button

      4. Under the Quick Links section, click the cPanel button.

        Hosting menu - Quick Links - Launch cPanel

  2. In the Domains section of cPanel, click Zone Editor.

    HostGator cPanel - Advanced Zone Editor

  3. On the next page, locate the domain name you need to configure and click +CNAME Record.

    DNS CNAME Record

  4. In the Add a CNAME Record section, enter the word sites.example.com in the Name field and type ghs.googlehosted.com in the CNAME field. 

    CNAME Google Record

    Note: Replace example.com with your actual domain name.
  5. Click Add CNAME Record. A confirmation prompt will appear indicating that the CNAME was added successfully.

    CNAME Successfully Added Google Record

Alternatively, you can configure your domain within the Zone Records:
  • Click the +Add Record button. Select Add "CNAME" Record enter the necessary details to complete, then click Add Record.

    Add Record

  • Once the CNAME record is selected, enter the necessary details to complete, then click Add Record.
  • A confirmation prompt will appear indicating that the CNAME was added successfully.

Edit Google Site URL

  1. Log in to your Google Workspace Dashboard and click on Sites.
  2. In the top-right corner, click Settings.
  3. In the Settings window, go to Custom URLs.
  4. Enter your custom URL.
  5. Click Assign

Once this change propagates, you will be able to access your Google Sites page directly through the created subdomain http://sites.yourdomainname.com.

HostGator now offers an easy-to-use What is Google Workspace (Formerly G Suite)? located in the cPanel on Shared hosting plans.

If you do not wish to utilize this plugin or are simply looking to verify the MX Records used by Google Workspace, please toggle the link below.

Google Workspace MX Records

MX Destination Priority
If you experience issues or have any questions regarding this change, please contact us via phone or chat, and we will be happy to assist you.
Did you find this article helpful?

* Your feedback is too short