So something weird happened, I've set up my AWS S3 bucket for static website hosting, and it all works perfectly fine, but whenever I go to plain domain (For example: 'test.com') It returns an XML file error, followed by dumping all the content in that XML. It'll look like [this](https://i.imgur.com/CTFFPIo.png "this"), but the rest of the domains like 'test.com/test' does work.. I have index.html set as my index in my bucket, and everything seems to be properly configured. Any help?

Also, going to 'test.com/index' does in fact show the index fine, only when you go to 'test.com' does it give the XML error.