Use Your Own Domain with a S3 Static Website

At first, I couldn’t figure out why I couldn’t create a DNS record in Route 53 to my static website in S3. I saw that I needed to created an S3 bucket with the name of my domain. I thought I should be able to create a new record in Route 53 with an alias. For example, my S3 bucket is named allergeyfreejourney, but there was no S3 endpoint to select.

Then I realized what I did wrong. I read the documentation, but it didn’t hit me at first that the domain name needed to be the exact same. The bucket name needed to include the top level domain. Therefore, I created a new S3 bucket and added the .com this time. For example, my S3 bucket is named allergeyfreejourney.com. Bam! Now I was able to select my S3 endpoint.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s