Most developers setting up email for the first time configure their sending domain as their root domain — yourdomain.com. This is the wrong approach. Using a subdomain is not a best practice suggestion; it is the correct architecture for protecting your business. Here is why, and how to set it up properly.
Why the Root Domain Is Off-Limits for Email Sending
Your root domain carries three distinct reputations:
- Email sender reputation: Inbox providers (Gmail, Outlook) track the bounce rate, complaint rate and engagement rate for email sent from your domain.
- Web/SEO reputation: Search engines track your domain's age, backlinks and history.
- Security reputation: Certificate authorities, browser vendors and security services track your domain against phishing and spam databases.
These reputations are partially linked. A domain with severe email deliverability problems — blacklisted for spam, high complaint rates — can appear in security databases that affect browser warnings and search ranking signals. More practically: if your root domain develops an email reputation problem, you cannot simply swap to a new subdomain without the problem following. The root domain is your most valuable online asset. Do not risk it on email sending.
The Correct Subdomain Architecture
Use two subdomains — one for transactional email, one for marketing email:
mail.yourdomain.com ← transactional (password resets, receipts, alerts)
news.yourdomain.com ← marketing (newsletters, campaigns, promotions)
yourdomain.com ← root domain (never used for sending)
Why separate subdomains for transactional and marketing? Because their risk profiles are different:
- Transactional: Low volume, triggered by user actions, expected by recipients. Very low complaint rates. Must reach the inbox — a missed password reset is a broken user experience.
- Marketing: Higher volume, broadcast, not always expected. Higher complaint rates. More deliverability variability.
If a marketing campaign generates elevated complaints, it affects news.yourdomain.com only. Your transactional email on mail.yourdomain.com is unaffected.
DNS Configuration for Each Subdomain
Each sending subdomain needs its own DKIM, SPF and DMARC records.
DKIM
DKIM adds a cryptographic signature to outgoing email. Each subdomain gets its own DKIM selector and key. In NexusProMail, add your sending subdomain to your account and the dashboard will generate the DKIM record to add to DNS:
# Example DKIM record for mail.yourdomain.com
# Selector: nexuspm1._domainkey.mail.yourdomain.com
nexuspm1._domainkey.mail IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb..."
SPF
SPF authorises which servers can send email on behalf of a subdomain. Add the NexusProMail include directive to the subdomain's SPF record:
# SPF for mail.yourdomain.com
mail IN TXT "v=spf1 include:spf.nexuspromail.com ~all"
# SPF for news.yourdomain.com
news IN TXT "v=spf1 include:spf.nexuspromail.com ~all"
# Root domain SPF — no email sending, reject all
@ IN TXT "v=spf1 -all"
Note the root domain SPF: -all (hard fail) explicitly states that no servers are authorised to send email from yourdomain.com. This is correct — the root domain should never send email, and this record tells inbox providers to reject any mail that claims to come from it.
DMARC
DMARC ties DKIM and SPF together and specifies what to do when authentication fails. Use a strict policy for maximum protection:
# DMARC for mail.yourdomain.com
_dmarc.mail IN TXT "v=DMARC1; p=reject; rua=mailto:dmarc@yourdomain.com; adkim=s; aspf=s"
# DMARC for the root domain
_dmarc IN TXT "v=DMARC1; p=reject; rua=mailto:dmarc@yourdomain.com"
p=reject tells inbox providers to reject any email that fails authentication. This is the strongest protection against domain spoofing. If you are not ready for reject, use quarantine as an intermediate step and graduate to reject after monitoring reports for a few weeks.
Warming Each Subdomain Separately
Subdomains have independent sender reputations. This means each subdomain must be warmed separately when you start sending. A subdomain that has never sent email is a cold domain — sending high volumes immediately will trigger filtering.
For transactional email (mail.yourdomain.com): the warming process is gentler because transactional email is low-volume and high-engagement. Start sending immediately at your natural transactional volume — do not artificially inflate it.
For marketing email (news.yourdomain.com): follow the standard domain warming schedule — starting at 200/day and increasing weekly.
What Happens If You Do Not Follow This Architecture
- Root domain spoofing becomes easier: Without
p=rejectDMARC on your root domain, phishers can spoof your brand in emails that appear to come fromyourdomain.com. - Marketing problems bleed into transactional: A newsletter campaign that generates elevated complaints can affect the deliverability of your transactional email if both share a domain.
- Recovery is harder: Fixing a damaged root domain reputation takes months. Moving to a subdomain after the fact means starting from zero reputation while your root domain carries the damage.
Checklist
- ☐ Sending subdomain created:
mail.yourdomain.com - ☐ DKIM record added for
mail.yourdomain.com - ☐ SPF record added for
mail.yourdomain.com(include NexusProMail) - ☐ DMARC record added for
mail.yourdomain.com(p=quarantineorreject) - ☐ Root domain SPF set to
-all - ☐ Root domain DMARC set to
p=reject - ☐ Marketing subdomain configured separately if applicable
- ☐ Domain warming initiated per warming schedule
- ☐ Subdomains verified in NexusProMail dashboard