How to setup AWS S3 bucket to be accessed through subdomains with Cloudflare DNS.

The client wanted to create a file server for training documents including MP4, PDF, PPT, WMV, etc. that was accessible through different subdomains. DNS managed through Cloudflare. In Amazon’s S3 dashboard, create a bucket that matches the subdomain you want to use. For example, videos.domain.com subdomain would need a matching bucket, videos.domain.com. Make sure the …