Origin Configuration

Last updated: 2018-05-29 14:49:27

PDF

You may modify the origin server configuration for your domain:

  • Switching between own origin and COS origin is supported;

  • You can configure hot slave origin servers for a domain whose connection method is own origin. When a back-to-origin request towards the master origin encounters an error (including 4XX or 5XX error codes and TCP connection error), the request will be forwarded to the slave origin server;

  • The switching between master and slave origin configurations is supported.

Configuring hot slave origin server can effectively reduce failure rate of back-to-origin requests and improve your business.

HTTPS back-to-origin method is currently not supported by slave origin servers. Please do not choose HTTPS back-to-origin method when configuring certificates for domains with hot slave origin servers.

Modifying Origin Server

Switching between own origin and COS origin is supported to provide a higher flexibility.

Log in to CDN Console and go to "Domain Management" page. Then click Manage button to the right of the domain name to enter the management page:

Go to Origin Server Info under "Basic Configuration" to view the current origin server configuration of the domain:

Click the modify button at the top-right corner of the origin server configuration to make changes. Switching between COS origin and own origin is supported:

Adding Hot Slave Origin Server

You can add hot slave origin servers for a domain whose connection method is own origin. When a back-to-origin request towards the master origin encounters an error (including 4XX or 5XX error codes and TCP connection error), the request will be forwarded to the slave origin server.

Hot slave origin servers can only be configured as own origins:

Switching between master and slave origin configurations

Once slave origin server is configured, you can witch between the master and slave origin server configurations with one click: