Site icon TestingDocs.com

Install Apache HTTP Server on Windows

Introduction

Apache HTTP Server is the most popular open-source HTTP server available on the Internet. This page will teach us how to download and install it on the Windows operating system.

Apache HTTP Server is web server software developed and maintained by the Apache Software Foundation.

Download

Navigate to the Apache server’s official website:

httpd.apache.org

Click on the download button.

Pick the latest version and download it.

 

 

On the download page, select Files for Microsoft Windows.

Choose one of the websites: Apache Lounge.

 

 

Download the file httpd-x.x..zip based on the machine configuration(32-bit or 64-bit).

Install Apache HTTP Server

Extract the zip file and save it to a favorable location on the hard disk.

 

Open a command prompt shell and Run as Administrator.

Change the directory to the bin under the Apache24 folder.

Verify the Install

Run httpd.exe

The httpd.exe process is the main executable file for Apache HTTP Server on Windows. It’s responsible for:

Windows Defender firewall alert

Add a firewall exception and hit the Allow access button.

You’re receiving a Windows Defender firewall alert because the server process (httpd.exe) attempts to communicate through the firewall. This communication could be related to serving web pages or handling incoming HTTP requests.

Open a Web browser, type localhost or the machine IP address in the address bar, and hit Enter.

 

That’s it. If the message “It works!” is displayed, you are done with the server installation.

 

Apache Service

Create a Windows Service to start the server automatically

How to create Apache Windows Service

Install Apache web server on a Linux machine:

Install Apache server on Ubuntu Linux

Exit mobile version