0

I would like to host multiple S3 Amazon buckets under one site in next way: Access to bucket1 - http://example.com/bucket1(bucket2...) and so on. What now Amazon allows is access with links like http://s3-ap-northeast-1.amazonaws.com/bucket1 , but this is not allowed in my case (production server). Note that site DNS is hosted also at Amazon Route53.

2
  • You'd have to proxy it. Are you sure this is useful enough to justify the work, additional bandwidth usage, and extra latency it'll involve?
    – ceejayoz
    Jun 7, 2016 at 14:52
  • Would you be comfortable with a pattern like: http://bucket1.example.com where bucket1 is now a subdomain?
    – Jedi
    Jun 7, 2016 at 15:14

1 Answer 1

0

One solution that I can think of is to route to your buckets using subdomains: http://bucket1.example.com , http://bucket2.example.com

All you would need to do is to create the relevant subdomain in your Route 53 configuration, and then alias it by creating a CNAME record. So, bucketn.example.com will have a CNAME record with bucketn.s3-ap-northeast-1.amazonaws.com.

This reference from AWS may help.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .