CDN hostname may return the following status codes:
- 2XX (200, 201, 202, etc.) means the HTTP request is successful.
- 3XX (301, 302, etc.) means that a redirection layer is being set up on the origin or web server. To avoid any redirection conflict when using CDN, you can use an IP origin instead of a hostname origin. For example, instead of using www.mywebsite.com as an origin, use the IP address of www.mywebsite.com as a CDN resource origin.
-
4XX (401, 402, etc.) means that the CDN PoP (edge servers) has an issue.
-
5XX (501, 502, etc.) means that CDN edge servers have an issue fetching content from the CDN resource origin. When the CDN resource origin is offline, cached files are still available. If the file requested from a visitor is not currently cached on the edge server when the origin is offline, end users get a 500 error.