Origin HOST Header Configurations
Last updated: 2018-05-29 15:02:01PDF
Origin Host Header refers to the site domain accessed by the CDN node at the origin server.
- Origin server and origin host header: The IP/domain configured at the origin server allows the CDN node to find the origin server when it attempts to access the origin. There can be multiple WEB sites on the server, and the hosting source indicates on which site the resource resides.
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 Configuration in "Basic Configuration" to configure hosting source:
By default, the origin host header of a sub-domain is the configured accelerated domain; The origin host header of a wildcard domain is the access domain:
- If the accelerated domain connected is www.test.com, when the node sends an access request to origin server for the resource under this domain, the host field in the Request HTTP Header will be "www.test.com";
- If the accelerated domain connected is a wildcard domain such as *.test.com, and the access domain is abc.test.com, then the origin host header will be abc.test.com.
You can set custom origin host header according to your business needs.
- Currently, the configuration of origin host header is only available for domains with a connection method of Own Origin;
- Please make sure the origin host header domain you set is available for access, otherwise it will cause the failure of back-to-origin request, making your business affected.