Docs Frontend Custom Domains for Frontends

Custom Domains for Frontends

Give your static site a professional URL by connecting your own domain.

Setting up a custom domain

  1. Open your frontend deployment detail page
  2. Click Custom Domain
  3. Enter your domain (e.g., www.myapp.com)
  4. Add the DNS record shown in the dashboard

DNS configuration

Create a CNAME record pointing to your frontend’s default subdomain:

TypeNameValue
CNAMEwww<frontend-name>.pocketbasecloud.com

For apex domains (e.g., myapp.com), use a DNS provider that supports CNAME flattening (like Cloudflare).

SSL certificates

SSL is automatically provisioned once DNS verification succeeds. No configuration needed.

Verifying DNS

Click Verify in the dashboard after adding your DNS record. Propagation typically completes within minutes but can take up to 48 hours.