The storage zones provide a simple way to return a custom 404 page for your users when the requested file is not found. This article explains how to set it up in two easy steps.
1. Create a folder named bunnycdn_errors
First, you will need to create a folder named bunnycdn_errors in the root path of your storage zone. If using the web storage manager, right-click anywhere in the file list and select Create Directory.
2. Prepare and upload your 404 HTML file
To store your 404 page, you will need to create a .html file named 404.html that will contain the HTML code of your response. When that's ready, upload it to the newly created bunnycdn_errors directory and you're all set.
The end result should look something like this.
3. Verify that it's all working
The only thing left to do is to enter your pull zone URL into your browser and navigating to a file that doesn't exist. If you have configured everything correctly, you should now see your custom 404 page returned.