MX Records for Email
Configure MX records to route email through GHP Cloud or a third-party provider.
MX Records for Email
MX (Mail Exchanger) records tell the global email system where to deliver email for your domain. Incorrect MX records are the most common cause of email delivery failure.
GHP Cloud does not host mailboxes. Point your MX records at whichever email provider you use — Google Workspace, Microsoft 365, Zoho, Fastmail or your existing host — and keep hosting your website here. The examples below cover the two most common.
Using Google Workspace
To route email through Google Workspace (G Suite), replace any existing MX records with:
Priority: 1 Value: aspmx.l.google.com.
Priority: 5 Value: alt1.aspmx.l.google.com.
Priority: 5 Value: alt2.aspmx.l.google.com.
Priority: 10 Value: alt3.aspmx.l.google.com.
Priority: 10 Value: alt4.aspmx.l.google.com.Using Microsoft 365
For Microsoft 365 email, add the MX record provided during domain setup in the Microsoft 365 admin panel. It looks like:
Priority: 0
Value: yourdomain-com.mail.protection.outlook.com.SPF record
An SPF record specifies which servers are authorised to send email on behalf of your domain. Without SPF, many email providers will mark your outgoing email as spam.
Use the include your email provider gives you. For example:
Type: TXT
Name: @
Value: "v=spf1 include:_spf.google.com ~all" (Google Workspace)
Value: "v=spf1 include:spf.protection.outlook.com ~all" (Microsoft 365)Publish exactly one SPF record per domain, and only include senders you actually use — an include that does not resolve is an SPF permerror, which can make all of your outgoing mail fail authentication.
DKIM record
DKIM (DomainKeys Identified Mail) adds a cryptographic signature to outgoing email. Your email provider generates the key pair and gives you the exact record to publish — the selector differs per provider:
Type: TXT
Name: <selector>._domainkey (e.g. google._domainkey, selector1._domainkey)
Value: "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSI..."DMARC record
DMARC tells receiving mail servers what to do when SPF or DKIM checks fail:
Type: TXT
Name: _dmarc
Value: "v=DMARC1; p=quarantine; rua=mailto:[email protected]"Start with p=none to monitor without affecting delivery, then graduate to p=quarantine and finally p=reject once you are confident all legitimate email passes SPF and DKIM.
Was this article helpful?