Install Apache Web Server on Windows

This use case describes how to install Apache Web Server on Windows.

Scenario

Why do you need a reverse proxy? By intercepting requests headed for different Fortified ID services, the reverse proxy server protects the services and acts as an additional defense against security attacks. In this use case we will use and install the Apache Web Server on top of a Windows server.

Prerequisite

  • Windows server 2019 or later

Download and install Apache Web Server

  1. Download Apache Web Server

    1. We used https://www.apachelounge.com/download/ to download media

  2. Make sure you have pre-requirement completed

    1. Be sure you installed latest Visual C++ Redistributable Visual Studio 2015-2022. This will also be found on the link above.

  3. Extract the contents of the Apache Web Server 2.4 zip-file

  4. Locate the extracted Apache24 folder and copy this folder to the root of C:\

  5. You should now have C:\Apache24

Start and verify installation of Apache Web Server manually

  1. Open a command prompt as an administrator

  2. Open the C:\Apache24\bin folder

  3. Run the httpd.exe command

  4. Open a browser and browse to http://localhost:80

  5. When you point your browser to the localhost address, and there are no conflicts on port 80, a landing page will appear that says “It works!”

    1. If this will not work you might need to check local firewalls on windows server

  6. Quit command prompt to stop service

Install Apache Web Server as a Windows service

  1. Open a command prompt as an administrator

  2. Open the C:\Apache24\bin folder

  3. Run httpd.exe -k install -n "Apache HTTP Server"

  4. Open Services on your Windows server

  5. Locate the service Apache HTTP Server

  6. Start the service

  7. Open a browser and browse to http://localhost:80

    1. If this will not work you might need to check local firewall on windows server.

  8. When you point your browser to the localhost address, and there are no conflicts on port 80, a landing page will appear that says “It works!”

Last updated