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:
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
- Sign in to Squarespace.
- Click Domains in the upper left.
- Click the domain you want to update.
- On the left, click DNS.
- Select the DNS record provided by your web host for instructions on adding it to your domain’s DNS records.
For an A record:
- Under Custom records, click Add record.
- From the Type list, select A.
- In the IP address field, enter the A record provided by your web host.
- Click Save.
For a CNAME record:
- Under Custom records, click Add record.
- From the Type list, select CNAME.
- In the Host field, enter the alias or host data portion of the CNAME record (usually www) provided by your web host.
- 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.
- 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.
- Under Custom records, click Add record.
- From the Type list, select NS.
- Add the host in the Host field (usually @).
- Add the host name you got from your web host to the Data field.
- Click Save.
- 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.
- From the Advanced DNS Settings pane, click Sign in to DNS console.
- Using the Sign-in name and Password noted previously, sign in to the DNS console.
The My Domains page opens in a new tab.
- 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
- From the My Domains page, click Use My Domain.
- Click Connect.
- From the list of Destinations, choose your web host.
- 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:
- Next to the domain name that you want to unlock, click Moreand select Manage DNS.
The DNS Management page opens.
- Scroll down to the bottom of the Records table and click Add.
- From the Type list, select A.
- In the Host field, enter @.
- In the Points to field, enter the A record (IP address) provided by your web host.
- In the TTL field, keep the default value.
- Click Save.
For a CNAME record:
- Next to the domain name that you want to unlock, click Moreand select Manage DNS.
The DNS Management page opens.
- Scroll down to the bottom of the Records table and click Add.
- From the Type list, select CNAME.
- In the Host field, enter the Name, Label, or Host portion of the record (usually www) provided by your web host.
- In the Points to field, enter the portion of the record that contains the name of your web host (such as www.squarespace.com).
- In the TTL field, keep the default value.
- 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.
- Next to the domain name that you want to connect to a website, click Moreand select Manage DNS.
The DNS Management page opens.
- Scroll down to Nameservers and click Change.
The Connect My Domain to a Website page opens.
- Click Enter my own nameservers (advanced).
- In the first Nameserver field, enter the nameserver provided by your web host.
- 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.
- Click Save.
- 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.
- From the Advanced DNS Settings pane, click Sign in to DNS console.
- Using the Sign-in name and Password noted previously, sign in to the DNS console.
The Domain Settings page opens in a new tab.
- Select the DNS record provided by your web host for instructions on adding it to your domain’s DNS records.
For an A record:
- Scroll down to the Host Records table and click Edit.
- Click Add New.
- From the Record Type list, select A (Address).
- In the Host Name field, enter @.
- 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.
- Click Save.
For a CNAME record:
- Scroll down to the Host Records table and click Edit.
- Click Add New.
- From the Record Type list, select CNAME (Alias).
- 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.
- In the Address field, enter the portion of the record that contains the name of your web host (like www.example.com).
- 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.
- From the DNS Information table, click Edit.
- Click Custom.
- 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.
- Enter the remaining name servers from your web host into the open Domain Name Server fields.
If you need more fields, click Add New.
- Click Save.
- 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.
- From the Advanced DNS Settings, click Sign in to DNS console.
- Using the Sign-in name and Password noted previously, sign in to the DNS console.
The DomainDiscount24 Dashboard page opens in a new tab.
- From the menu on the left, click DomainsMy Domains.
A page with your DomainDiscount24 domains listed opens.
- Select the DNS record provided by your web host for instructions on adding it to your domain’s DNS records.
For an A record:
- To the right of the domain you want to connect to your website, click MoreEdit DNS Settings.
- Scroll down the page to the Subdomain overview section.
- 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.
- Click next to the first A/AAAA Record field to show Add.
- Click Add.
A new A/AAAA field appears after the last A record.
- Enter the A record in the open field. It’s 4 sets of numbers separated by periods.
- Click Save to save your records.
For a CNAME record:
- To the right of the domain you want to connect to your website, click MoreEdit DNS Settings.
The DNS Settings page opens.
- 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.
- Click Create subdomain.
The CNAME window appears.
- 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 as www.example.com).
- 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.
- To the right of the domain you want to connect to your website, click MoreNameserver.
The Config nameserver page opens.
- Click TypeExternal nameserver.
Three new nameserver fields appear.
- Enter the first name server from your web host in the Nameserver 1 field.
- Repeat the previous step for the remaining web host name servers.
- Click Execute to save your records.
- 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.