capabilities.work

Attach a custom domain to an R2 bucket

One step with Cloudflare R2. We can help you get access.

Get something done

Attach a custom domain to an R2 bucket

Use Cloudflare R2: its Cloudflare R2 Cloudflare R2 Bucket API lets you attach a custom domain to an R2 bucket in a single step (POST /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom). capabilities.work can help you get signed up and connected.

  • How do I serve my R2 bucket over a custom domain?
  • Can I require a minimum TLS version on a custom domain for an R2 bucket?
Say it to your AI assistant
  • Attach custom domain {domain} to R2 bucket {bucket_name} in account {account_id} on zone {zoneId}.
  • Enable public access at custom domain {domain} on R2 bucket {bucket_name}.
For your developer

POST /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom in Cloudflare R2 Cloudflare R2 Bucket API. Full spec on APIs.io.