2
votes

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.

1
Welcome to Stack Overflow! Unfortunately questions asking for: books, libraries, tutorials, tools, or other off-site resource are off-topic and should be closed. Stack Overflow is a Questions & Answers website for specific programming questions.sɐunıɔןɐqɐp

1 Answers

5
votes

It is possible to route to host a static website without using S3.

  1. Go to your S3 console and select your bucket.
  2. Select the "Properties" tab, then select "Static web hosting".
  3. Once this is setup you should see an endpoint url. Similar to this: "Endpoint : http://xxxx.yyy.s3-website.xxxx.amazonaws.com"
  4. 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.