Cloudflare Custom Hostname Fallback Origin

Set the default origin for a Cloudflare for SaaS zone — the backend that all of the zone's custom hostnames route to by default. Required once per SaaS zone before custom hostnames can serve traffic.

What Gets Created

  • A cloudflare_custom_hostname_fallback_origin for the zone.

Prerequisites

  • A SaaS zone (CloudflareDnsZone).
  • A Cloudflare API token with SSL and Certificates permission.
  • The fallback origin hostname must be a record within the SaaS zone.

Configuration Reference

Required

  • zoneId — the SaaS zone.
  • origin — the fallback origin hostname.

Stack Outputs

OutputDescription
statusDeployment status
created_atCreation timestamp
updated_atLast-update timestamp
errorsAny deployment errors
  • CloudflareCustomHostname, CloudflareDnsZone

Next article

Cloudflare D1 Database

Cloudflare D1 Database Deploys a Cloudflare D1 serverless SQL database with an optional primary location hint and read replication configuration. The component provisions a single D1 database resource in the specified Cloudflare account and exports the database identifier for use by Workers bindings. What Gets Created When you deploy a CloudflareD1Database resource, OpenMCF provisions: D1 Database — a cloudflared1database resource in the specified Cloudflare account, with an optional region...
Read next article