Updated on 2024-10-23 GMT+08:00

Origin SNI

If your origin server IP address is bound to multiple domains and CDN visits the origin server using HTTPS, you can set the SNI to specify the domain to be visited by CDN during origin pull.

Constraints

  • You can set the origin SNI only when the origin protocol is HTTPS or same as that in user requests.
  • The origin SNI cannot be set for domain names with whole site acceleration.
  • The origin SNI cannot be set for domain names with special configurations.
  • By default, CDN PoPs carry the SNI information when they pull origin content using HTTPS. If no origin SNI is configured, the host is used.

Procedure

  1. Log in to Huawei Cloud console. Choose Service List > Content Delivery & Edge Computing > Content Delivery Network.

    The CDN console is displayed.

  2. In the navigation pane, choose Domains.
  3. In the domain list, click the target domain name or click Configure in the Operation column.
  4. Click the Origin Settings tab.
  5. Switch on Origin SNI and enter the origin SNI.
    Figure 1 Origin SNI
    Table 1 Parameters

    Parameter

    Description

    Origin SNI

    Origin domain name to be accessed by CDN during origin pull, for example, test.example.com.

    • Wildcard domains are not supported.
    • The value contains up to 75 characters, including letters, digits, hyphens (-), and periods (.). It cannot start with a hyphen (-) or period (.).
  6. Click OK.