> ## Documentation Index
> Fetch the complete documentation index at: https://bunny.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom 404 Page

> Display a branded error page when files are not found in your storage zone.

When using a Storage Zone as your Pull Zone origin, you can configure a custom 404 page to display when requested files don't exist.

## Setup

**1. Create the error folder**

In the root of your storage zone, create a folder named `bunnycdn_errors`.

**2. Upload your 404 page**

Create a file named `404.html` with your custom HTML content and upload it to the `bunnycdn_errors` folder.

To return an image instead, upload a file named `404.png` and remove any `404.html` file.

**3. Verify**

Navigate to a non-existent URL on your Pull Zone to confirm your custom 404 page appears.

## Folder structure

```
/your-storage-zone/
  └── bunnycdn_errors/
      └── 404.html
```

> [!NOTE]
>
> This feature only works when your Pull Zone origin is a Bunny Storage Zone.
> For external origins, configure 404 handling on your origin server.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.