ThisCalculator

Everyday

How to Set Up Google Workspace Email on a WordPress Domain

Updated · Standard formula, shown below

This guide walks you through connecting your custom domain (the one you use for your WordPress site) to Google Workspace so you can send and receive email through Gmail. You’ll need to verify domain ownership, add email records, and configure your domain’s MX settings. By the end, you’ll have a working @yourdomain.com email address that works with Gmail’s interface.

What You’ll Need

  • A Google Workspace account (you can sign up during this process)
  • Access to your domain registrar or DNS hosting provider (where you bought your domain, e.g., GoDaddy, Namecheap, Cloudflare)
  • Admin access to your WordPress hosting account (to update DNS if you manage DNS there)
  • Your domain name (e.g., yourdomain.com)

Step-by-Step

  1. Sign up for Google Workspace – Go to workspace.google.com and click “Get Started.” Enter your business name, number of employees, and contact info. Choose a plan (Business Starter is fine for most small sites). During setup, you’ll be asked to enter your domain. If you already have a domain, select “I have a domain” and type it in.
  2. Create your first admin account – You’ll be prompted to create an admin email address (e.g., admin@yourdomain.com). This becomes your super admin account. Remember this login.
  3. Verify domain ownership – Google will ask you to verify that you own the domain. The easiest method is to add a TXT record to your DNS. Google shows you a unique TXT value (like “google-site-verification=…”). Copy it.
  4. Log in to your DNS provider – Go to wherever your domain’s DNS is managed. This is usually your domain registrar (where you bought the domain) or your WordPress host if you use their nameservers. Common places: GoDaddy, Namecheap, Cloudflare, or your hosting panel (cPanel).
  5. Add the TXT record – In your DNS settings, find “Add record” or “Add DNS record.” Choose type TXT. Host/Name: usually leave as @ or yourdomain.com. Value: paste the exact TXT value from Google. TTL: leave default (or 3600). Save the record.
  6. Return to Google and verify – Go back to the Google Workspace setup page and click “Verify.” It may take a few minutes for DNS to propagate. If it fails, wait 10–15 minutes and try again.
  7. Add MX records for email – After verification, Google will ask you to set up email. It will show you MX records to add. These look like: ASPMX.L.GOOGLE.COM with priority 10, ALT1.ASPMX.L.GOOGLE.COM with priority 20, and so on (5 total).
  8. Add the MX records to your DNS – In your DNS provider, add a new record of type MX. Host/Name: @ (or yourdomain.com). Mail server: paste the Google address (e.g., ASPMX.L.GOOGLE.COM). Priority: enter the number Google specifies (e.g., 10). Add all five records. Save each one.
  9. Add SPF record (optional but recommended) – To improve email deliverability, add a TXT record with value: v=spf1 include:_spf.google.com ~all. Host/Name: @. This helps prevent your emails from being marked as spam.
  10. Add DKIM (optional but recommended) – In Google Admin console (admin.google.com), go to Apps → Google Workspace → Gmail → Authenticate email. Generate a DKIM key (usually 2048-bit). Copy the TXT record it gives you (looks like v=DKIM1; k=rsa; p=MIGfMA0...). Add it as a TXT record in your DNS with host: google._domainkey. Then click “Start authentication” in Google.
  11. Finish Google Workspace setup – Google will check that your MX records are correct. Once it confirms, click “I’ve completed these steps.” Your email is now live.
  12. Create additional users (if needed) – In the Google Admin console, go to Users → Add new user. Create email addresses like sales@yourdomain.com or info@yourdomain.com.
  13. Set up email on your device – Go to Gmail (mail.google.com) and log in with your new address. You can also add it to Outlook or your phone’s mail app using the IMAP settings Google provides (imap.gmail.com, port 993, SSL).

Common Mistakes

  • Wrong host/name in DNS records – For MX and TXT records, the host is almost always @ (or your bare domain). If you put “www” or leave it blank, the records won’t work.
  • Not removing old MX records – If your domain already had email with another provider, you must delete the old MX records. Having multiple MX records from different providers can cause email to go to the wrong server.
  • Using the wrong TXT value for verification – Copy the entire value exactly, including any equals signs or periods. A missing character will fail verification.
  • Forgetting to add SPF – Without SPF, your emails may go to spam. If you already have an SPF record, add include:_spf.google.com to it rather than creating a second SPF record (you can only have one SPF record).
  • Not waiting for DNS propagation – DNS changes can take up to 48 hours, though usually it’s much faster (minutes to a few hours). Don’t panic if it doesn’t work immediately.

Tips

  • Use a subdomain for testing – If you’re nervous about breaking existing email, you can set up Google Workspace on a subdomain first (e.g., mail.yourdomain.com) to test, then switch the main domain.
  • Keep your admin account separate – Use a generic admin@yourdomain.com for admin tasks, not your personal name. That way you can add/remove users without locking yourself out.
  • Enable 2-step verification – For security, turn on 2FA for all Google Workspace accounts, especially the admin.
  • Use Google’s setup tool – Google has a domain setup checklist in the Admin console that guides you through each step. Use it to avoid missing anything.
  • Back up your DNS settings – Before making changes, screenshot your existing DNS records so you can revert if something goes wrong.

Troubleshooting

Verification fails repeatedly – Double-check that you copied the TXT value exactly. Ensure the host is @ (not www). If you’re using Cloudflare, make sure the record is not proxied (the orange cloud should be grey for TXT and MX records). Wait 30 minutes and try again.

Email not sending/receiving after MX change – First, check that your MX records are exactly as Google provided. Use a tool like MXToolbox (or Google’s own check) to see if your MX records are correct. Also, confirm you deleted old MX records. If you’re still having issues, wait 24 hours for full propagation.

Email goes to spam – This is usually an SPF or DKIM issue. Verify your SPF record includes include:_spf.google.com and that DKIM is authenticated in Google Admin. Also, make sure you’re not sending bulk emails from a new domain (warm up your domain by sending normal emails).

Can’t log into Gmail with your new address – Make sure you’re using the full email address (e.g., admin@yourdomain.com) and the password you set during signup. If you forgot, use the “Forgot password” link in Google Admin (admin.google.com) to reset it.

DNS changes not showing up – Some DNS providers cache changes. Try using a different DNS checker (like dnschecker.org) to see if the record is visible. If it’s not, you may have added it to the wrong domain or the wrong hosting account.

Google says “Domain already in use” – This can happen if you previously signed up for a Google service with that domain (e.g., Google Domains or a free Gmail alias). You may need to go through the domain verification process again or contact Google Workspace support.

Frequently Asked Questions

Can I use Google Workspace with my existing WordPress email (e.g., from cPanel)? – Yes, but you’ll need to migrate your email data. You can use Google Workspace’s migration tools to import emails from your old server (IMAP migration). After that, you can deactivate the old email accounts.

Do I need to change my WordPress site’s settings? – No. Your WordPress site doesn’t need any changes. Email is separate from your website. However, if you use a contact form plugin, you may want to update the “From” address to your new @yourdomain.com address.

How long does DNS propagation take? – Usually between a few minutes and 48 hours. Most changes take effect within 1–2 hours, but some ISPs cache DNS longer. Google will tell you when it sees the records.

Can I have multiple domains in one Google Workspace account? – Yes, you can add additional domains as aliases. In the Admin console, go to Domains → Add domain. You’ll need to verify each domain and set up MX records for them if you want email on those domains.

What if I already have email with another provider (like Outlook or Zoho)? – You can switch to Google Workspace, but you’ll need to export your old emails and import them into Gmail. Google provides a migration tool for this. You’ll also need to update your MX records to point to Google, which will stop email from going to your old provider.

Is Google Workspace free? – No, it’s a paid service. Plans start at around $6 per user per month (Business Starter). There is no free tier for custom domains. However, you can try it free for 14 days.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.