#I just want a CDN for my website
12 messages · Page 1 of 1 (latest)
The production ready way is attaching a custom domain to your bucket under Settings -> Custom Domains: https://developers.cloudflare.com/r2/buckets/public-buckets/#custom-domains
Settings -> Custom Domains while inside of the bucket, that is. Worth noting it'll take over the entire hostname as well, so use a subdomain like r2.example.com or something
Thanks but it's requiring a Cloudflare domain which of course I don't have - I host my domains elsewhere like everyone else
For cloudflare to require my domain to be hosted by them is completely unreasonable
It just requires a domain to be added in Cloudflare and use CF DNS, don't have to use proxy services, nor CF's hosting services, or registrar, etc, could just get a cheap domain like <normalwebsitename>cdn.com as well
Your other options are the public r2.dev subdomain but it's not production ready / has rate limits or the S3 API w/ presigned URLs