This article describes setup of HTML server on IIS.
Installation
.NET
.NET 8.0. is required. Download link: Download .NET 8.0 (Linux, macOS, and Windows)
Click on Hosting Bundle. Download it and install it.
Download HTML
- Open following link: Releases · origam/origam · GitHub
- Download origam-html.zip
- Unzip this file into your IIS directory, e.g. c:\inetpub.
Setup IIS
Basic Setup
- Open IIS Manager
- Click on Application Pools
- On the right side click on Add Application Pool…
- Fill name (e. g. origam).
- NET CLR version set to
No Managed Code
. - IMPORTANT!!! Go to Advanced Settings and check if
Load User Profile
is set toTrue
. - Right Click on Default Web Site → Manage Website → Advanced Settings…
- Change Physical Path from
%SystemDrive%\inetpub\wwwroot
to%SystemDrive%\inetpub\origam-html
. - Change Application Pool from
DefaultAppPool
to your new pool, that you’ve created (e.g. origam). - Click on OK. Don’t close the manager yet.
SSL Setup
Origam HTML server needs to work with https
. There are two possibilities how to do it.
- This IIS is master server and it is visible on internet.
- This IIS is slave server and other IIS is master https server visible on internet.
HTML on IIS as master.
- Select Default Web Site and on the right side click on Bindings…
- Click Add…
- For
Type
selecthttps
. - Chose SSL certificate. If there is no certificate, you have to add one (you can create self-signed certificates for test environments).
HTML on IIS as slave
In this case skip creating https and certificate. This IIS will be run only on http.
Add https on master IIS and create reverse proxy to this slave server.
Restart this IIS.