I\'ve set up Amazon S3 to serve my static site, speakeasylinguistics.com. All of the DNS stuff seems to be working okay, because dig +recurse +trace www.s
If you are using Hashicorp Terraform you can specify the content-type on an aws_s3_bucket_object as follows
resource "aws_s3_bucket_object" "index" {
bucket = "yourbucketnamehere"
key = "index.html"
content = "Hello, world
"
content_type = "text/html"
}
This should serve your content appropriately in the browser.