Aws s3 webgl host

Hello. I uploaded my unity webgl game to aws s3 and got a url for index.html from there. but when I go to this url, it downloads the index.html file, I tried adding it to the iframe, and I’m still experiencing the same thing. how can i solve this problem i am thinking of combining it with cloudfront cdn right now but they can play videos on youtube directly from s3

Sounds like a question for the AWS reps. Start simple and make sure that other content like images are being properly hosted, and if that works, ask them what you’re not doing right about hosting the webgl content.

i can open the images properly, I need to upgrade my support package to get technical support from amazon, but this is not possible at the moment