Static hosting

S3.

Enable static hosting.

Specify index file.

Change bucket name: <sub_domain>.<domain>.<tld>

Add public access policy json.

Map cname: <sub_domain> : < aws domain -- <sub_domain>.<domain>.<tld>.aws.com >

Enable CDN (cloudflare) proxy

It must remain on - else will result in certificate SAN missing error.

Updated: 2026 Aug 19