EdgeNext
Documentation home

EdgeNext Documentation

Product guides, setup instructions, and technical references.

CDN

Origin Host Configure

Configuration Scenario

The Origin Host is the specific site domain that CDN nodes access on the origin server IP address during origin pulls. By default, the Origin Host matches the acceleration domain. For wildcard domains, the actual Origin Host is the requested domain. You can modify this based on your business needs — ensure the Origin Host has a corresponding site configuration on your origin server, otherwise origin requests will return 404 errors.

Note:

The difference between origin address and Origin Host:

  • Origin address: Determines which specific IP address the origin pull request is sent to.
  • Origin Host: Determines which specific site on that IP address the origin pull request accesses.

Configuration Guide

Log in to the CDN console. From the menu, select Configuration → Domain Config, then click Details in the Actions column for the target domain. On the domain configuration page, under Origin (second section), you will find the Origin Host setting. It is disabled by default with no configuration:

image-20260622170320638

Configuration Example

Suppose your CDN origin is configured as follows: acceleration domain www.abc.com, origin server www.test.com.

image-20260622170402046

When a user requests the resource http://www.abc.com/test.txt and the CDN edge node has no cached copy of this asset, the CDN performs origin fetching following the steps below:

  1. The CDN resolves the origin domain www.test.com to retrieve the origin server IP address 1.1.1.1.
  2. The CDN sends an HTTP request to 1.1.1.1. The request path remains /test.txt, and the Host request header is set to abc.test.com.
  3. The origin web server identifies the matching virtual host via the Host: abc.test.com header, reads the /test.txt asset from that virtual host, and returns the content to the CDN edge node.
  4. The CDN caches the returned asset and forwards the content to the end user.

Need help? Contact our support team at support@edgenext.com.

Back to documentation home