Before You Begin Installing Apache
Apache is one of the most popular web servers, and part of its charm is that it's free. It also has a lot of features that make it very extensible and useful for many different types of websites. It is a server that is used for everything from personal web pages to enterprise level sites.
This article will discuss how to install Apache on a Windows system. Before we start you should be at least comfortable working in Windows - creating and changing directories and installing files. You should also have access to the adminstrator account on the server machine.
I recommend downloading the latest stable release. At the time of this writing, that was Apache 2.2. The best place to get Apache is from the Apache HTTP Server download site. Download the binary for Win32.
Extract the Apache Files
Once you've downloaded the binary, run it to start the self-installation. Click this link to read a step-by-step screen shot demo of what to expect when installing Apache on Windows.
Assuming that there were no problems, you are ready to customize your Apache configuration. This really just amounts to editing the
httpd.conf file. This file is located in the
C:/Program Files/Apache Group/Apache2/conf directory. You can edit the conf file with any text editor. Notepad is a good choice. Note: you should not use Word or a word processor to edit this file.
Follow the instructions in this file to edit your configuration the way you want it. More help is available on the Apache website.
Test Your Apache Server
Open a web browser on the same machine and type
http://localhost/ in the address box. You should see a page similar to the one in the partial screen shot above. It will say in big letters "Seeing this instead of the website you expected?" This is good news, as it means your server installed correctly.
Start Editing/Uploading Pages to Your Newly Installed Apache Web Server
Once your server is up and running you can start posting pages. Have fun building your website.
Article last updated: July 18, 2010.