Apache Web Server Installation Instructions for Windows

The installation instructions found here is for Apache Web Server version 2.2.4 for Windows. For the latest version, you can download the file directly from the Apache website (Windows binary or for other platforms).

More detailed set-up instructions for Windows can be found from the Apache website here

Installation Instructions

  • Download the installation file to your PC.

  • Double-click on the file to run it.

  • A Windows installation screen will open. Click on "Next" and accept the Terms of Agreement.

  • Click "Next". You will be prompted for the following information:

    • Network Domain:  If you know your network domain, type it in or consult your network administrator. Otherwise, you can use a fictitious domain, eg. nowhere.com.

    • Server Name: Type in the fully-qualified name of your PC. If it is not set, you can use a fictitious name, eg www.nowhere.com 

    • Administrator Email Address: Type in your e-mail address. This is where announcements and alerts will be sent to.

  • In the next screen, choose the "Typical Set-up" and then choose your installation directory. Note down the location of this directory.

  • That's it, the web server should start automatically. An icon will appear in your system tray and shortcuts will be added to your Programs list.

To test that Apache is running, open a web browser and enter "http://localhost" on the URL field. You should see a simple test page load. If you installed the Apache 2.2.4 build above,  you will see a page with the words "It works!"

Some notes

  • The default files served by Apache is in the install directory, under folder "htdocs", and the default page is "index.html". That is, if you install Apache in "C:\Program Files", the file "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\index.html" is the webpage you are viewing when you open the page "http:/localhost" using your browser. All the web pages and files you wish to be  accessible by HTTP should be placed inside this htdocs directory.

  • If you have a firewall installed, you will need to configure it to allow the httpd process to accept connections. Otherwise, other computers will not be able to access the web pages.



Last Modified: 17 October 2007