All Products
Search
Document Center

ApsaraVideo VOD:Configure forced redirection

Last Updated:Jan 27, 2026

Forced redirection redirects HTTP requests from clients to CDN points of presence (POPs) to HTTPS to improve security. This topic describes how to configure this feature.

Scenarios

You can configure forced redirection for an accelerated domain name that has an HTTPS certificate. By default, HTTP requests from clients to CDN POPs are redirected to HTTPS requests using an HTTP 301 status code. HTTPS requests are more secure.结果验证

Forced redirection uses the HTTP 301 status code by default. The HTTP 308 status code is also supported. To change the redirect type, you must submit a ticket. For more information about how to submit a ticket, see Contact us.

HTTP status code

Message

Description

Scenario

301

Moved Permanently

GET requests remain unchanged. Requests that use other methods may be changed to GET requests.

Website refactoring.

308

Permanent Redirect

The request method and message body remain unchanged.

Website refactoring. This HTTP status code is suitable for requests that use request methods other than GET (with non-GET links/operations). (with non-GET links/operations)

Prerequisites

Before you configure forced redirection, make sure that an HTTPS certificate is configured. For more information, see HTTPS secure acceleration.

Procedure

  1. Log on to the ApsaraVideo VOD console.

  2. In the left-side navigation pane, choose Configuration Management > CDN Configuration > Domain Names.

  3. Find the domain name that you want to manage and click Configure.

  4. Click HTTPS, select Forced Redirection, and click Modify.p181990

  5. Select a Redirection. The following table describes the redirect types.p181991

    Redirect type

    Description

    Default

    Supports both HTTP and HTTPS requests.

    HTTPS -> HTTP

    Forcibly redirects requests from clients to CDN POPs to HTTP.

    HTTP -> HTTPS

    Forcibly redirects requests from clients to CDN POPs to HTTPS to ensure access security.

  6. Click OK.