简体   繁体   中英

Can't configure Cloudflare CNAME to point to Amazon S3 Bucket

I've setup my amazon bucket so that it's named media.example.com

Then, I've set a CNAME "media.example.com" pointing to "media.example.com.s3.amazonaws.com" However, If I try to go to media.example.com, I get a Page not found error.

![enter image description here][1]

I don't know what I'm doing wrong, I'd thank any advice :)

Thanks in advance

This issue here seems like you have got the Amazon S3 url wrong, try and set the CNAME media.example.com point to s3.amazonaws.com/media.example.com/<foldername>

<foldername> to be replaced with the name of the folder that you have created inside the bucket (if any).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM