All Products
Search
Document Center

ApsaraVideo VOD:Configure origin server priority

Last Updated:Jun 15, 2026

Configure the priority of multiple origin servers and learn about the billing methods for each origin server type.

Prerequisites

At least two origin servers are configured. For more information, see Back-to-origin HOST.

Background information

  • Alibaba Cloud CDN supports three types of origin servers: OSS domain names, IP addresses, and custom domain names.

  • When you use IP addresses or a custom domain name as the origin server, you can add multiple origin servers and set their priorities. The priorities are ranked as Primary > Secondary.

  • Alibaba Cloud CDN directs all back-to-origin traffic to the highest-priority origin server. If an origin server fails a health check three consecutive times, Alibaba Cloud CDN redirects traffic to the next-highest-priority origin server. When the failed origin server passes a health check again, the system restores its original priority. If all origin servers share the same priority, Alibaba Cloud CDN distributes requests among them in round-robin fashion.

  • The system performs active Layer 4 health checks by sending probes every 2.5 seconds.

Note
  • Select an origin server type and set priorities based on your business requirements. Origin server priority is not supported for live streaming acceleration.

  • If multiple Primary or Secondary origin servers exist, requests are randomly distributed among them.

Procedure

  1. Log in to the ApsaraVideo VOD console.

  2. In the left-side navigation pane, choose Configuration Management.

  3. Click CDN Configuration  > Domain Names.

  4. Find the domain name that you want to configure and click Configure in the Actions column.

  5. Click Basic Configuration . In the Origin Server section, click Modify.

  6. Set the origin server type, address, and port.

    You can set the Origin Type to OSS Domain Name (recommended for ApsaraVideo VOD, as it uses the default bucket), IP, or Origin Domain Name. For the port, select 80, 443, or a custom port. Custom ports are not supported for the OSS Domain Name type.

    After you enable an IP whitelist, you can set a custom port. The port number must be in the range of 0 to 65,535.

    • If the back-to-origin protocol is set to Adopt, you cannot set a custom port.

    • If you use OpenAPI to set the back-to-origin protocol to Adopt, ensure that both the protocol and the custom port work as expected.

    • If you configure the back-to-origin protocol (HTTP or HTTPS) and a custom port, Alibaba Cloud CDN uses these settings for back-to-origin requests, regardless of other configurations in the console.

    Origin information

    Billing method

    IP or Origin Domain Name

    Billing is based on Internet traffic.

    OSS domain name

    Billing is based on internal network pricing. For more information, see OSS Pricing Details.

    Origin Domain Name, with an OSS domain name configured.

    Billing is based on Internet traffic.

  7. Click OK.