Custom domain on a dedicated gateway
You can serve a dedicated gateway from a custom domain (e.g. cdn.example.com instead of my-gateway.myfilebase.com). Filebase auto-provisions a Let's Encrypt TLS certificate for the domain.
Add a custom domain
- Open the gateway in the console.
- Settings → Custom Domain → Add Domain.
- Enter the hostname.
- Filebase shows you the CNAME target.
- Add a CNAME record at your DNS provider:
cdn.example.com. CNAME my-gateway.myfilebase.com.
- Wait for DNS propagation (usually a few minutes).
- Filebase verifies the CNAME and provisions the certificate.
Once issued, the gateway is reachable at https://cdn.example.com/ipfs/{CID}.
Root domains
For root domains (e.g. example.com), use an ALIAS / ANAME record if your DNS provider supports it. Cloudflare's CNAME flattening, Route 53's alias records, and most modern DNS providers support root-domain CNAMEs.
TLS auto-renewal
Filebase auto-renews the Let's Encrypt certificate before expiry. As long as the CNAME stays valid, no manual action is required.