You can configure back-to-origin settings to enable the origin redundancy feature
for a port forwarding rule. This feature improves the disaster recovery (DR) capabilities
of back-to-origin links for Anti-DDoS Pro and Anti-DDoS Premium.
Background information
Origin redundancy allows you to configure the IP addresses of both the primary and
secondary origin servers. You can specify whether to forward back-to-origin requests
to the primary origin server or secondary origin server at any time. This way, your
Anti-DDoS Pro or Anti-DDoS Premium instance forwards service traffic to the origin
server that you specified. If a back-to-origin link fails, you can quickly switch
service traffic to the backup link to ensure normal service access.
Enable origin redundancy
- Log on to the Anti-DDoS Pro console.
- In the top navigation bar, select the region where your instance resides.
- Anti-DDoS Pro: If your instance is an Anti-DDoS Pro instance, select Chinese Mainland.
- Anti-DDoS Premium: If your instance is an Anti-DDoS Premium instance, select Outside Chinese Mainland.
You can switch the region to configure and manage Anti-DDoS Pro or Anti-DDoS Premium
instances. Make sure that you select the required region when you use Anti-DDoS Pro
or Anti-DDoS Premium.
- In the left-side navigation pane, choose .
- On the page that appears, select the instance that you want to manage.
- Find the forwarding rule for which you want to enable origin redundancy and click
Back to the origin settings in the Actions column.

- In the Back to the origin settings dialog box, turn on Redundant Mode to the Origin.

- In the Note message, click OK.
When you enable origin redundancy, the current origin IP address of the forwarding
rule is automatically used as the IP address of the primary origin server, and service
traffic is forwarded to the primary origin server.
- Configure the IP addresses for the primary and secondary origin servers and select
the origin server that you want to enable.
You can configure a maximum of 20 IP addresses for each origin server. Separate multiple
IP addresses with commas (,).
- Click OK.
After you enable origin redundancy, the value of
Origin Server IP that you specified for the forwarding rule is changed to the IP address of the origin
server that you enabled. When the origin IP address of the forwarding rule is changed
to the IP address of the origin server that you enabled, you can no longer modify
the forwarding rule to change the origin IP address.

If you want to switch between the origin servers, you need only to modify the back-to-origin
settings of the forwarding rule to select the origin server that you want to enable.
Disable origin redundancy
If you no longer need origin redundancy, you can turn off
Redundant Mode to the Origin in the
Back to the origin settings dialog box. For more information, see
Enable origin redundancy.
Note After you disable origin redundancy, the IP address of the origin server that you
enabled is automatically used as the origin IP address of the forwarding rule. For
example, if the secondary origin server is enabled and you disable origin redundancy,
the IP address of the secondary origin server is automatically used as the origin
IP address of the forwarding rule to forward service traffic.
After you disable origin redundancy, you can modify the forwarding rule to change
the origin IP address of the forwarding rule. For more information, see Manage forwarding rules.