Knowledgebase

Installing Web Wiz Forums

How to install Web Wiz Forums 13 as a new forum. If you already run Web Wiz Forums version 10, 11 or 12, see the Upgrade Guide instead.

The same guide comes in the download as install-guide.txt.

Before you start

  • Check the server has everything on the System Requirements page: Windows Server with IIS, a SQL Server or MySQL database, and Microsoft's ASP.NET Core Hosting Bundle for .NET 10. Run iisreset after installing the Hosting Bundle.
  • Have a database ready, and a database login that can create tables in it.
  • Download Web Wiz Forums and unzip it. The zip holds the forum's files, a web.config for IIS, the licence and this guide. Nothing in it is specific to your site: the setup wizard makes the database connection.

Installing at the root of a website

  1. Copy the files to the website's folder.
  2. In IIS Manager, give the website its own application pool, with .NET CLR version set to No Managed Code.
  3. Give the application pool's account read and write access to the wwwroot\uploads, wwwroot\skins, App_Data and language folders (create App_Data if it isn't there).
  4. Browse to the website. The setup wizard starts.

Installing in a sub-folder of another website

The forum works in a sub-folder, such as /forum, including a sub-folder of a website written in another language such as Classic ASP.

  1. Copy the files to the folder, for example D:\Sites\MySite\forum.
  2. In IIS Manager, right-click the folder and choose Convert to Application.
  3. Give it its own application pool, with .NET CLR version set to No Managed Code. An ASP.NET Core application needs an application pool of its own, so it can't share the main website's.
  4. Give the application pool's account read access to the folder, and read and write access to wwwroot\uploads, wwwroot\skins, App_Data and language.
  5. Browse to the folder, for example https://www.mysite.com/forum/. The setup wizard starts.

Settings to check afterwards

  • Web address path to forum (General Settings): set it to the sub-folder's full address, such as https://www.mysite.com/forum/. It is used for links in emails, RSS feeds and search engine links.
  • Cookie Path (General Settings): leave it as / to share logins with the rest of the website, or set it to the sub-folder to keep them separate.

If the main website uses URL Rewrite rules

IIS passes a website's settings down into its sub-folders, including URL Rewrite rules. Rules written for the main website can then catch the forum's own addresses, and IIS answers with error 403.18 or 404. The Control Panel's Server Requirements Test page checks for this.

To fix it, add this inside <system.webServer> in the forum's own web.config. It cancels any rules passed down from the main website:

<rewrite>
  <rules><clear /></rules>
  <outboundRules><clear /></outboundRules>
</rewrite>

Only add this where the IIS URL Rewrite module is installed: on a server without it, IIS refuses the whole web.config. If the main website has rewrite rules, the module is installed.

Or, if you manage the main website, stop its rules being passed down by wrapping its <system.webServer> in <location path="." inheritInChildApplications="false">.

The setup wizard

The first time the forum is opened, the setup wizard starts. Choose New Installation or Upgrade, then:

  1. Choose the database type, SQL Server or MySQL, and enter the database server, database name and login.
  2. The wizard creates the forum's tables.
  3. Create the first administrator account: your own username and password.

The wizard saves the database connection in appsettings.local.json in the forum's folder. If it can't write that file, it shows the settings to paste into it by hand.

Then log in with your administrator account and open the Control Panel to set up your forum. The Server Requirements Test page there checks the server.

Behind a load balancer, proxy or CDN

The forum uses each visitor's IP address for IP blocking, login lockouts, spam checks and the address saved with posts. By default it uses the address of the connection itself, and ignores the X-Forwarded-For header, because anyone can send that header with any address in it.

If the forum is behind a load balancer, reverse proxy or CDN, every connection comes from the proxy. List the proxy's addresses in TrustedProxies in appsettings.local.json (single addresses or ranges, separated by commas or semicolons). The forum then reads the visitor's address from X-Forwarded-For on connections from those addresses only:

{
  "TrustedProxies": "10.0.0.0/8; 192.168.1.5; 2001:db8::/32"
}

Restart the application pool after changing it. Leave it out when visitors reach the forum directly.

HTTPS

General Settings has Always Use HTTPS. When it is on, a page asked for over plain http is sent to the same address over https, and browsers are told to keep using https for the site for a year (HSTS).

Only turn it on once the site has a working certificate: browsers that have visited keep using https for up to a year, even if the setting is turned off again.

Behind a proxy or load balancer that handles HTTPS, list it in TrustedProxies (above), so the forum knows which visitors are on https.

Browser security (Content-Security-Policy)

Every page carries a Content-Security-Policy: a safety net in the browser behind the forum's HTML filter, so that even if harmful code ever got into a post, signature or profile, the browser would not run it. It also stops other websites showing the forum in a frame.

The setting is in General Settings, Browser Security:

  • On (the default): browsers block anything the policy does not allow.
  • Report only: nothing is blocked, but the browser's developer console (F12) lists what would have been. Use it to check your own code first.
  • Off: no policy is sent.

Your own code keeps working. Scripts in the custom header and footer, the stats tracking code, the ad code and the forums message are allowed automatically, including Google Analytics, Google Tag Manager and ad networks that load further scripts.

Two things in your own code can't work with the policy on: onclick="..." style attributes and javascript: links. Move them into a <script> block, or choose Report only or Off. Extra Script Sources and Extra Frame Sources on the same page add other addresses, which is rarely needed.

Guest page cache

The forum keeps a small store of whole guest pages in the web server's memory, for AI scrapers and other programs that look like guests and keep asking for the same pages. It covers the forum index, topic lists and topics.

  • Size: General Settings, Guest Page Cache Size: Off, 5, 10, 25 (the default), 50, 100 or 250 MB. A page is usually 8 to 10 KB, so 25 MB holds over 2,000. On a small shared hosting plan, choose 5 or 10 MB, or Off.
  • What is kept: a page is kept once it has been asked for twice within a minute, for 30 seconds. So a new post shows to guests within 30 seconds at most, and any settings change, or anything a member does, clears the cache at once.
  • Who gets cached pages: guests only. Members always get fresh pages.

Human check

Control Panel, Human Check Settings. While the forum has more visitors than the Switch On At (Visitors) number (500 by default; different addresses in the last 5 minutes), visitors get a short "Checking your browser" page first. Their browser solves a small puzzle, about half a second on a computer and a second or two on a mobile, and gets a pass for 24 hours. The check page is served from memory, so a flood of bots costs very little.

  • Settings: Automatic (the default), Always or Off.
  • An address asking for more than 300 pages in 5 minutes is checked whatever the number of visitors.
  • Search engines whose addresses check out (Google, Bing, Apple, Yandex and Baidu) are never checked, and neither are login, RSS and the Control Panel login.
  • Visitors with JavaScript turned off can't get past the check while it is on, but can still log in.
  • Behind a proxy or CDN, set TrustedProxies so visitors are counted by their own addresses.

Upgrade Guide · System Requirements · Release Notes · Documentation · Support

Windows Dedicated and Hyper-V Servers

Fully managed or self-managed, from our own solar powered data centre.

Web Wiz® is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.

Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, €, prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz® Ltd. All rights reserved.