IONOS Cloud CDN icon

IONOS Cloud CDN

Manage IONOS Cloud CDN distributions and edge server IPs. Developped with Love by Ascenzia (ascenzia.fr)

Actions7

Distribution → Create

AI-generated

Summary

Create an IONOS Cloud CDN distribution with domain and routing rules.

Inputs

  • domain (required) — The domain for the CDN distribution.
  • routingRules (required) — Routing rules for the distribution (minimum 1, maximum 25).
  • certificateId — The ID of the SSL certificate to use (optional).

Output shape

The API response representing the created CDN distribution.

POST to /distributions with body { properties: { domain, routingRules: [...] } } and optional certificateId.

Examples

Example 1: Create a basic distribution with HTTP routing rule.

domain: example.com, routingRules: [{ scheme: http, prefix: /, upstreamHost: origin.example.com, cachingEnabled: true, wafEnabled: true, sniMode: distribution, rateLimitClass: R500 }], certificateId: (omitted)

Links

Discussion