AWS S3 DNS Setup & Caching


#1

This doc seems a bit outdated maybe?
https://support.cloudflare.com/hc/en-us/articles/200168926-How-do-I-use-Cloudflare-with-Amazon-s-S3-Service-

I followed this setup and everything seems to be working but when entering in the URL, it redirects to the bucket URL.

http://api.quantasylabs.com/ redirects to http://api.quantasylabs.com.s3-us-west-2.amazonaws.com/ and i’m not sure if caching is in play or not.

Any advice would be appreciated.


#2

I have a CNAME that points to example.com.s3-website-us-west-1.amazonaws.com

On AWS S3, my Bucket Properties has Static Website Hosting enabled. That screen showed me the endpoint I used for my CNAME. I don’t think I messed with CORS, since it currently shows their Sample Settings.

At Cloudflare, I use Flexible SSL.


closed #3

This topic was automatically closed after 14 days. New replies are no longer allowed.