Reputation: 1097
I would like to create multiple webpages in a single S3 bucket and access them by different domains.
For example, I have S3 objects:
That can be accessed like that:
Is it possible to access those S3 objects by domain:
Upvotes: 0
Views: 74
Reputation: 46879
Yes, it is possible. SInce you are essentially trying to create multiple websites within a single s3 bucket, you'll want to use cloudfront to accomplish this.
Bit more complicated than setting up a single s3 bucket static website, but not hard to do using the many examples/directions aws has.
Upvotes: 2