If you already have a Google Workspace account (formerly known as G Suite), follow these steps to connect it to your domain on WordPress.com.
In this guide
To configure Google Workspace, it’s necessary to add pieces of information called DNS records to your domain. These records ensure you can send and receive emails using your domain’s email address.
Instead of adding each DNS record manually, you can add just one verification TXT record, and we can take care of the rest automatically.
You can add the verification TXT record using the following steps:
- Visit your site’s dashboard.
- Navigate to Upgrades → Domains (or Hosting → Domains if using WP-Admin) and click on the domain for which you want to set up Google Workspace.
- Click on the “DNS records” panel and then on the “Manage” button:
- Scroll down to the end and click on the Email setup panel to view the Google Workspace tab:
- Copy and paste a verification TXT record into the
google-site-verification=...
box. The exact record you need will depend on if you have previously verified your domain with Google:- If your domain is already verified with Google, you can copy and paste this TXT record:
google-site-verification=rXOxyZounnZasA8Z7oaD3c14JdjS9aKSWvsR1EbUSIQ
- If your domain is not yet verified with Google, you can copy a specific verification TXT record from your Google Admin Console by following the steps in the Verify your domain with a TXT record Google support guide. Your verification code looks something like this:
- If your domain is already verified with Google, you can copy and paste this TXT record:
- This verification TXT record will automatically add all the necessary Google Workspace DNS records to your domain.
- Click the “Set up Google Workspace” button.
In your DNS records section, you’ll now see several new records from Google — these records ensure you can send and receive email from your domain. Your email should start working within a couple of hours, but in some cases, it may take up to 24 hours for everything to work correctly.
If the quick steps in the previous section did not work, you can manually add the following Google Workspace DNS records.
To add the necessary DNS records, take the following steps:
- In your site’s dashboard, click on Upgrades → Domains (or Hosting → Domains if using WP-Admin).
- Click on the domain for which you are adding Google Workspace.
- Click on “DNS records” and then the “Manage” button.
- Click the “Add a record” button at the top right.
- Fill in the form with each record listed below, clicking the “Add DNS record” button to add each record to the domain.
First, add the Google Workspace MX records.
If you signed up for Google Workspace before April 2023, you will need to add the following five MX records:
Type | Name | Handled by | Priority | TTL |
---|---|---|---|---|
MX | (leave blank) | ASPMX.L.GOOGLE.COM | 1 | (leave as is) |
MX | (leave blank) | ALT1.ASPMX.L.GOOGLE.COM | 5 | (leave as is) |
MX | (leave blank) | ALT2.ASPMX.L.GOOGLE.COM | 5 | (leave as is) |
MX | (leave blank) | ALT3.ASPMX.L.GOOGLE.COM | 10 | (leave as is) |
MX | (leave blank) | ALT4.ASPMX.L.GOOGLE.COM | 10 | (leave as is) |
For Google Workspace accounts signed up after April 2023, you only need to add the following MX record:
Type | Name | Handled by | Priority | TTL |
---|---|---|---|---|
MX | (leave blank) | SMTP.GOOGLE.COM | 1 | (leave as is) |
Here is a completed example:
You should also add an SPF record to protect your email account against spoofing & phishing and prevent messages from being marked as spam. An SPF record uses the ‘TXT’ type of DNS record and typically starts with a value of “v=spf1”.
To add the SPF TXT record:
- In the Type box, select TXT.
- Leave the Name box empty, as it is optional.
- In the Text box, add
v=spf1 include:_spf.wpcloud.com include:_spf.google.com ~all
- If you already have an SPF record, you just need to add
include:_spf.google.com
before the final~all
in the record value.
- If you already have an SPF record, you just need to add
- Click the “Add DNS record” button to save the TXT record.
Here is a completed example:
Sometimes, you may need to add a:
- DKIM record using the steps in the Turn on DKIM for your domain Google support guide.
- DMARC record using the steps in the Add your DMARC record Google support guide.
Your email should start working within a couple of hours, but in some cases, it may take up to 24 hours for everything to work correctly.
If you need to restore default Google Workspace DNS records:
- In your dashboard, go to Upgrades → Domains (or Hosting → Domains if using WP-Admin).
- Click the domain name the Google Workspace email is associated with.
- Click “DNS records” and then click the “Manage” button.
- At the top right, next to the “Import BIND file” button, click the three dots, and choose “Restore DNS records for Google Workspace“:
If you don’t see the “Restore DNS records for Google Workspace” option:
- Your email records are set up correctly, so you don’t need to do anything!
- Your DNS is not managed through WordPress.com.