Roc8
Roc8
CDCloudflare Developers
Created by Roc8 on 3/10/2025 in #general-help
do i use domain or subdomain for bucket?
I transferred a domain to cloudflare. It had one A record iirc (but after I connected it to the bucket it shows r2 record), Here's my current setup: server, database - localhost storage - r2 The development is complete, and this is the future architecture I'm considering : server - workers database - d1 storage r2 The problem I'm encountering is after I connected the domain to r2 bucket, it seems like the root domain is used for bucket as well, and whenever I try to access any file on the domain, it says The image cannot be displayed because it contains error. I'm not sure if I did the setup correctly. I want to host the website with workers on the main domain in future, so do I need to use a subdomain for bucket instead?
7 replies