I just want a CDN for my website

I can't figure out how to upload files for public consumption on Cloudflare. R2 buckets are private and I don't see a CDN configuration. Help?
6 Replies
Chaika
Chaika•2mo ago
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
vonWolfehaus
vonWolfehausOP•2mo ago
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
Chaika
Chaika•2mo ago
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
vonWolfehaus
vonWolfehausOP•2mo ago
Thanks for your help but it sounds like CF just isn't for me. I'm not buying a domain or hosting it on CF just to post some images for my website, that's ridiculous I'll stick with google cloud I guess
Idle
Idle•2mo ago
if you want to host a website you'll have to own a domain.. 🤔 unless you use cf pages and just use the url to your project would love to see where Google cloud is handing out free domains :p
Max Bunny
Max Bunny•2mo ago
it got stuck on updateing name servers!
Want results from more Discord servers?
Add your server