+3 votes
12 views
Install Apache on Windows Server 2022, 2019 | HTTP server

in WebServers by (359k points)
reopened | 12 views

1 Answer

+4 votes
Best answer

Windows Server 2022 (in the Insider phase) is composed of numerous roles and functions that facilitate the management of objects in the domain, but it is possible to add many more functionalities to the server to carry out special tasks, one of these options is to install Apache on Windows Server..

 

Apache Server gives us the opportunity to set up an open source HTTP server so that users can host and manage their applications, this is achieved with a secure and extensible server where HTTP services are available that are compatible with today's HTTP standards.

 

Apache Server
Apache Server offers us features such as:

 

  • Asynchronous support.
  • General Purpose Expression Analyzer
  • Integration of more than 20 new modules
  • Loading multiple MPMS at runtime
  • Includes the FastCGI daemon as a startup utility
  • Administration of logs or events
  • Allows the configuration of a virtual hosting based on IP
  • We can add access restrictions to certain files and more

 

 

 

We are going to see how to install Apache on Windows Server 2022 to increase its functionalities..

 

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

Install Apache on Windows Server 2022, 2019

 

 

Step 1

We right-click on the Start menu and select the "System" option:

 

image

 

 

Step 2

This in order to see the architecture of the system, in this case 64-bit:

 

image

 

 

Step 3

Now we go to the C ++ website:

 

 

 C ++

 

Step 4

There we download the latest version Suitable based on the architecture of our server:

 

image

 

 

Step 5

Run the installer once the download is finished, the following wizard will open:

 

image

 

 

Step 6

We accept the license and click "Install" to start the process:

 

image

 

 

Step 7

At the end we will see the following. We click Close to exit the wizard.

 

image

 

 

Step 8

Now we go to the Apache URL in the following link:

 

 Apache

 

 

image

 

 

Step 9

We click on "Download" and then we will see the following:

 

image

 

 

Step 10

There we click on the line "Files for Microsoft Windows" to be redirected to the following window:

 

image

 

 

Step 11

We click on "Apache Lounge" to download the ZIP file:

 

image

 

 

Step 12

Apache Lounge takes care of delivering binaries for Windows in an up-to-date way.
Once downloaded we go to the path and extract the content of the file by right clicking and selecting "Extract all":

 

image

 

 

Step 13

The extraction process will start:

 

image

 

 

Step 14

We copy the Apache folder:

 

image

 

 

Step 15

We paste this in drive C:

 

image

 

 

Step 16

We access the folder to see its content:

 

image

 

 

Step 17

We access the command prompt as administrator:

 

image

 

 

Step 18

In the console we enter "cd C: \ apache24 \ bin \":

 

image

 

 

Step 19

We install Apache with the command "httpd -k install":

 

image

 

 

 

Step 20

After this we go to the Apache folder and open "htdocs" where we see the index file:

 

image

 

 

Step 21

With the notepad, observe the content of the index which will be the one we see when accessing from a browser:

 

image

 

 

Step 22

Now we enter "services" in the Start menu:

 

image

 

 

Step 23

We right click on Apache 24 and select the "Start" option:

 

image

 

 

Step 24

After this, a After browser we enter "localhost" and we will see the text of htdocs:

 

image

 

This has been the process to install Apache on Windows Server 2022.

 


by (2.2m points)

Related questions

+5 votes
1 answer
asked 6 days ago in Virtualization by backtothefuture (359k points) | 5 views
+4 votes
1 answer
+3 votes
1 answer
asked Jan 29 in WindowsServer by backtothefuture (359k points) | 41 views
+4 votes
1 answer
Please leave a comment about whether the solution works or not (with device model)   [X]Close
6,878 questions
6,975 answers
274 comments
2 users