Custom Domains for Frontends
Give your static site a professional URL by connecting your own domain.
Setting up a custom domain
- Open your frontend deployment detail page
- Click Custom Domain
- Enter your domain (e.g.,
www.myapp.com) - Add the DNS record shown in the dashboard
DNS configuration
Create a CNAME record pointing to your frontend’s default subdomain:
| Type | Name | Value |
|---|---|---|
| CNAME | www | <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.