Google Workspace + Hostinger
Set up Google Workspace email on Hostinger
The records Google Workspace needs, written with the field names Hostinger uses (Name, Mail server, TXT value, Content), in the order to add them.
- 5 steps
- 5 DNS records
Before you start
- Have your Google Workspace account ready. Some values are unique to your account and come from the Google Admin console .
- Open DNS at Hostinger: In hPanel, go to Domains and click Manage next to your domain. Open DNS / Nameservers on the left. Use the Manage DNS records section.
- Keep both tabs open and add the records below one at a time.
Google Workspace also publishes its own guide for Hostinger: How to set up a domain for Google Workspace Email at Hostinger (Hostinger Help) .
Google Workspace on Hostinger: what to know
How long changes take
Hostinger says DNS changes can take up to 24 hours to fully propagate.
Source: How to manage DNS records at Hostinger (Hostinger Help)
Records to add
Copy each value with the button next to it. Rows marked “Copy from Google Admin console” are unique to your account.
| Record | Type | Name | Value | Priority | TTL | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Domain verification Proves you own the domain | Type | TXT | Name | @ | Value | Copy from Google Admin console Looks like: google-site-verification= followed by your unique code | Priority | n/a | TTL | 14400 seconds (4 hours) |
| MX records Where incoming email goes | Type | MX | Name | @ | Value | smtp.google.com | Priority | 1 | TTL | 14400 seconds (4 hours) |
| SPF record Which servers may send as you | Type | TXT | Name | @ | Value | v=spf1 include:_spf.google.com ~all | Priority | n/a | TTL | 14400 seconds (4 hours) |
| DKIM A signature on every message | Type | TXT | Name | google._domainkey | Value | Copy from Google Admin console | Priority | n/a | TTL | 14400 seconds (4 hours) |
| DMARC record What to do with fakes · recommended | Type | TXT | Name | _dmarc | Value | v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com | Priority | n/a | TTL | 14400 seconds (4 hours) |
Step by step in Hostinger
Verify your domain
Your email provider needs proof that you control this domain before it accepts email for it.
- Type
- TXT
- Name
-
@ - TXT value
- Copy it from Google Admin console (see below)
Where to find your value
In the Google Admin console go to Menu > Account > Domains > Manage domains, click Verify domain, then Get started. In the TXT record section, copy the Value, including google-site-verification=.
It looks like: google-site-verification= followed by your unique code
- Leave the host blank or enter @.
- Once Google has verified the domain, this TXT record can be safely removed. Removing it earlier makes verification fail.
1 more note from Google Workspace on this record
In Hostinger
- In Manage DNS records, choose TXT as the type.
- Enter the Name (@ for the root, or only the prefix such as _dmarc) and the TXT value.
- Click Add Record.
Point your MX records
MX records tell other mail servers where to deliver your email. How MX works
- Type
- MX
- Name
-
@ - Priority
- 1
- Mail server
-
smtp.google.com
- Remove any other MX records. Email might not work correctly if old or incorrect MX records stay in place.
3 more notes from Google Workspace on this record
In Hostinger
- In Manage DNS records, choose MX as the type.
- Enter @ as the Name, your provider's mail server, and the Priority. Keep the default TTL unless your provider asks otherwise.
- Click Add Record.
Add the SPF record
SPF lists the services allowed to send email as you. How SPF works
- Type
- TXT
- Name
-
@ - TXT value
-
v=spf1 include:_spf.google.com ~all
- If other services also send email for your domain, list each one in the same record, for example: v=spf1 include:_spf.google.com include:amazonses.com ~all.
2 more notes from Google Workspace on this record
In Hostinger
- In Manage DNS records, choose TXT as the type.
- Enter the Name (@ for the root, or only the prefix such as _dmarc) and the TXT value.
- Click Add Record.
Set up DKIM
DKIM signs your mail so receivers can trust it. How DKIM works
- Type
- TXT
- Name
-
google._domainkey - TXT value
- Copy it from Google Admin console (see below)
Where to find your value
In the Google Admin console go to Menu > Apps > Google Workspace > Gmail and click Authenticate email. Select your domain, generate a new record (2048-bit if your domain host supports it, otherwise 1024-bit) and copy the TXT record value.
- After the record is published, go back to Authenticate email and turn on authentication for the domain.
3 more notes from Google Workspace on this record
In Hostinger
- In Manage DNS records, choose TXT as the type.
- Enter the Name (@ for the root, or only the prefix such as _dmarc) and the TXT value.
- Click Add Record.
Add the DMARC record (recommended)
DMARC tells receivers what to do with mail that fakes your domain. How DMARC works
- Type
- TXT
- Name
-
_dmarc - TXT value
-
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
- Start with p=none so nothing is blocked while you read the reports. Google suggests running it for about a week.
3 more notes from Google Workspace on this record
In Hostinger
- In Manage DNS records, choose TXT as the type.
- Enter the Name (@ for the root, or only the prefix such as _dmarc) and the TXT value.
- Click Add Record.
Check your setup
Once the records are saved, run a live check. We look up your domain in public DNS and tell you what is right, missing or wrong, with the fix in Hostinger’s words.
Common mistakes with Google Workspace on Hostinger
Leaving old MX records in place
Google says email might not work correctly if old or incorrect MX records stay. Remove every MX record except smtp.google.com.
Adding a second SPF record
A domain must have only one SPF record. If you already have one, add include:_spf.google.com to it instead of creating another.
Hostinger: Delete Hostinger Email's MX records
If the domain was set up for Hostinger Email, the zone contains MX records for mx1.hostinger.com and mx2.hostinger.com. Delete them before adding another provider's MX records.
Hostinger: Clear out old email records
Hostinger recommends removing any existing MX, SPF, DKIM and DMARC records that point to other email services, because conflicting records cause delivery problems.
Google Workspace on Hostinger: questions
I just pointed my domain to Hostinger’s nameservers. When do I add Google’s records?
Hostinger sets up its own email records automatically when the domain uses its nameservers. Once the nameserver change is complete, remove those Hostinger Email records and replace them with the records Google gives you.
Which old records should I remove at Hostinger?
Hostinger says to remove any existing MX, SPF, DKIM and DMARC records that point to other email services, because conflicting records cause delivery problems. Then allow a few hours for the change to spread.
Where do I add Google Workspace DNS records in Hostinger?
In hPanel, go to Domains and click Manage next to your domain. Open DNS / Nameservers on the left. Use the Manage DNS records section. Add each record there, one at a time.
What goes in the Name field at Hostinger?
Enter @ for records on your bare domain, such as MX and SPF. For the others, enter only the part before your domain, for example google._domainkey. Hostinger adds your domain automatically.
Do I need to delete my existing MX records at Hostinger?
Remove any other MX records. Email might not work correctly if old or incorrect MX records stay in place. If the domain was set up for Hostinger Email, the zone contains MX records for mx1.hostinger.com and mx2.hostinger.com. Delete them before adding another provider's MX records. Hostinger recommends removing any existing MX, SPF, DKIM and DMARC records that point to other email services, because conflicting records cause delivery problems.
How long until Google Workspace email works on Hostinger?
New MX records can take up to 72 hours to be recognized. Hostinger says DNS changes can take up to 24 hours to fully propagate.
Sources
Every value and step on this page comes from these official pages. Dashboards change, so if something doesn’t match what you see, tell us.
Google Workspace records
- How to set up a domain for Google Workspace Email at Hostinger (Hostinger Help)
- Recommended DMARC rollout (Google Workspace Help)
- RFC 7208: Sender Policy Framework (IETF)
- Set up DKIM (Google Workspace Help)
- Set up DMARC (Google Workspace Help)
- Set up MX records for Google Workspace (Google Workspace Help)
- Set up SPF (Google Workspace Help)
- Verify your domain with a TXT record (Google Workspace Help)
Hostinger steps and tips
Google Workspace on Hostinger
Google Workspace on other hosts
- Google Workspace on Bluehost
- Google Workspace on Cloudflare
- Google Workspace on GoDaddy
- Google Workspace on Namecheap
- Google Workspace on Squarespace Domains
- Google Workspace on Amazon Route 53
- Google Workspace on DreamHost
- Google Workspace on IONOS
- Google Workspace on Name.com
- Google Workspace on Network Solutions
- Google Workspace on OVHcloud
- Google Workspace on Porkbun
- Google Workspace on SiteGround
- Google Workspace on Wix
- Google Workspace on WordPress.com