I have the static website hosted on S3 which is displaying correctly using the Amazon s3 link.
As per Amazon docs, I created two buckets, example.io & www.example.io. The example.io has the content (files) for the website; the www.example.io bucket is redirecting to the phlo.io bucket.
I am trying to configure Godaddy Apex domain DNS settings to redirect to the S3 bucket. As an example, the domain is http://example.io & I entered the settings in Godaddy domain DNS in the following form:
Type: CNAME Name: www value: example.io.s3-website.eu-west-2.amazonaws.com TTL: 1 hour
However, this didnt work. Then as per advice from someone, I stored the files in 'www.example.io' bucket, and redirected the 'example.io' bucket to the 'www.example.io' bucket. In godaddy, I set the 'forwarding' option to 'www.phlo.io'.
However, none of these are working. Please advise.