Origin host

更新时间:
复制 MD 格式

To customize the server domain that CDN nodes access during back-to-origin requests, configure the origin host. The available types for the origin host include: CDN domain name, origin domain name, and custom domain name.

Background information

  • If your origin server hosts multiple services, use the origin host to differentiate between them.

  • The origin server determines the IP address for back-to-origin requests, while the origin host determines which site on that IP address is accessed. For examples that show the difference between an origin server and an origin host, see Origin server examples.

Procedure

  1. Log in to the ApsaraVideo VOD console.

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

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

  4. Click Back-to-Origin.

  5. Click Modify, turn on the Origin Host switch, select a domain type, and then click OK.

    Parameter

    Description

    CDN

    A CDN domain name is the accelerated domain that end users access, for example, example.aliyundoc.com. If you select CDN, the origin host is set to the CDN domain name, such as example.aliyundoc.com.

    Origin

    An origin domain name is the domain of your origin server, from which CDN nodes retrieve content, for example, learn.aliyundoc.com. If you select Origin, the origin host is set to the origin domain name, such as learn.aliyundoc.com.

    Custom

    If you select Custom, you can specify any domain name for the origin host. If your origin server is bound to multiple domain names, you must specify one to prevent back-to-origin request failures.

    Note

    If your origin server is bound to multiple domain names, you must specify one in the Custom domain name field to prevent back-to-origin request failures.

Origin server examples

The following table provides origin host configuration examples for different origin server types.

Origin server type

Feature status

Domain and origin address

Description

site domain

The origin host feature is disabled by default.

CDN domain name:

example.aliyundoc.com

Origin server address:

learn.aliyundoc.com

  • If you select CDN, the origin host is example.aliyundoc.com.

  • If you select Origin, the origin host is learn.aliyundoc.com.

  • If you select Custom, the origin host is the domain name that you specify.

IP address

The origin host feature is disabled by default.

CDN domain name:

example.aliyundoc.com

Origin server address:

10.10.10.10

  • If you select CDN, the origin host is example.aliyundoc.com.

  • If you select Custom, the origin host is the domain name that you specify.

Note

Because the origin server address is an IP address, the Origin option is unavailable.

OSS domain

The origin host feature is enabled by default.

CDN domain name:

example.aliyundoc.com

Origin server address:

video.developer.aliyundoc.com

  • If you select CDN, the origin host is example.aliyundoc.com.

  • If you select Origin (the default setting), the origin host is video.developer.aliyundoc.com.

  • If you select Custom, the origin host is the domain name that you specify.

Related operations

To configure the priority of multiple origin servers, see Configure primary and secondary origin servers.