Reputation: 97
I am trying to host my static website using S3. I have a domain that I bought outside of AWS. The URL for my bucker http://my-website.com.s3-website-us-east-1.amazonaws.com
. My domain name is my-website.com
. I have tried everything but I cannot wrap my head around how I should be configuring CNAME so that my URL does not look messed up. I tried forwarding but that does not work for obvious reasons.
Please suggest solutions.
Upvotes: 1
Views: 272
Reputation: 14201
It depends on what your DNS provider is
my-website.com
and add a A record for my-website.com
that points to the bucket. You must set Alias
to true for this to work. Upvotes: 1