Installation via installer (Windows Server)
Installation steps
1. Run the installer
To install Ferron web server, run the following command:
powershell -c "irm https://downloads.ferronweb.org/install.ps1 | iex"
You will be prompted to choose the installation type.
2. Access the web server
By default, Ferron serves content from the %SystemDrive%\ferron\wwwroot
directory. Open a web browser and navigate to http://localhost
to verify that the server is running and serving the default index.html
file.
File structure
Ferron installed via the installer for Windows Server has following file structure:
- %SystemDrive%\ferron\ferron.exe - Ferron web server
- %SystemDrive%\ferron\ferron-passwd.exe - Ferron user management tool
- %SystemDrive%\ferron\log\access.log - Ferron access log in Combined Log Format
- %SystemDrive%\ferron\log\error.log - Ferron error log
- %SystemDrive%\ferron\wwwroot - Ferron’s web root
- %SystemDrive%\ferron\ferron.yaml - Ferron configuration
Managing the Ferron service
Stopping the service
To stop the Ferron service, run:
net stop ferron
Restarting the service
To restart the service:
net stop ferron
net start ferron