If you want to customize the domain name of the server to which CDN initiates back-to-origin requests, you must configure the domain name type of the origin host. The available domain name types for an origin host are domain name for CDN, origin domain name, and custom domain name.
Background information
An origin host is the domain name of the origin server to which CDN initiates back-to-origin requests. If your origin server is shared by multiple services, you can use an origin host in your back-to-origin requests to distinguish different services.
An origin server determines the specific IP address to which CDN initiates back-to-origin requests. An origin host determines the requested domain associated with a specific IP address to which CDN initiates back-to-origin requests. For details about the difference between an origin server and an origin host, see Example.
Example
The following table introduces how the different types of origin server to configure the different domain name types of origin host to show the differences and connections between origin server and origin host.
Origin server type | Feature status | Domain name | Description |
---|---|---|---|
Site domain | By default, the Origin Host switch is turned off. | Domain name for CDN:
The address of the origin server:
|
|
IP address | By default, the Origin Host switch is turned off. | Domain name for CDN:
The address of the origin server:
|
Note The address of the origin server is an IP address. Therefore, the Origin option for the domain name type is unavailable.
|
OSS domain | By default, the Origin Host switch is turned on. | Domain name for CDN:
The address of the origin server:
|
Note Default settings:
Domain name type: Origin Address of the origin server: |