Tag: s3
How to configure S3 domain alias on web with cloudflare
We’re using S3 as a storage for releases of Skipper (originally ORM Designer). It’s a good and fast solution, but links to downloads aren’t so pretty:
https://s3.amazonaws.com/downloads.skipper18.com/Skipper-3.0.0.1024-Windows-all-32bit.exe
but what we want is something like this :
https://downloads.skipper18.com/Skipper-3.0.0.1094-Windows-all-32bit.exe
The solution is pretty simply. The only necessary thing is to create bucket on S3 with the same name link domain where the downloads will be available:
and then configure new CNAME in cloudflare:
type: CNAME name: downloads.skipper18.com alias: downloads.skipper18.com.s3.amazonaws.com
And that’s all. Domain should be ready within fews seconds.
External links:
- https://support.cloudflare.com/hc/en-us/articles/200168926-How-do-I-use-CloudFlare-with-Amazon-s-S3-Service-
- http://carltonbale.com/how-to-alias-a-domain-name-or-sub-domain-to-amazon-s3/