Origin Host Header refers to the site domain accessed by the CDN node at the origin server.
Introduction to Origin Host Header
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.
By default, CDN will respect the Host Header in end-user request and forward to origin .
- If the accelerated domain is www.example.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.example.com";
- If the accelerated domain is a wildcard domain such as *.example.com, and end-user access domain abc.example.com, then the origin host header will be abc.example.com.
Custom Origin Host Header
However, if you have site in origin that is different with accelerated domain, you might need to configure Custom Origin Host Header.
If the accelerated domain is www.example.com, while your origin domain hosted in the web server is www.anotherexample.com, then you should configure Custom Origin Host Header as "www.anotherexample.com" to ensure origin web server can serve the right contents.