To specify the server domain name that a CDN point of presence (POP) accesses during an origin fetch, you must configure the origin host. The available origin host types are Accelerated Domain Name, Origin Domain Name, and Custom Domain Name.
Background information
The origin host is the domain name of the site that a CDN POP accesses on the origin server during an origin fetch. If your origin server is shared by multiple services, you can use the origin host in the origin request to distinguish between the services.
The origin server determines the specific IP address that is requested during an origin fetch. The origin host determines the specific site that is accessed at that IP address. For examples that illustrate the difference between an origin server and an origin host, see Examples.
Procedure
Log on to the ApsaraVideo VOD console.
In the navigation pane on the left, under Configuration Management, click CDN Configuration > Domain Names.
Find the domain name that you want to configure and click Configure.
Click Back-to-Origin.
Click Modify, enable Origin Host, select a domain type, and then click OK.

Parameter
Description
CDN
The domain name that you want to accelerate. This is the domain name that end users access directly, such as
example.aliyundoc.com. If you set the origin host type to CDN, the origin host is set to the accelerated domain name, such asexample.aliyundoc.com.Origin
The domain name of your origin server. This is the domain name that CDN POPs must access during an origin fetch, such as
learn.aliyundoc.com. If you set the origin host type to Origin, the origin host is set to the origin domain name, such aslearn.aliyundoc.com.Custom
If you set the origin host type to Custom, you can specify any domain name for the origin host. If your origin server is bound to multiple domain names, you must specify a domain name. Otherwise, the origin fetch fails.
NoteIf your origin server is bound to multiple domain names or sites, you must specify a domain name. Otherwise, the origin fetch fails.
Origin server examples
The following table provides examples of how to configure the origin host for different types of origin servers. These examples also illustrate the differences and the relationship between the origin server and the origin host.
Origin server type | Feature status | Domain name and origin server address | Description |
Domain name | The Origin Host feature is disabled by default. | Accelerated domain name:
Origin server address:
|
|
IP address type | The Origin Host feature is disabled by default. | Accelerated domain name:
Origin server address:
|
Note The origin server address is an IP address. Therefore, the Origin option is unavailable and grayed out. |
OSS domain name | The Origin Host feature is enabled by default. | Accelerated domain name:
Origin server address:
|
|
Related operations
To configure the priority of multiple origin servers, see Set the priority of multiple origin servers.