Html5 to iis server

HI how do I make my HTML5 shipping build work on an IIS Server for public browsers?

The current builds should work out of the box on IIS. Is there some specific error you are seeing?

One thing to note in particular is that the current builds are configured to download uncompressed files by default, which is not ideal for network transfer bandwidth performance. To optimize this by serving precompressed files (the ones that end in “gz”), IIS will require custom configuration to set “Content-Encoding: gzip” header on the gz files. See here for how to configure the precompressed gzip files:

In addition to that configuration, the main .html file will need to add a line

Module.locateFile: function(url) { return url + ‘gz’; }

right after the Module object is defined to make the page download the gz variants.

In future, I believe UE4 will default to serving precompressed files out of the box, so changes to the .html side will not be needed, but the IIS side configuration will still need to be done.