Search code examples
amazon-web-servicesamazon-s3amazon-route53

Not able to configure Route53 record for hosting static website


I want to host static website which looks very straight forward as per AWS documentation like creating two buckets example.com and www.example.com etc.

but while configuring on Route 53; and creating Alias A record; it is not populating that S3 bucket name.. I even tried to put value manually it says

"Alias Target contains an invalid value"


Solution

  • Solution was that on S3 bucket level --> Add permissions --> Let Everyone List the contents. I think instead of Everyone even "Authenticated AWS User" should work fine.