You can configure multiple origins within a service. Each Origin is defined by a hostname or IP address, along with additional configuration properties.
To add an Origin to your service:
- Navigate to your service.
- In the sidebar, under Origin Management, select Origins.
- Click the Create button.
- Complete the new Origin form:
- Origin Address – Enter the hostname or IP address of your origin server.
- Protocol – Select the protocol to be used between the CDN and your origin server.
- Path (Optional) – Specify the path to use when accessing the origin server. The default path is
/. For example, if you set the Origin path to/a/and an end user accesseshttps://www.example.com/test.html, the following file will be retrieved from your Origin:/a/test.html. - S3 – Select this option if your origin server is an S3 bucket, such as an AWS S3 bucket or Google Cloud Storage bucket.
5. Click Save.
Once created, the new Origin will appear in the list of origins. You can then navigate to the Domains tab to configure a Domain Mapping for this Origin.
Note: Traffic will not be routed to the new Origin unless a Domain Mapping is defined for it.