Add one or more origin sources where the CDN will pull content from. You can specify an IP or a domain name as an Origin Source. Click Use Custom Port if your origin delivers content from non-standard ports (standard ports are 80 and 443). We suggest you to use several origins to improve failover and organize load balancing. In this case, the Round Robin algorithm will be applied for balancing.
To add an origin or origins click on the Add Origins Group button while creating or configuring your CDN Resource.
Origins Group Name
Fill in the desired name for a new origins group.
In the Origin Source enter the URL or IP address (in case your content is accessible via an IP). Press Add Origin if you need to add more origins. Fill in fields in a similar way. Save the group by pressing the Add Group button.
This feature is helpful if you need to manage your origin, for example, in case of some technical issues.
Origin source can be disabled by sliding On button. Note, the last active origin source cannot be disabled.
Origin disabling works only in the certain origin group. It means that if origin is disabled in one group it will work as well in others.
CDN's requests to the origin stop in 5 minutes after origin disabling.
The following advanced options are available for the origins group.
Use next upstream
Use it when you have several origin sources with the same content on each of them to ensure failover of the service. If your origin becomes unavailable, CDN servers automatically redirect all the requests to the next available origin listed in the Origins Group. If none of your origins available, a CDN will respond with the code from the last origin in the list.
Use origin as a backup
The options exclude one of your origins from the Round Robin balancing. In other words, a CDN will request content from this origin only if one of the active origins become unavailable.
While creating a CDN Resource select an origins group which you created earlier or add a new one.