Having read a lot of the aws documentation and not finding anything relevant.
How to host a website directly from my S3 bucket say: s3-myhost-w.amazonaws.com
when I try to access the site directly:
<Message>
The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
</Message>
<Bucket>s3-myhost-w.amazonaws.com</Bucket>
<Endpoint>s3.amazonaws.com</Endpoint>
because when I select the option to host a website I am forced to use this url: http://s3.amazonaws.com/s3-myhost-w.amazonaws.com
OR how to at least redirect all requests
From http://s3.amazonaws.com/s3-myhost-w.amazonaws.com
To:http://s3-myhost-w.amazonaws.com
so that I can serve content using the direct url?
EDIT: DNS can be configured using Route53 . I am closing this question