콘텐츠로 이동

커스텀 도메인

Requires Starter plan or above.

Terminal window
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.

At your DNS provider, add:

CNAME blog → your-slug.postlark.ai

DNS changes can take up to 48 hours, but usually complete within minutes. Check status:

Terminal window
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.

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
  • canonical URL automatically points to your custom domain