Does Cloudflare support aliasing multiple subdomains for R2?

Hello,

We are currently using Amazon S3 and planning to switch to Cloudflare R2. Before we proceed with the process, I have
some questions that need clarification.

  • Does Cloudflare support aliasing multiple subdomains for R2? For example, let’s say I have two subdomains: cdn1.abc.com and cdn2.xyz.com. Can I alias both of them into one R2 bucket? Is this currently possible, or if not, do we have any workaround solutions?

  • I see in Class B Operations for reading objects. If I access the file from the internet (without using the API), does it still count as a Class B operation?

  • If I use r2.dev to access public files, does it result in extra costs

Yes, you can add multiple Custom Domains to buckets: Public buckets · Cloudflare R2 docs

Yes, unless you have cache set up and it hits cache, in that case, it wouldn’t count.

No, but don’t, use Custom Domains, which also have no cost. r2.dev is rate limited and not for production deployments. Use Custom Domains.

Thank you very much, you show me very attentively in detail.