Skip to content

Installation YAF.NET v4.x.x

Ingo edited this page Nov 27, 2025 · 8 revisions

Installation Requirements

Make sure your server / Host has the following requirements:

Minimum Version Supported

  • YAF 4.0.x - .NET 10.0

STEP 1. UNZIP

  1. The first step after downloading the Install Package, is to Unzip YAF.NET and copy the content to the physical location where the Application (YAF) will be run from.

STEP 2. Configuring the Application in IIS (When you want to use it on a IIS)

  1. In IIS you need to create a new Virtual Directory, if you want to run YAF as application, that points to the physical directory where you extracted YAF in to.

  2. How to: Create and Configure Virtual Directories in IIS


STEP 3. SETUP DATABASE

  1. A valid database needs to exist on your SQL Server with proper permissions set so that YAF can access it. When you run YAF for the first time it will detect that the database is empty (or needs upgrading) and will automatically run you through the process required to create the SQL database structures needed.
  2. Add the connection string to that points to the sql server and database in the "ConnectionStrings" Section inside the appsettings.json file

STEP 4. MODIFY the appsettings.json FILE:

  1. MailConfiguration: Modify the SMTP settings by entering your mail server information (mail host name, sender email, password and port).
  2. Boardconfiguration: A list of all the board configuration setting with their details and defaults can be found here... https://github.com/YAFNET/YAFNET/wiki/BoardConfiguration-Settings

STEP 5. Run The Install Wizard

  1. Open the web site. If you are testing on your local computer, under a directory called YetAnotherForum.Net, the address should be: http://localhost/yetanotherforum.net/

  2. The wizard will guide you through the Install Process.

Clone this wiki locally