Last update:2026-05-08 18:39:47
Enterprises often leverage multiple origin servers within their content delivery strategies to improve redundancy and ensure high availability. In the event of an origin server failure, the CDN must seamlessly switch requests to alternate healthy origins to prevent disruptions to the end-user experience.
CDNetworks provides Origin Failover and Zero-Downtime Failover switching to streamline this process, guaranteeing business continuity and seamless content access for your end users.
Origin Failover
When multiple origin server IP addresses are configured for your website, the Origin Failover feature intelligently detects if an origin server becomes unavailable due to failures or maintenance. If a designated status code is detected (e.g., 503 Service Unavailable), our CDN immediately re-routes the request to another available origin server. This rerouting process is activated by default on subsequent user requests. Immediate effect can be achieved by enabling the Zero-Downtime Failover switching feature.
Zero-Downtime Failover
The Zero-Downtime Failover switching feature seamlessly and instantaneously redirects user requests to a functioning origin server in the event of a failure, eliminating any perception of delay. This ensures that user access is not interrupted by origin server downtime, thereby maintaining business continuity and preserving the quality of the user experience.
.;, such as 502;503.With the configuration, CDNetworks will intelligently monitor origin server responses. Should a response contain an error status code from your configured list, the system will automatically resolve an alternate origin server IP and re-initiate the request.
After you have entered the status codes, please click OK and then select Next to submit your settings. To minimize any potential disruptions to your production environment, we strongly recommend conducting a Pre-deploy test in a staging environment. This crucial step ensures that your configurations are accurate before they go live. Once you have verified the accuracy of the settings, click Deploy Now to implement them in the live environment. The configurations typically become effective within 3-5 minutes. For comprehensive guidance on pre-deployment testing and to verify the effectiveness of your configurations, please consult the tutorial Deploy the Configurations to Staging Environment for Validation.
.
to activate the feature.Example for Origin Failover
Suppose you have configured 3 origin server IP addresses: 1.1.1.1, 2.2.2.2, and 3.3.3.3, intending to automatically redirect user requests to another origin server IP in case of encountering specific errors (such as 404 or 503 status codes).
Here’s how you configure it:

1.1.1.1 returns a 503 status code, the Origin Failover feature is triggered.2.2.2.2, for the retry.403 status code, the CDN will return this status code directly to the user, as 403 is not included in the retry criteria.503 status code is encountered again, the process proceeds with the next origin server IP, 3.3.3.3.503 status code and no other alternatives are available, the CDN returns a 503 status code to the user, completing the process.