Apache for Windows 11: How to Download, Install & Configure

With an Apache server, you can proces and deliver web pages

by Ivan Jenic
Ivan Jenic
Ivan Jenic
Troubleshooting Expert
Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • Apache is the most popular web server for over 20 years now.
  • You only need an Internet-connected PC and a few steps to install Apache on Windows 11.
  • The initial configuration is pretty simple so you don't need any prior experience.
How to install Apache for Windows 11

Fix Windows 11 OS errors with Fortect:
This tool repairs common computer errors by replacing the problematic system files with the initial working versions. It also keeps you away from system errors, BSoDs, and repairs damages made by malware and viruses. Fix PC issues and remove viruses damage now in 3 easy steps:

  1. Download and Install Fortect on your PC
  2. Launch the tool and Start scanning to find broken files that are causing the problems
  3. Right-click on Start Repair to fix issues affecting your computer’s security and performance
  • Fortect has been downloaded by 0 readers this month.

Apache is the most used web server software for the last 20+ years since its initial release back in 1995. It processes HTTP requests and allows us to store and deliver web pages locally or on the internet. All websites require a web server to be displayed in a web browser.

What do I need to install and run Apache?

Although it seems complicated, you will see that it’s not rocket science. Here’s what you will need to use Apache on Windows 11:

  • A PC with Microsoft Windows 11 (It also works on Windows 10, but we will focus on the new OS)
  • An internet connection to download the installer
  • Patience and a little bit of focus

The software described in this article is free and can be downloaded from their dedicated websites or authorized mirrors. The problem is that manual configuration can take some time and requires some advanced computer/server knowledge to understand what each option does.

How do I get, install and configure Apache on Windows 11?

1. Download and configure Apache

  1. Go to the ApacheLounge dedicated website and click the download link for the 64-bit version.
  2. Press the Windows key + E to start File Explorer, unzip the file into a new folder, and locate the httpd.conf file under the conf folder.
  3. Open it in a text editor such as Notepad.
  4. The configuration file assumes you installed Apache under the C: drive directly. If not, the first thing you should do is modify that information in the conf file you just opened.
  5. Use Ctrl + F and search for the following line: Options Indexes FollowSymLinks
  6. Add ExecCGI at the end so that the line looks like this: Options Indexes FollowSymLinks ExecCGI
  7. Next, find the following lines and remove the # sign from the start: AddHandler cgi-script .cgi and AddHandler cgi-script .pl
  8. Add the following line at the end of the httpd.conf file: ScriptInterpreterSource Registry

2. Start the Apache server

  1. Press the Windows key + E to launch File Explorer and go to the bin folder into the Apache24 folder.
  2. Hold the Shift key, right-click somewhere on the right and select Open in Terminal.
  3. Type the following command and press Enter: httpd.exe
  4. You will be prompted to allow the installation through the firewall, and you should grant it access.
  5. To test the server, start any web browser and type localhost or the IP address of the PC into the address bar, and hit Enter. You should receive the message It works!

3. Configure the server as a system service

  1. Click the Search icon on the taskbar, type cmd, and select Run as administrator from the results.
  2. Change the folder to the following: C:\Apache24\bin
  3. Type or paste the following command and press Enter to run it: httpd.exe -k install -n "Apache HTTP Server"

Congratulations! You have installed the Apache server on Windows 11. You can now test and develop websites by running them locally instead of uploading each file to a web server after editing it.

Just as additional information, Ports 80 and 443, used by default by Apache, may be blocked or reserved on your machine by other applications.

For example, Skype reserves these ports in case others aren’t available and continues to reserve them even though it doesn’t use them.

You can disable this in Skype by unchecking Use port 80 and 443 for additional incoming connections under Tools > Options > Advanced > Connection.

If you have any other questions, please use the comment section below.

Still experiencing issues?


If the above suggestions have not solved your problem, your computer may experience more severe Windows troubles. We suggest choosing an all-in-one solution like Fortect to fix problems efficiently. After installation, just click the View&Fix button and then press Start Repair.

This article covers:Topics: