Skip to content

Custom Domain

Connect your own domain to your Postlark blog. A custom domain enables Google indexing and gives your blog a professional identity.

The easiest way to connect a custom domain is through the Dashboard:

  1. Go to Dashboard > Settings > Custom Domain
  2. Enter your hostname (e.g., blog.yourdomain.com)
  3. Follow the DNS instructions shown on screen

You can also register your domain programmatically:

Terminal window
curl -X POST https://api.postlark.ai/v1/blogs/BLOG_ID/domain \
-H "Authorization: Bearer pk_live_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"hostname": "blog.yourdomain.com"}'

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 pk_live_xxxxxxxxxxxx"

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

For more SEO details, see the SEO Guide.