Connect your website to a domain registered through Google

This article is for G Suite Administrators who purchased their domain (like yourdomain.com) during sign up for G Suite.

Before you begin

Connecting your website involves working with technical settings called DNS records. If you aren’t familiar with DNS records, share this article with your webmaster. Or contact your web host, who can walk you through the process. Examples of web hosts or website builders who also host websites are GoDaddy®, Bluehost®, SquareSpace®, WordPress®, and Wix®.

Requirements:

You purchased your domain name (yourcompany.com) during sign up.
You have your website ready. (G Suite doesn’t offer website hosting.)
You have the DNS record or auto-connect instructions you need from your web host.
 

If you signed up for G Suite with a domain you already owned, contact your domain registrar and web host for instructions.

Step 1: Sign in to your DNS console

I bought my domain during sign up for G Suite

  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in @gmail.com).

  2. From the Admin console Home page, go to Domains.

    If you don't see Domains on the Home page, at the bottom, click More controls.

  3. Click Add/remove domains.

    Next to the domain you want to point to your website, note your domain registration information. Your domain registrar will be either Google Domains®, GoDaddy, Enom®, or DomainDiscount24®.

    A red circle highlights the registry line for the domain.

  4. Find your domain registrar and the sign in information that you’ll need to access your domain’s DNS records. These credentials open a simple DNS console for your domain; they won't work to sign into the domain registrar's website.

    You may need to click the down arrow next to Advanced DNS settings to sign into your DNS console.

    Red circles highlight the Advanced DNS settings drop down arrow & the Sign in to DNS console link.

  5. Under Advanced DNS settings, click the Manage your domain via Google Domains link or the Sign in to DNS console link.
  6. Sign in to the DNS console with the credentials listed in your Admin console.

Tip: If you don’t see your domain registrar listed, you didn’t buy your domain when you signed up for G Suite. For help with connecting to your website, contact the company that you purchased your domain from.

I purchased a Business email account from my personal gmail.com inbox (Rare)

If you bought your domain from your Gmail account, you’re using Business email powered by G Suite. Your domain registrar is Google Domains.

Sign in to Google Domains using your Gmail account username and password that you used to sign up for Business email powered by G Suite.

Step 2: Add your web host record to your DNS console

Click the link for your domain registrar for further instructions:

My domain registrar is Google Domains

Tip: See instructions for some popular web hosts.

  1. In the Google Domains dashboard, next to the domain name you want to connect to your website, click DNS DNS icon.
  2. Add the DNS record provided by your web host.

    For an A record:

    1. Scroll down the page to the Custom resource records.
    2. From the Type list, select A.
    3. In the Name and TTL fields, leave the default values.
    4. In the Data field, enter the A record provided by your web host. (It's four sets of numbers separated by periods.)
    5. Click Add to save the new A record.

      Add an A record

    For a CNAME record:

    1. Scroll down the page to the Custom resource records.
    2. From the Type list, select CNAME.
    3. In the Name field, enter the alias or host data portion of the CNAME record (usually www) provided by your web host.
    4. In the TTL field, leave the default value.
    5. In the Data field, enter the points to or destination portion of your web host’s CNAME record. It usually contains the name of your web host, and will look similar to www.webhost.com.
    6. Click Add to save the new CNAME record.

      Custom resource records section

    For a Name Server (NS) record:

    Adding new Name Server (NS) records could cause your Gmail and other G Suite services to fail. Don't worry, we'll tell you how to restore your services after you've added the NS records.

    1. From the Name Servers section at the top of the page, click Use custom name servers.
    2. In the Name Server field, enter the name server record provided by your web host.
    3. If you have more than one name server record to add, click Add (plus sign) icon next to the Name Server field and add the next record. Repeat this step as necessary.
    4. After all of your web host's name server records are added, click Save.

      Two sample name server records are added to the Name Server records table.

    5. After you have changed your name servers, add your G Suite services to your website, like G Suite verification and Gmail.

My domain registrar is GoDaddy

Important: If you need help adding the DNS record from your web host, email GoDaddy Support to ask them to make the change for you. In the email, include the record you need to add and your GoDaddy Customer Service PIN, found under Advanced DNS settings in the Admin Console.

Auto-connect to popular websites or website builders 

  1. In the My Domains page, click Use My Domain.
  2. Click Connect.
  3. From the list of Destinations, choose your connection option. 

    GoDaddy Destinations page

  4. Follow the instructions supplied for the destination you chose. 

If your web host isn’t listed, you have two options to connect your domain to your website:

  • In the Forward To Any Site field, enter your website URL and click Next.
  • Add the web host DNS record (A, CNAME, or NS) as explained in the instructions below.

For an A record:

  1. In the My Domains page, click Settings Settings to open the drop-down menu.

    Red circles highlight the gear icon in the top right corner, and the Manage DNS drop-down option.

  2. Click Manage DNS. The DNS Management console opens.
  3. Scroll down and click Add.

    The Records table is shown and a red circle highlights the Add button.

  4. From the Type list, select A.

    From the Type drop-down list, A is selected.

  5. In the Host field, enter @.
  6. In the Points to field, enter the A record (IP address) provided by your web host.
  7. In the TTL field, keep the default value.

    The A record dialog box is shown.

  8. Click Save.

For a CNAME record:

  1. In the My Domains page, click Settings Settings to open the drop-down menu.

    Red circles highlight the gear icon in the top right corner, and the Manage DNS drop-down option.

  2. Click Manage DNS. The DNS Management console opens.
  3. Scroll down and click Add

    The Records table is shown and a red circle highlights the Add button.

  4. From the Type list, select CNAME.

    CNAME is selected from the Type drop-down list.

  5. In the Host field, enter the Alias/Host/Name portion of the record (usually www) provided by your web host.
  6. In the Points to field, enter the portion of the record that contains the name of your web host (like www.squarespace.com).
  7. In the TTL field, keep the default value.

    The CNAME dialog box is shown.

  8. Click Save.

For a Name Server (NS) record:

Adding new Name Server (NS) records could cause your Gmail and other G Suite services to fail. Don't worry, we'll tell you how to restore your services after you've added the NS records.

  1. In the My Domains page, click Settings Settings to open the drop-down menu.

    Red circles highlight the gear icon in the top right corner, and the Manage DNS drop-down option.

  2. Click Manage DNS. The DNS Management console opens.
  3. Scroll down to Nameservers and click Change.

    The Change button on the Nameservers pane is selected.

  4. From the Choose your new nameserver type list, select Custom.
  5. In the first Nameserver field, enter the nameserver provided by your web host.
  6. In the second Nameserver field, if you have more than one nameserver to add, enter it. If you need more than two nameserver fields, click Add Nameserver to add more fields.

    The Nameserver fields are shown on the Nameservers pane of the DNS console.

  7. Click Save.
  8. After you've changed your name servers, add your G Suite services, like G Suite verification and Gmail to your website’s DNS records.

My domain registrar is Enom

Important: If you need help adding the DNS record from your web host, email Enom Support to ask them to make the change for you. In the email, include the record you need to add and your Enom Customer Service PIN, (found under Advanced DNS settings in the Admin Console).

In the Domain Settings Panel, add the DNS record provided by your web host.

For an A record:

  1. Scroll down to the Host Records table and click Edit.

    Edit button on the Host Records table

  2. Click Add New.
  3. From the Record Type list, select A (Address).

    A (Address) is the selected Record Type

  4. In the Host Name field, enter @.
  5. In the Address field, enter the series of numbers (four sets of numbers separated by periods) that is part of the CNAME record provided by your web host.
  6. Click Save.

For a CNAME record:

  1. Scroll down to the Host Records table and click Edit.
  2. Click Add New.
  3. From the Record Type list, select CNAME (Alias).

    CNAME (Alias) is the selected record type

  4. In the Host Name field, enter the Alias/Name/Host data portion of the record (usually www) that is the CNAME record provided by your web host.
  5. In the Address field, enter the portion of the record that contains the name of your web host (like www.webhost.com).
  6. Click Save.

For a Name Server (NS) record:

Adding new Name Server (NS) records could cause your Gmail and other G Suite services to fail. Don't worry, we'll tell you how to restore your services after you've added the NS records.

  1. From the DNS Information table, click Edit.
  2. Click Custom.

    The Edit DNS Information table is shown.

  3. In the Domain Name Server 1 field, enter the first of your web host’s name servers. Name servers usually look like ns1.example.com and ns2.example.com.
  4. Enter the remaining name servers from your web host into the open Domain Name Server fields. If you need more fields, click Add New.
  5. Click Save.
  6. After you have changed your name servers, add your G Suite services, like G Suite verification and Gmail to your website’s DNS records.

My domain registrar is DomainDiscount24

Important: If you need help adding the DNS record from your web host, email DomainDiscount24 Support to ask them to make the change for you. In the email, include the record you need to add and your Sign-in name and Password, (found under Advanced DNS settings in the Admin Console).

The sign in credentials for your DomainDiscount24 DNS console change each time you sign in. Whenever you need to access your domain’s DNS records, use the link and credentials listed in the Admin console.

Add the DNS record provided by your web host:

For an A record:

  1. In the My domains page, click the domain you want to connect to your website. Your domain's DNS records page opens.
  2. Scroll down the page to the Subdomain overview section.
  3. Click the line in the table that shows the A, MX, and TXT records for your domain. The Edit button appears.

    A red circle highlights the Edit button on the Subdomain overview pane.

  4. Click the Edit button.
  5. At the top of the DNS Settings page, click next to the first A/AAAA record field to show the Add button.

    A red circle highlights the Add button.

  6. Click the Add button. A new A/AAAA field appears after the last existing A record. 
  7. Enter the A record in the open field. It's four sets of numbers separated by periods.

    The open A/AAAA field and Save button are shown.

  8. Click Save to save your records.

For a CNAME record:

  1. In the My Domains page, click the domain you want to connect to your website. Your domain's DNS page opens.
  2. Scroll down to the Create new subdomain section and enter the Name or Label or Host value (usually www) of the CNAME record provided by your web host into the open field. 

    www was entered in the subdomain field.

  3. Click Create subdomain. The CNAME window appears.
  4. In the CNAME field, enter the Destination or Target or Points to value from the CNAME record provided by your web host. It usually contains the name of your web host (like www.webhost.com).
  5. Click Save.

    Save the CNAME record

For a Name Server (NS) record:

Adding new Name Server (NS) records could cause your Gmail and other G Suite services to fail. Don't worry, we'll tell you how to restore your services after you've added the NS records.

  1. At the top of the My Domains page, select the checkbox next to the domain you want to connect with your website.
  2. Click Choose Action and then Nameserver.

    Nameserver is selected from the Choose Action drop-down list.

  3. Click Type and then External nameserver. Three new nameserver fields appear.
  4. Enter the first name server from your web host in the Nameserver 1 field.
  5. Repeat the previous step for the remaining web host name servers. 

    Nameserver settings table is shown

  6. Click Execute to save your records.
  7. After you have changed your name servers, add your G Suite services, like G Suite verification and Gmail to your website’s DNS records.

Your domain might be redirected to your website immediately, but it can take up to 72 hours, depending on your domain host. If your domain hasn’t redirected to your website after 3 days, contact your domain host support.

If NS changed: add G Suite services to your web host

Important: These services only need to be added to your web host's DNS records if you have changed your Name Servers (NS records).

To keep your G Suite services (like Gmail) working after connecting your domain to your website with a Name Server record, copy the DNS records (TXT/SPF, MX, and CNAME) that are listed in your G Suite domain's DNS console and paste them into your website's DNS records stored with your web host.

If you need help, contact your web host for support.

Gmail and SPAM protection

To keep email delivery to your G Suite Mail inbox, add the G Suite MX records to the DNS records stored with your web host. Here’s the records you need to add:
MX server address Priority
ASPMX.L.GOOGLE.COM. 1
ALT1.ASPMX.L.GOOGLE.COM. 5
ALT2.ASPMX.L.GOOGLE.COM. 5
ALT3.ASPMX.L.GOOGLE.COM. 10
ALT4.ASPMX.L.GOOGLE.COM. 10
Note: The values are the G Suite mail servers. We include 5 servers in case one fails or requires maintenance.
To keep email sent from your Gmail from being marked as SPAM by the email recipients, copy the SPF record from your G Suite domain’s DNS console and paste it into your website’s DNS records. The SPF record is a TXT record that looks like: v=spf1 include:_spf.google.com ?all.

G Suite verification

To keep your domain verified with G Suite, copy the verification record from your G Suite domain’s DNS console and paste it into your web host's DNS records. Your unique verification record is a TXT record that starts with: google-site-verification=.

Google Sites

If you have a Google Site, all custom Google Site addresses need to be copied from your G Suite domain's DNS console and pasted into to your web host's DNS records. 

Custom URLs to G Suite services

If you use custom service URLs, (like mail.yourdomain.com instead of the default Gmail address mail.google.com/a/yourdomain.com) you need to add new CNAME records for them to the DNS records stored with your web host.

Was this helpful?
How can we improve it?