Connect your website to a domain registered through Google

If you purchased your domain when you signed up for Google Workspace, you can follow these steps to connect your domain name to your website.

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 (example.com) during sign-up.
  • You have your website ready (Google Workspace doesn't offer website hosting).
  • You have the DNS record or autoconnect instructions you need from your web host.

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

Step 1: Identify your domain registrar

When you purchase a domain during Google Workspace sign-up, the domain is registered with one of the following registrars:

  • Google Domains
  • GoDaddy
  • Enom
  • DomainDiscount24

Follow these steps to find who your domain registrar is and what your account sign-in name and password are:

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

  2. Click Manage Domains.
  3. Next to the domain you want to connect to a website, click View Details.

    A window opens and shows your partner host and domain registration information.

    The Domain registration information and Advanced DNS Settings menu is shown.

  4. Click Advanced DNS Settings to view your domain registrar sign-in name and password and to sign in to the DNS console where you can unlock your domain.
  5. Note the Sign-in name, Password, and PIN for accessing your domain registrar account.
  6. Proceed to step 2 and follow the instructions for your domain registrar.

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

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

  1. Sign in to Google Domains.
  2. If you have multiple domains, click the name of the domain you want to unlock.

    Note: If you don't see your domain listed, you might be signed in to a different account. Learn more about switching between accounts.

  3. From the Domain overview page, on the left, click DNS.

    The DNS option is selected on the left menu.

  4. Select the DNS record provided by your web host for instructions on adding it to your domain's DNS records.

    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 4 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.example.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 Google Workspace services to fail. After you've added the NS records, we'll tell you how to restore your services.

    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"" next to the Name Server field and add the next record. Repeat this step as necessary.
    4. After you add your web host's name server records, 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 ​Google Workspace​ services to your website.

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.

  1. From the Advanced DNS Settings pane, click Sign in to DNS console.
  2. Using the Sign-in name and Password noted previously, sign in to the DNS console.

    The My Domains page opens in a new tab.

  3. Select the DNS record option provided by your web host for instructions on adding it to your domain's DNS records.

Autoconnect to popular websites or website builders

  1. From the My Domains page, click Use My Domain.

    The Use my domain button is to the right of the domain name.

  2. Click Connect.
  3. From the list of Destinations, choose your web host.

    GoDaddy Destinations page

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

If your web host isn't listed, you have 2 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's DNS record (A, CNAME, or NS) as explained in the instructions below.

For an A record:

  1. Next to the domain name that you want to unlock, click More""and select Manage DNS.

    The More list is open and Domain settings is selected from the list.

    The DNS Management page opens.

  2. Scroll down to the bottom of the Records table and click Add.

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

  3. From the Type list, select A.

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

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

    The A record dialog box is shown.

  7. Click Save.

For a CNAME record:

  1. Next to the domain name that you want to unlock, click More""and select Manage DNS.

    Manage DNS is selected from the More list.

    The DNS Management page opens.

  2. Scroll down to the bottom of the Records table and click Add.

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

  3. From the Type list, select CNAME.

    CNAME is selected from the Type drop-down list.

  4. In the Host field, enter the Name,Label, or Host portion of the record (usually www) provided by your web host.
  5. In the Points to field, enter the portion of the record that contains the name of your web host (such aswww.squarespace.com).
  6. In the TTL field, keep the default value.

    The CNAME dialog box is shown.

  7. Click Save.

For a Name Server (NS) record:

Adding new Name Server (NS) records could cause your Gmail and other Google Workspace services to fail. After you've added the NS records, we'll tell you how to restore your services.

  1. Next to the domain name that you want to connect to a website, click More""and select Manage DNS.

    Manage DNS is selected from the More list.

    The DNS Management page opens.

  2. Scroll down to Nameservers and click Change.

    The Change button on the Nameservers pane is selected.

    The Connect My Domain to a Website page opens.

    The two options are "Connect my domain to a website I

  3. Click Enter my own nameservers (advanced).
  4. In the first Nameserver field, enter the nameserver provided by your web host.
  5. In the second Nameserver field, if you have more than one nameserver to add, enter it.

    If you need more than 2 nameserver fields, click Add Nameserver to add more fields.

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

  6. Click Save.
  7. After you've changed your name servers, add your ​Google Workspace​ services.

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.

  1. From the Advanced DNS Settings pane, click Sign in to DNS console.
  2. Using the Sign-in name and Password noted previously, sign in to the DNS console.

    The Domain Settings page opens in a new tab.

  3. Select the DNS record provided by your web host for instructions on adding it to your domain's DNS records.

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 (4 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, orHost 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.example.com).
  6. Click Save.

For a Name Server (NS) record:

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

  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 ​Google Workspace​ services.

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, your domain name, 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.

  1. From the Advanced DNS Settings, click Sign in to DNS console.
  2. Using the Sign-in name and Password noted previously, sign in to the DNS console.

    The DomainDiscount24 Dashboard page opens in a new tab.

  3. From the menu on the left, click Domains and then My Domains.

    Menu > Domains > My Domains

    A page with your DomainDiscount24 domains listed opens.

  4. Select the DNS record provided by your web host for instructions on adding it to your domain's DNS records.

For an A record:

  1. To the right of the domain you want to connect to your website, click More"" and then Edit DNS Settings.

    A red circle highlights the Edit DNS settings option on the More menu.

  2. Scroll down the page to the Subdomain overview section.
  3. To the right of the line in the table that shows the A, MX, and TXT records for your domain, click Edit.

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

    The DNS settings page opens.

  4. Click next to the first A/AAAA Record field to showAdd.

    A red circle highlights the Add button.

  5. ClickAdd.

    A new A/AAAA field appears after the last A record.

  6. Enter the A record in the open field. It's 4 sets of numbers separated by periods.

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

  7. Click Save to save your records.

For a CNAME record:

  1. To the right of the domain you want to connect to your website, click More"" and then Edit DNS Settings.

    A red circle highlights the Edit DNS settings option on the More menu.

    The DNS Settings page opens.

  2. Scroll down to the Create new subdomain section and enter the Name,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,Target, or Points to value from the CNAME record provided by your web host. It usually contains the name of your web host (such aswww.example.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 Google Workspace services to fail. After you've added the NS records, we'll tell you how to restore your services.

  1. To the right of the domain you want to connect to your website, click More"" and then Nameserver.

    Nameserver is highlighted with a red circle on the the More list.

    The Config nameserver page opens.

  2. Click Type and then External nameserver.

    Three new nameserver fields appear.

  3. Enter the first name server from your web host in the Nameserver 1 field.
  4. Repeat the previous step for the remaining web host name servers.

    Nameserver settings table is shown

  5. Click Execute to save your records.
  6. After you have changed your name servers, add your ​Google Workspace​ services.

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 Google Workspace 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 Google Workspace services (such as 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 Google Workspace 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 Google Workspace Mail inbox, add the Google Workspace 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

Important: Some registrars require you to add a period after the .COM in the MX server address.

To keep the email recipients from marking email sent from your Gmail as spam, copy the SPF record from your Google Workspace 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.

Google Workspace verification

To keep your domain verified with Google Workspace, copy the verification record from your Google Workspace 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, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.

Was this helpful?

How can we improve it?