Site Failover
This behavior specifies how the edge server should respond when the origin isn't available.
How it works
With this behavior enabled, you can specify what action to take when the edge servers can't reach your origin. You can decide to serve stale content, an error page, or redirect. To apply this behavior, match on the Origin Timeout or Response Status Code.
Features and options
Field | What it does | Sub-options |
---|---|---|
Enable | Enables or disables the behavior. | |
Action | Select the action edge servers should take when there is an origin failure. |
|
Destination Hostname | With Action set to Redirect to a different location, preserve the hostname from the original request or specify a different hostname. |
|
Static Hostname | With Destination Hostname set to Static hostname, specify the static (absolute) hostname for the redirect destination URL. Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support. | |
Modify Request Path | With Action set to Redirect to a different location, Use dynamic hostname or Use alternate hostname in this property, specify if you want to modify the request path. Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support. |
|
Modified Path | With Action set to Redirect to a different location, Use alternate hostname in this property, Use alternate hostname on provider network, Use dynamic hostname or Serve alternate content from NetStorage, enter the path to replace the one in the original request. | |
Redirect Method | With Action set to Redirect to a different location, select the redirect method. |
|
Include Query String | With Action set to Redirect to a different location, Use alternate hostname in this property, Use dynamic hostname or Use alternate hostname on provider network, set whether to preserve the query string. |
|
Change Protocol | With Action set to Redirect to a different location or Use dynamic hostname, specify if you want to change the protocol in the redirect URL. |
|
Protocol | With Change Protocol set to Yes, specify whether to use HTTP or HTTPS. |
|
Alternate Hostname in This Property | With Action set to Use alternate hostname in this property, specify the static (absolute) hostname for the redirect destination URL. Note: The hostname must match one of the hostnames served by the property. Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support. | |
Alternate Hostname on Provider Network | With Action set to Use alternate hostname on provider network, specify the static (absolute) hostname for the redirect destination URL. Note: The hostname must match one of the hostnames served by your provider's network. Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support. | |
Request Path | With Action set to Use alternate hostname on provider network, select the path you want the request to be forwarded to. Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support. |
|
NetStorage Origin | With Action set to Serve alternate content from NetStorage, specify the NetStorage origin that serves the alternate content. | |
Reporting CP Code | With Action set to Serve alternate content from NetStorage, select the CP code to use for reporting this Site Failover traffic. | |
Response Status Code | With Action set to Serve alternate content from NetStorage, select an HTTP Response Status Code to replace your existing status code. |
|
Method | With Action set to Use dynamic hostname, specify the redirect method. |
|
Source | With Action set to Use dynamic hostname, identify the component of the request that identifies the SaaS dynamic failaction |
|
Domain Name Suffix | With Action set to Use dynamic hostname, specify the static portion of the SaaS dynamic failaction. | |
Regular Expression | With Action set to Use dynamic hostname, specify the substitution pattern (a Perl-compatible regular expression) that defines the SaaS dynamic failaction. | |
Replacement | With Action set to Use dynamic hostname, specify the replacement pattern that defines the SaaS dynamic failaction. | |
Use CNAME Chain? | With Source set to Hostname, specify whether to use a CNAME chain to determine the hostname for the SaaS dynamic failaction. |
|
CNAME Level | With Use CNAME Chain? set to Yes, specify the number of elements in the CNAME chain backwards from the edge hostname that determines the hostname for the SaaS dynamic failaction. | |
Cookie Name | With Source set to Cookie, specify the name of the cookie that identifies this SaaS dynamic failaction. | |
Query Parameter | With Source set to Query String, specify the name of the query parameter that identifies this SaaS dynamic failaction. |
Updated 8 months ago