1 Answer
- Newest
- Most votes
- Most comments
1
When you choose a custom origin you're accessing some arbitrary website by URL. So you need to provide a website URL like in your first image, with "s3-website" in it. The "origin domain" you provided as shown in your second image is not pointing to the S3 bucket's static website.
When you use an S3 origin you're not accessing the bucket's static website, you're accessing its REST interface. You could (and should!) disable the static website and make the bucket non-public, and this will stll work via the Origin Access Identity.
Relevant content
- Accepted Answerasked 2 years ago
- asked 10 months ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago