Figured this out on my own. Here is what needs to be done:
- buy your domain,
example.com
- go to the Amazon S3 console and create a bucket named
example.com
- add your
index.html
file to it and provide read permissions - enable static website hosting for the bucket, using
example.com
in the field - go to the R5 routing part of the console and add a
Type A
record set (IPV4) Select Yes for Alias and choose the endpoint from the drop down, it will be something like
example.com..s3-website-us-west-2.amazonaws.com
Hit 'Create'
Go back to Hosted Zones and click the
example.com
zone, on the right you will see 4 namespaces that look something like this:ns-XXXX.awsdns-54.org ns-XXX.awsdns-15.com ns-XXXX.awsdns-45.co.uk ns-XXX.awsdns-27.net
Copy these namespaces to a notepad or something
- The Amazon side is now configured, we just need to do the domain side, so in my case I went to
iwantmyname.com
- Go to edit namespaces, and change them to the ones you copied from step 8
We're done! Just be patient as it does take some time to configure all of this. In my case it took about 15 minutes. You can ping the website or use nslookup to check up on the progress through your console:
ping example.com nslookup example.com
pinging is inferior to nslookup with S3 since Amazon blocks them