Skip to main content

Adding an Origin Set

If your service content is available in multiple locations, you can create an Origin Set for increased availability or load-balancing.

To add an Origin Set to your service:

  1. Navigate to your service.
  2. In the sidebar, under Origin Management, select Origin Sets.
  3. Click on the Create button.
  4. Fiil the new origin set form:
    • Policy Type - Leave as Failover.
    • Primary Host - Hostname of IP address of your primary origin server.
    • Secondary Host - Hostname of IP address of your secondary origin server.
    • Path (Optional) - Path to be used when accessing the origin servers. The default path is /. For example, if you set the orign path to /a/ and an end-user tries to access https://www.example.com/test.html, then the following file will be retrieved from your origin: /a/test.html.
    • S3 - Check this box if your origin servers are hosted by an S3 bucket (AWS S3 bucket, Google storage bucket, etc).
  5. Click on Save

Once created, the new origin set will show up in the list of origin sets. You can then navigate to the Domains tab, to configure a Domain Mapping for this origin set.

Note: Traffic will not be routed to the new origin set if domain mapping is not defined for it.