Reputation: 1582
I want to host a static website on a sub-subdomain, for example on sub1.sub2.domain.com
Created a bucket named sub1.sub2.domain.com
Added a policy to allow getObject
publicly
At this point http://sub1.sub2.domain.com.s3-website.eu-central-1.amazonaws.com
serves the website
Tried adding a DNS rule for sub1.sub2.domain.com like so:
I've done the same thing for another static website hosted under only a subdomain (not a sub-subdomain).
Is there any possibility to achieve this?
Upvotes: 1
Views: 328
Reputation: 8830
Type: A
Alias: Yes
Alias Target: s3-website.eu-central-1.amazonaws.com
Upvotes: 2