---
title: "Bunny.net"
url: "https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/bunny-net/"
markdown_url: "https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/bunny-net.md"
type: "Docs"
language: "en-US"
date_published: "2026-11-08T11:04:00+00:00"
date_modified: "2026-11-09T17:01:21+00:00"
---

# Bunny.net

This guide puts a Bunny.net Pull Zone in front of your bucket and connects it to Media Cloud Sync.

> Bunny.net changes its dashboard from time to time. If a screen looks different, check [Bunny’s documentation](https://docs.bunny.net/).

## Step 1: Create a Pull Zone

1. In the Bunny.net dashboard, create a **Pull Zone**. Its name becomes its hostname, such as `my-media.b-cdn.net`.
2. Set the **Origin URL** to your bucket’s public URL:
   - Amazon S3: `https://my-bucket.s3.REGION.amazonaws.com`
   - DigitalOcean Spaces: `https://my-space.REGION.digitaloceanspaces.com`
3. Save it and copy the hostname.

The origin must serve files at the same path as the object key, so `/wp-content/uploads/2026/10/photo.jpg` on the Pull Zone is that file in the bucket.

## Step 2: Add your own domain (optional)

Add a custom hostname such as `media.example.com` to the Pull Zone, create a CNAME DNS record pointing it to the Pull Zone’s hostname, and turn on SSL for it in Bunny.

## Step 3: Connect it to Media Cloud Sync

1. Go to **Media Cloud Sync → Settings** and click **Change** on the **Delivery** card.
2. Choose **Bunny.net**.
3. Enter your domain under **Use Custom Domain Name (CNAME)**, and click **Save**.
4. Click **Recheck** on the **Delivery** card. It should say **Objects are accessible to Read**.

## Step 4: Clear stale files (optional) `PRO`

Connect [CDN Cache Purge](https://dudlewebs.com/guideline/media-cloud-sync/pro-tools/cdn-cache-purge/) with your **Account API key**. The **Pull Zone ID** is only needed for **Purge everything**.

## Private Media `PRO`

With Amazon S3 or DigitalOcean Spaces storage, private files can be served through Bunny signed URLs. This needs a **separate Pull Zone** for private files, with Token Authentication on and S3 authentication to your bucket. Enter its hostname and its Token Authentication key (Security tab). See [Private Media behind a CDN](https://dudlewebs.com/guideline/media-cloud-sync/pro-features/private-media/#private-media-behind-a-cdn).

## Related

- [Delivery Settings and CDN](https://dudlewebs.com/guideline/media-cloud-sync/settings/delivery-settings-and-cdn/)
- [Assets on CDN](https://dudlewebs.com/guideline/media-cloud-sync/pro-tools/assets-on-cdn/) (uses its own Pull Zone that pulls from your site)

[← Previous Amazon CloudFront](https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/amazon-cloudfront/) [Next → Cloudflare](https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/cloudflare/)

Still need help?

[Chat with us Quick questions, answered live](https://dudlewebs.com/contact/) [Contact us Sales, partnerships or anything else](https://dudlewebs.com/contact/) [Create a ticket Technical issues with your site](https://dudlewebs.com/submit-ticket/)
