Add the hostname to your pull zone
- Open your pull zone in the dashboard
- Locate the Hostnames panel in the General section
- Enter your custom domain (e.g.,
cdn.yourdomain.com) - Click Add hostname

Copy the CNAME record
Copy the CNAME record value shown below the hostname field. You’ll need this for the next step.

Update your DNS settings
Add a CNAME record at your DNS provider:
- Log in to your DNS provider (Cloudflare, Route 53, or similar)
- Create a new CNAME record:
- Name/Host: Your subdomain (e.g.,
cdn) - Type: CNAME
- Value: The CNAME from step 2 (e.g.,
yourzone.b-cdn.net) - TTL: 3600 seconds or lower
- Name/Host: Your subdomain (e.g.,
Wait for DNS propagation
Save the DNS record. Your domain connects to bunny.net once DNS propagates, typically within a few minutes to an hour.
Root domains
CNAME records cannot be created at the apex level (yourdomain.com) per the DNS specification. Most DNS providers don’t support non-standard record types like ALIAS or ANAME that work around this limitation.
To use a root domain with your Pull Zone, you have two options:
- Use Bunny DNS (recommended): Bunny DNS supports CNAME flattening on apex domains, allowing you to point your root domain directly to a Pull Zone. See CDN Acceleration for setup instructions.
-
Redirect apex to www: Create a CNAME for
www.yourdomain.compointing to your Pull Zone, then set up an HTTP redirect from your root domain towww.

