Unity5 WebGl html.mem error (Amazon EC2 Server)

Hi. I am trying to host a unity WebGL on the amazon EC2. I can host the file but when I access the IP I am just getting an error

An error occured running the Unity
content on this page. See your
browser’s JavaScript console for more
info. The error was: uncaught
exception: could not load memory
initializer Release/Tester.html.mem

I have tried renaming the .html.mem file to .mem in both the JS and compressed folder but it is not working.

Has anyone come across this issue, or managed to fix it. ?

Did you rename the file itself? You need to rename the file, the reference to it from the JavaScript. Then repeat those steps for the compressed version. Four edits all together. I wrote about the entire process here.