You can specify custom error pages and error page rules for your distributions to configure MerlinCDN to respond to requests using a custom error page when your Origin server returns an HTTP 4xx or HTTP 5xx status codes.
To manage custom error pages; follow the steps outlined below:
Log in to MerlinCDN Management panel.
In the left navigation sidebar click Distributions. Select your distribution you want to manage restrictions.
- Click on Error Pages tab.
- Click on Create Custom Error Page.
Create Custom Error Page
On the pop-up screen; you can create custom error pages with a custom cache TTL depending on HTTP error code.
- HTTP Error Code: Select the HTTP status code for which you want MerlinCDN to return a custom error response to the viewer.
- Error Caching TTL: The minimum amount of time (in seconds) that you want MerlinCDN to cache an error response before forwarding another request to your origin.