I want to host a static website on Amazon S3. Created the relevant buckets - testing them ok. Now I have a domain name i've registered with EuroDNS - www.gopropel.io - I can't find how to connect it to my AWS S3 bucket. Do I need to create a route 53 hosted zone? Went over the AWS documentation and they all assume you are registering your domain with them.
2
votes
1 Answers
5
votes
It is possible to route to host a static website without using S3.
- Go to your S3 console and select your bucket.
- Select the "Properties" tab, then select "Static web hosting".
- Once this is setup you should see an endpoint url. Similar to this: "Endpoint : http://xxxx.yyy.s3-website.xxxx.amazonaws.com"
- Copy this url then create a CNAME record with EuroDNS and paste this link as the alias for "@" & "www" (optional). In the case of Eurodns set the host to your domain (gopropel.io & www.gopropel.io) and the canonical name as the url.
Allow a few minutes for the effect to go through and your domain should resolve to the s3 bucket.
This is not an ideal solution as it will limit certain features such as SSL (HTTPS).
The recommended approach is to go with Route53 it should cost less than $1.