Before you add a single DNS record for your email sending setup, you need to make three decisions: which subdomain to use, whether to separate marketing from transactional email, and how your DMARC policy should cascade. Most setup guides skip the first two entirely. Getting all three right before you touch DNS saves you a reputation rebuild later.
If you are still at the stage of understanding why subdomains matter at all, what a sending domain is and why it needs its own reputation covers that foundation. This post is the setup guide for people who are ready to act.
The Subdomain Decision — By the Numbers
Decision 1: Structure Your Subdomains Before You Pick Names
Most ecommerce brands need to send at least two fundamentally different types of email: promotional campaigns to opted-in subscribers, and transactional mail like order confirmations and shipping updates. These two streams have different complaint rate profiles, different ISP engagement expectations, and different consequences when they fail.
The right structure gives each stream its own subdomain:
| Subdomain | Use Case | Examples |
|---|---|---|
mail.yourbrand.com | Marketing email | Campaigns, promotions, flows, win-backs |
tx.yourbrand.com | Transactional email | Order receipts, shipping updates, password resets |
alerts.yourbrand.com (optional) | Operational email | Back-in-stock, review requests, account notices |
The marketing and transactional separation is the critical one. A complaint spike from re-engaging lapsed subscribers degrades the subdomain it sends from. If transactional mail sits on a separate subdomain, that complaint signal stays contained — your customers’ order confirmations keep landing in the inbox regardless of what happened to last week’s promo campaign.
At lower sending volumes (under 50,000 emails per month total), one subdomain for everything is fine. The split becomes worth the overhead when your promotional complaint rate starts affecting transactional deliverability — and you will not know that is happening without per-subdomain monitoring.
Decision 2: Choose Your Subdomain Name Deliberately
The prefix you choose is visible in email headers and sometimes in the From address. It is worth spending two minutes on it before registering anything.
Prefixes that work well:
mail.— the broadest convention, recognized by all ISPs and most recipientsem.— common ESP shorthand, cleane.orsend.— short, neutral, no negative associations
Prefixes to avoid:
noreply.— signals to spam filters that engagement is not expected; also frustrates subscribers who try to replyinfo.orcontact.— generic, associated with bulk low-intent sendingnewsletter.— over-specific; boxes you in if your program expands- Anything hyphenated — hyphenated subdomains appear frequently in spam infrastructure; some ISP heuristics weight this negatively
Keep it short, brand-adjacent, and free of associations that spam filters read as low-engagement signals.
Decision 3: Understand the DMARC Cascade Before You Touch DNS
This is the most commonly misunderstood part of subdomain email setup, and getting it wrong causes authentication failures that are hard to diagnose after the fact.
You have two options for DMARC coverage on a sending subdomain:
Option A (recommended for most senders): Rely on your root domain DMARC
A DMARC record at _dmarc.yourbrand.com automatically covers all subdomains under relaxed alignment. Relaxed alignment means mail.yourbrand.com satisfies the DMARC requirement of yourbrand.com because they share the same organizational domain. You do not need a separate DMARC record for each subdomain.
Option B: Publish a subdomain-specific DMARC record
A record at _dmarc.mail.yourbrand.com overrides the root domain policy for that subdomain only. Use this if you want different enforcement levels per subdomain — for example, p=reject on transactional and p=quarantine on marketing while you complete a warm-up.
For most ecommerce senders, Option A is correct. DMARC does not care whether SPF and DKIM pass in isolation — it cares whether those passes belong to the domain your subscribers see in the From field. Domain alignment and inbox placement explains exactly where Klaviyo’s default setup breaks this, and how to confirm your subdomain is passing alignment correctly.
Adding the DNS Records
Once your subdomain is chosen and your DMARC approach is clear, your ESP generates the records. The setup is the same structure across all major ESPs: two DKIM CNAMEs and one Return-Path CNAME.
DKIM CNAMEs (2 records)
These authorize your ESP to cryptographically sign outgoing email under your subdomain. Your ESP generates the exact values — copy them precisely, do not reconstruct them. Once live, every outgoing email carries a dkim=pass header.d=mail.yourbrand.com signature instead of your ESP’s shared domain.
Return-Path CNAME (1 record) This handles bounce routing and enables SPF alignment — it tells receiving servers that the invisible envelope From address matches your sending subdomain.
The registrar trap to watch for: Some DNS registrars automatically append your root domain to the Name field. If you type mail and the registrar adds .yourbrand.com, the record resolves as mail.yourbrand.com.yourbrand.com — broken DNS that will never verify. Check your registrar’s documentation on whether to include or omit the root domain in the Name field before you save anything.
For Klaviyo specifically: go to Settings, then Email, then Sending Domains, add your subdomain, and Klaviyo surfaces all three CNAMEs with exact values. Set the domain as default after verification — verification alone does not activate it. The Klaviyo custom sending domain walkthrough covers every screen in the setup wizard.
Verifying it worked: After your first send, open the email in Gmail, select Show original, and find the Authentication-Results header. You want dkim=pass header.d=mail.yourbrand.com. If it shows your ESP’s shared domain instead, the sending domain is not set as default or DNS has not finished propagating. Wait and re-test — do not delete and re-add records, as that restarts the propagation clock.
For SPF, DKIM, and DMARC in full technical detail, SPF, DKIM, and DMARC explained is the reference post.
After DNS: Warm-Up and Per-Subdomain Monitoring
Every new subdomain starts with zero ISP history. Even a clean list and perfect authentication cannot shortcut this — ISPs need to accumulate positive sending signals before extending trust to a domain they have never seen.
Warm-up approach:
- Start with your most engaged subscribers: opened or clicked in the last 30 to 60 days
- Begin at a few hundred to a few thousand per day
- Double volume every few days as complaint and bounce rates stay clean
- Full warm-up takes two to four weeks for most ecommerce senders
After warm-up, register your subdomain — not your root domain — in Google Postmaster Tools. Postmaster tracks domain reputation, spam rate, and authentication pass rates per domain. If you register the root domain, you get aggregate data that mixes your email program with everything else your root domain does. Registering the subdomain gives you a clean signal. The Google Postmaster Tools guide walks through the verification steps.
For real-time placement monitoring across Gmail, Outlook, and Yahoo per sending subdomain, real-time email deliverability monitoring covers what a complete monitoring setup looks like.
The Setup Checklist
Before you send a single email on a new subdomain:
- Structure first — decide if you need marketing and transactional on separate subdomains before choosing names
- Name it clean — short, brand-adjacent, no noreply or hyphens
- Understand your DMARC coverage — root domain policy cascades to subdomains under relaxed alignment; no extra records needed in most cases
- Add all three DNS records — both DKIM CNAMEs and the Return-Path CNAME
- Watch for the registrar double-domain trap — check your registrar’s Name field behavior before saving
- Set as default in your ESP — verification does not activate the domain
- Verify alignment in raw headers —
dkim=pass header.d=mail.yourbrand.comis the confirmation - Warm up before full-list sending — two to four weeks, engaged subscribers first
- Register in Postmaster Tools under the subdomain — not the root domain
- Monitor per subdomain — complaint and placement data should be tracked at the subdomain level
Getting this right is a one-time investment. Everything else in your email program — reputation building, BIMI eligibility, DMARC enforcement — sits on top of this foundation.
InboxEagle monitors inbox placement and authentication health per sending domain in real time, so you can see the exact effect of your subdomain setup across every mailbox provider from day one.
Note: Content created with the help of AI and human-edited and fact-checked to avoid AI hallucinations.
Sources
- Google Email Sender Guidelines
- Klaviyo — Set Up a Branded Sending Domain
- Klaviyo — Domain Warm-Up for Dedicated Sending Domains
- dmarcian — Understanding DMARC Alignment
- MXToolbox — DKIM Lookup
- InboxEagle native research data, Q1 2026 (3,474 sender domains)