Say you run a bakery called Corner Loaf, and cornerloafbakery.com is hosted at SiteGround. Your mail host, the company that runs your email (Google Workspace, Microsoft 365, FlatInbox), gives you a list of records to add. The examples here are the ones FlatInbox gives Corner Loaf: your values will differ, but they go in the same boxes.
Check that SiteGround runs your DNS
Your domain's nameservers, the servers that answer for it, decide which company's records count. SiteGround's DNS Zone Editor only works while your domain uses ns1.siteground.net and ns2.siteground.net; if it doesn't, the editor shows a warning (SiteGround's page). If they point somewhere else, such as the company you bought the domain from, add your records there. Not sure where yours point? Our DNS page tells you which company runs your DNS.
Open your DNS records
- In SiteGround, open Site Tools for your site.
- Go to Domain › DNS Zone Editor.
- Under Create New Record, select the tab for the type: A, AAAA, CNAME, MX, SRV or TXT.
- Fill it in and select Create.
In Name, leave the box empty for the domain itself. For any other name, type only the part before your domain, such as _dmarc: SiteGround shows your domain after the box. Existing records are under Manage DNS Records, each with a pencil to edit and a bin to delete.
Add an MX record
An MX record tells other mail servers where to deliver your domain's mail. SiteGround starts every domain with three MX records for its own mail, ending in antispam.mailspamprotection.com (mx10, mx20 and mx30; SiteGround's page). Wait until your new mail host says it's ready, then delete those three under Manage DNS Records and add yours:
- Select the MX tab and choose Add your own MX records.
- Destination:
inbound-smtp.us-east-1. amazonaws. com - Priority:
10, then Create
Add TXT records for SPF and DMARC
An SPF record lists the services allowed to send mail as your domain: each is an include: part, and the ~all at the end covers everyone else. Add one only if a service you send from asks for it. Google Workspace does, with v=spf1 . FlatInbox doesn't need one.
- Select the TXT tab, leave Name empty, and set TTL, how long other networks keep a copy, to 1 hour
- Value: the record your mail host gives you, then Create
A domain can have only one SPF record. If the list already has a TXT record on the domain starting v=spf1, edit it with the pencil and add the new host's include: instead of creating a second one.
A DMARC record tells other mail servers what to do with mail that uses your domain but fails the SPF and DKIM checks. On the TXT tab: Name _dmarc, Value v=DMARC1; , which asks them to deliver it as usual: the safe place to start.
Add a CNAME record for DKIM
DKIM puts a signature on each message you send, so the receiving inbox can tell it really came from you. Your mail host keeps the key that checks it, and a CNAME record, a pointer from a name on your domain to a name on theirs, tells inboxes where to find it:
- Select the CNAME tab, Name:
fi1._domainkey - Resolves to:
fi1., then Createk7m2p9x4q8ab. dkim. flatinbox. net
SiteGround won't create a CNAME on a name that already has other records (SiteGround's page). FlatInbox asks for three CNAME records like this one: fi1._domainkey and fi2._domainkey for its DKIM keys, and bounce for the address that collects bounced mail.
How long it takes
SiteGround suggests a TTL of 1 hour if you're unsure (SiteGround's page), so a new record usually shows everywhere within an hour or two.
Check that it worked
SiteGround's own help
We checked every step above against these pages on 30 November 2026: