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

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

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • 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

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.

Installing Apache helps many get rid of An exception occurred in the driver: could not find driver error.

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

More about the topics: server, web software