@Tut or @lubos Could you update the Windows Installing Manager Guide with the instructions for using IIS instead of Caddy Server for the benefit of other users who need to use IIS for whatever reason.
At the section Setting Up HTTPS - I would split that into two sections - one for Caddy and one for IIS
Instructions for using IIS: (This will redirect external port to port 8080 and use IIS for HTTPS.
Install IIS with the default settings
Install Application Request Routing - download from the Internet
Open Application Request Routing in IIS. Click Server Proxy settings.
Then set the following:
Enable Proxy
Enable SSL Offloading
Close Application Request Routing.
Add your Certificate to Server Certificates in IIS and select web certificate as type
Go to sites and add website
Set the physical path to point to wherever you have installed Manager, bind to https and select certificate that you added earlier.
Then you will need to create a webconfig file and save it in the folder where you installed Manager, and add the following:
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Set header for HTTPS traffic" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="on" />
</conditions>
<action type="Rewrite" url="http://host.domainname.co.uk:8080/{R:1}" />
</rule>
<rule name="HTTP traffic redirect" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Rewrite" url="http://host.domainname.co.uk:8080/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
You will need to open both port 8080 and whatever port you set for the Manager website on both your windows and router firewall. It is recommended to use a port different to port 443 as it makes a bit harder for unauthorised people to access the website as the website will only work if you know the correct port number.
Edit: If you encounter this error message when trying to import your Business - The page was not displayed because the request entity is too large. - This means that the file is too large, presumably because you have lots of attachments in that business.
You will then need to click on Request Filtering, Edit Feature Settings and change the Maximum Allowed Content Length from the default 30 000 000 and add an extra Nought to increase the file upload size allowed. Restart the website.