Host Header Rewrite
Overview
Host header rewriting enables you to rewrite the host header as the actual origin domain name when the origin domain name is different from the acceleration domain name in the origin group list.
Directions
1. Log in to EdgeOne console and click Site List in the left sidebar. In the site list, click the target site.
2. On the site details page, click Site Acceleration to enter the global site configuration page. Then click the Rule Engine tab.
3. On the rule engine management page, click Create rule and select Add blank rule.
4. On the rule editing page, set the matching type as HOST and configure it as the domain name to be modified, such as
www.example.com
.5. Click Action > choice box and select the action as Rewrite host header in the dropdown action list. You can select the mode as Custom or Follow origin domain.
6. Click Save and publish to complete the rule configuration.