EdgeNext
Documentation home

EdgeNext Documentation

Product guides, setup instructions, and technical references.

Security CDN

Error Page Customization

You can configure custom error pages to replace the default error responses for different HTTP status codes, providing users with a more user-friendly experience.

Supported Status Codes

Status Code Description
400 Bad Request
The server could not understand the syntax of the request.
403 Forbidden
The server understands the request but refuses to authorize it, often due to insufficient permissions.
404 Not Found
The requested resource could not be found. This is often caused by an incorrect URL or deleted content.
405 Method Not Allowed
The requested HTTP method is not supported for the specified resource (e.g., using POST instead of GET).
414 URI Too Long
The requested URI is too long for the server to process.
416 Range Not Satisfiable
The specified byte range is invalid, often used in resume download scenarios.
451 Unavailable For Legal Reasons
The requested content is restricted by legal or policy constraints.
500 Internal Server Error
A generic error indicating that the server encountered an unexpected condition.
501 Not Implemented
The server does not support the requested functionality.
502 Bad Gateway
The server received an invalid response from the upstream server.
503 Service Unavailable
The server is temporarily overloaded or undergoing maintenance.
504 Gateway Timeout
The server did not receive a timely response from the upstream server.

How to Configure

  1. Log in to the Security CDN Console.

  2. In the left navigation bar, go to Speed & Cache > Acceleration, and enter the Global Acceleration Policy page.

  3. At the top, click Domain Acceleration Template to switch to the Template Management page.

    速度与网络模板配置1.png

  4. In the template list, locate the template you want to edit and click Policy Management in the operation column.

  5. Scroll down to the Error Page Customization module and toggle the switch . A confirmation dialog will appear.

    错误状态码定制1.png

    错误状态码定制2.png

  6. Click Add to open the configuration dialog.

  7. Select the HTTP status code and choose the customization type:

    • Custom HTML: Write your own HTML for the error page. Note: JavaScript is not supported.

      错误状态码定制3.png

    • URL Link: Enter a valid, accessible URL starting with http:// or https://.

      错误状态码定制4.png

  8. Click Save to apply the customized error page for the selected status code.

Need help? Contact our support team at support@edgenext.com.

Back to documentation home