Prerequisites
- A reachable origin (HTTPS hostname, IP, or S3-compatible bucket).
- DNS access if you plan to use a custom domain (you’ll add a CNAME).
- An API token if creating distributions from CI/CD.
Steps
1
Name the distribution
Use a clear, environment-prefixed name (
prod-web, staging-images). Names show up in audit logs and metrics.2
Choose a domain type
System-generated for quick tests, custom domain for production.
3
Pick a cache strategy
Static, VOD, livestream, or dynamic — sets sensible TTL defaults you can override later.
4
Connect an origin
Hostname, IP, or S3-compatible bucket.
5
Configure advanced settings
Custom Host header for virtual-hosted origins.
6
Verify with curl
curl -I the distribution domain and confirm a 200.Domain type

Domain Type
For a custom domain, create a DNS record like:
Cache strategy

Cache Strategy
The strategy seeds defaults; you can still add fine-grained cache rules per path.
Origin
The origin is the upstream the CDN pulls from on cache miss. Pick one of two types.Hostname origin

Hostname Origin
- Origin Label — internal name.
- Hostname / IP — must be reachable over HTTPS or HTTP.
S3-compatible origin

S3 Bucket Origin
- Origin Label — internal name.
- Hostname — endpoint of the S3-compatible service (e.g.
s3.amazonaws.com,s3.us-east-1.amazonaws.com,nyc3.digitaloceanspaces.com). - Access Key ID / Secret Access Key — credentials with read access to the bucket.
- Bucket — bucket name.
- Region — bucket region.
Advanced settings

Advanced Settings
Host:. Set it explicitly when:
- Your origin uses virtual hosting (multiple sites on one IP).
- The origin’s TLS cert is issued for a specific hostname.
- A reverse proxy or load balancer routes by Host.
Verify the distribution
x-cache should flip to HIT.