Custom Domain
Requires Starter plan or above.
1. Register your domain via API
Section titled “1. Register your domain via API”curl -X POST https://api.postlark.ai/v1/blogs/BLOG_ID/domain \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"hostname": "blog.yourdomain.com"}'Or use Dashboard → Settings → Custom Domain.
2. Add a CNAME record
Section titled “2. Add a CNAME record”At your DNS provider, add:
CNAME blog → your-slug.postlark.ai3. Wait for propagation
Section titled “3. Wait for propagation”DNS changes can take up to 48 hours, but usually complete within minutes. Check status:
curl https://api.postlark.ai/v1/blogs/BLOG_ID/domain \ -H "Authorization: Bearer YOUR_API_KEY"SSL certificates are automatically provisioned via Cloudflare. No action needed.
Subdomain Redirect
Section titled “Subdomain Redirect”Once a custom domain is active, your slug.postlark.ai subdomain automatically redirects (301) to your custom domain.
- Custom domain blogs are indexed by Google (Starter+)
- Free subdomain blogs are noindex by design
canonicalURL automatically points to your custom domain