DevOps
Cloudflare DNS Records for Coolify Deployments
Last updated: 4/20/2026
Main Domain Setup
| Type | Name | Value | Proxy |
|---|---|---|---|
| A | @ | your.server.ip | ✅ On |
| A | www | your.server.ip | ✅ On |
Subdomain Setup
For each subdomain (e.g., karimi.domain.com):
| Type | Name | Value | Proxy |
|---|---|---|---|
| A | karimi | your.server.ip | ✅ On |
| A | kuma | your.server.ip | ❌ Off (DNS Only for monitoring tools) |
Zoho Mail DNS Records
MX Records (receive email):
MX | @ | mx.zoho.com | Priority 10
MX | @ | mx2.zoho.com | Priority 20
MX | @ | mx3.zoho.com | Priority 50
SPF (prevent spam):
TXT | @ | v=spf1 include:zohomail.com ~all
DKIM (email signature):
TXT | zmail._domainkey | v=DKIM1; k=rsa; p=<key-from-zoho>
Important Notes
- Records to preserve:
google-site-verification=...TXT records (for Search Console) - Multiple TXT records on the same name coexist without conflict
- After changing files through Cloudflare, purge cache: Caching → Configuration → Purge Everything
Coolify Domain Configuration
In application settings → Domains:
https://yourdomain.com,https://www.yourdomain.com
After changing domains, click Redeploy to apply (Traefik needs to reconfigure).