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:
  • Squarespace
  • GoDaddy
  • Enom
  • DomainDiscount24

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

  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. In the Admin console, go to Menu and then Accountand thenDomains.
  3. Click Manage Domains.
  4. 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.

  5. 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.
  6. Note the Sign-in name, Password, and PIN for accessing your domain registrar account.
  7. 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 Squarespace
Tip: View instructions for some popular web hosts
  1. Sign in to Squarespace.
  2. Click Domains in the upper left.
  3. Click the domain you want to update.
  4. On the left, click DNS.

  5. 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. Under Custom records, click Add record.
    2. From the Type list, select A.
    3. In the IP address field, enter the A record provided by your web host.
    4. Click Save.

    For a CNAME record:

    1. Under Custom records, click Add record.
    2. From the Type list, select CNAME.
    3. In the Host field, enter the alias or host data portion of the CNAME record (usually www) provided by your web host.
    4. 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 example.com.
    5. 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. Under Custom records, click Add record.
    2. From the Type list, select NS.
    3. Add the host in the Host field (usually @).
    4. Add the host name you got from your web host to the Data field. 
    5. Click Save.
    6. 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.

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

  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 Moreand select Manage DNS.

    The DNS Management page opens.

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

  3. From the Type list, select A.

  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.

  7. Click Save.

For a CNAME record:

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

    The DNS Management page opens.

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

  3. From the Type list, select CNAME.

  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 as squarespace.com).
  6. In the TTL field, keep the default value.

  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 Moreand select Manage DNS.

    The DNS Management page opens.

  2. Scroll down to Nameservers and click Change.

    The Connect My Domain to a Website page opens.

  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.

  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.

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

  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).

  4. In the Host Name field, enter the Alias, Name, or 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 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.

  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 Domainsand thenMy 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 Moreand thenEdit DNS Settings.

  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.

    The DNS settings page opens.

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

  5. Click Add.

    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.

  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 Moreand thenEdit DNS Settings.

    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.

  3. Click Create subdomain.

    The CNAME window appears.

  4. In the CNAME field, enter the DestinationTarget, or Points to value from the CNAME record provided by your web host. It usually contains the name of your web host (such as example.com).
  5. 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. To the right of the domain you want to connect to your website,  click Moreand thenNameserver.

    The Config nameserver page opens.

  2. Click Typeand thenExternal 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.

  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 Sites
If you have a Google site, all custom Google Site addresses need to be copied from your Google Workspace domain's DNS console and pasted into your web host's DNS records. See Map a new URL to your Google site.
Custom URLs to Google Workspace services

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


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?
Search
Clear search
Close search
Google apps
Main menu
13481064963781747904
true
Search Help Center
true
true
true
true
true
73010
false
false