System / On-premises Hosting

Installing Scifeon

Last updated on 13-May-2020 by Jakob Jakobsen Boysen
Jakob Jakobsen Boysen

Platform Lead

Make sure you have followed the preparation steps before proceeding with this guide.

The following describes all steps involved in setting up a clean installation of Scifeon on Windows Server 2016.

Step 1: Deploy Scifeon

  1. Download the latest on-premises version of Scifeon here: Download Scifeon
  2. Unzip into the preferred path on the server, e.g. c:\inetpub\scifeon\dev, where the last part of the path typically is the environment name.

Step 2: Create a Web Site in IIS

  1. Open Internet Information Services (IIS) Manager.
  2. Right-click Sites and choose Add Website.
  3. Choose an appropriate name (typically a combination of instance name and environment).
  4. Set the Physical path in the Content Directory section to an path where you deployed Scifeon in step 1.
  5. Set the binding port and set DNS names in Host name.
  6. Remove the checkmark at Start Website immediately.
  7. Click OK.

NB: Scifeon doesn't interact with the local filesystem, so Pass-through authentication is fine.

Example of Web Site settings:

Step 3: Configure Scifeon

Create a new copy of the file appsettings.default.json with the name appsettings.json and update sections in the new file according to the sections below.

Set the instance name by updating the following information in the appsettings.json:


Update the following section with the server name, database name, usernames and password from the Installation Prerequisites:


Update the Key to a 32B key (length of 32 characters) in the following section, and make sure never to overwrite this in future upgrades, as this is used to store sensitive information in the database, e.g. the email password from the section above. There are many online tools to generate random strings. Just make sure the length is 32 characters.

Windows Authentication (optional)

To use Windows Authentication we need to enable Windows Authentication in both IIS and in Scifeon:

Step 1: Enable in IIS

  1. Open Internet Information Services (IIS) Manager.
  2. Select the Scifeon Web Site created previously.
  3. Double-click Authentication.
  4. Enable Widnows Authentication (and make sure Anonymous Authentication is also enabled).

Step 2: Enable in Scifeon

Open the appsettings.json file and update the following section to match:

Step 3: Verify user

After Scifeon has been started (the next step), go to http://{scifeon}[:port]/api/auth/user on a client and verify that contextUser is the currently logged on Windows user.

Step 4: Start Scifeon

  1. Select the Web Site created in IIS in step 1.
  2. Click Start in the section Manage Website.
  3. Open the following URL: http://{scifeon}[:port]/api/user/bootstrap
  4. Go to the the frontpage of Scifeon: http://{scifeon}[:port]/ (http://{scifeon}[:port]/#/login if Windows Authentication has been enabled).
  5. Login with the username admin and password 12345678 and change the password to something else after login.