Set Origins

Last update:2026-07-13 15:49:29

You can configure either Basic Origin or Advanced Origin as needed:

  • Basic Origin: Configure back-to-origin settings using an origin domain or IP address.
  • Advanced Origin: Route traffic to different origins based on region or ISP, or use weighted round-robin across multiple origins.

How to Set Basic Origin

  1. Log in to the Atomile Console and select the appropriate product.
  2. Go to Configuration, locate the domain you want to configure, and click image.png.
  3. Configure the following settings as needed.

Basic Origin Type

  • IP/Hostname: Allows you to set origin IP addresses or a domain name. Multiple IP addresses are supported, with a maximum total length of 500 characters, or you can specify one domain name.
  • Object Storage: If you are using Atomile Object Storage, you can set your object storage as the origin by selecting Object Storage. After selection, a drop-down list of domains that point to different buckets in your object storage is displayed, allowing you to specify a particular bucket as the origin.

IP/Hostname

You can enter either origin IP addresses or one origin domain name.

  • If you enter origin IP addresses, you can specify up to 64 IP addresses separated by ;.
  • If you enter an origin domain name, only one domain name can be entered.

HOST Header

The Host header is a required field in an HTTP request. It specifies the hostname or domain name of the server that the client wants to access. This is necessary because multiple domains can share the same IP address on one server, and the origin server uses this value to determine which content to return.

After this setting is configured, when the CDN sends a request to the origin, it includes the specified Host value. The origin then returns content associated with that hostname or domain.

For example, if the value is set to www.atomile.com, an end-user request for www.testdomain.com can be forwarded to the origin with www.atomile.com in the Host header. The origin then responds with content related to www.atomile.com.

Port

This setting allows you to override the destination port on the origin server that CDN servers use for origin requests.

For example, if the port value is set to 9000 for your domain atomile.com, when a request for atomile.com is received, the CDN servers connect to the origin using port 9000 (atomile.com:9000).

  • If no port is configured, the original request port is used for back-to-origin by default.
  • If Advanced Origin is configured and you need to change the back-to-origin port for advanced origin, contact Atomile technical support.

How to Set Advanced Origin

  1. Log in to the Atomile Console and select the appropriate product.
  2. Go to Configuration, locate the domain you want to configure, and click image.png.
  3. Find the Advanced Origin switch, which is turned off by default, and enable it.
  4. Click Add to add advanced origin configuration rules.

Region/ISP

This setting determines which advanced origin rule is used when users from a specific region or ISP send origin requests.

  • When configuring Region/ISP, make sure that at least one advanced origin rule includes the Global region. Otherwise, the configuration cannot be submitted.
  • When setting the rules, note that the available regional granularity may vary.

Advanced Origin Mode

There are two advanced origin modes. However, you may see only one fixed, non-editable mode because the console sets a default mode for each product, and this setting cannot be changed directly in the console. To modify the advanced origin mode, contact Atomile technical support.

  • Intelligent Back-to-Origin Detection: When multiple origin servers are available, the CDN edge server uses an intelligent detection algorithm to choose the optimal origin server.
  • Weighted Back-to-Origin: This mode assigns different weight values to each origin server. During origin requests, the CDN edge server distributes traffic among origin servers in proportion to their assigned weights.

Advanced Origin

Tier

This setting defines the priority order of origin servers. The lower the level number, the higher the priority.

For example:

  • Tier 1 represents the primary origin.
  • Tier 2 is the backup for the primary origin.
  • Tier 3 is the backup for the Tier 2 origin.

The CDN prioritizes Tier 1 origins first. If they are unavailable, it proceeds to Tier 2, and so on.

Multiple origin servers can share the same level, but each Back-to-Origin IP/Domain field can contain only one IP address or one domain name. To add more origin servers, click Add to include additional IP addresses or domains.

Weight

This setting assigns weight values to origin servers within the same level. The CDN edge server distributes traffic among these origin servers based on the assigned weights.

In Intelligent Back-to-Origin Detection mode, the weight setting does not apply because the CDN edge server always selects the best origin server based on the intelligent detection algorithm. However, if Primary Origin Round-Robin or Backup Origin Round-Robin is enabled in Advanced Config, traffic is distributed by weight instead, overriding the intelligent detection algorithm.

Source Host

Also known as the Host Header, this setting allows you to specify a different origin host for each origin domain or IP address. This ensures that the CDN edge server includes the correct Host header in origin requests.

This setting applies only to Weighted Back-to-Origin mode and is not available in Intelligent Back-to-Origin Detection mode.

Advanced Config

  • Enable Offline Mode: When Offline Mode is enabled, the CDN strictly follows the advanced origin configuration when fetching content. If the advanced origins are unavailable, the system enters Offline Mode, and CDN edge servers respond using cached resources.
  • Primary Origin Round-Robin: When enabled, if multiple primary origins exist at the lowest level, the CDN edge servers distribute traffic among them based on their assigned weights, even in Intelligent Back-to-Origin Detection mode. This forces weighted distribution instead of intelligent detection.
  • Backup Origin Round-Robin: Similar to Primary Origin Round-Robin. When enabled, if multiple backup origins exist at levels other than the lowest one, the CDN edge servers distribute traffic among these backup origins based on their assigned weights, bypassing the intelligent detection algorithm, even in Intelligent Back-to-Origin Detection mode.

After completing the configuration, click OK, and then click Next to submit your settings.

To reduce the risk of affecting your production environment, we strongly recommend performing a Pre-deploy test in a staging environment first. This ensures that the configuration is correct before going live. After verifying the configuration, click Deploy Now to apply it in the live environment.

The configuration typically takes effect within 3 to 5 minutes. For more information about pre-deployment testing and validation, refer to the tutorial Deploy the Configurations to Staging Environment for Validation.

Notes

  • Advanced Origin configuration takes precedence over Basic Origin configuration.
  • When using Advanced Origin, the client request port is used for back-to-origin by default. If you need to change the back-to-origin port for Advanced Origin, contact Atomile technical support.
  • If there are overlapping regions in the configured rules, the most specific region takes priority.