SolutionBase: Setting up a simple Web site with Apache 2.2

The Windows installer introduction screen

Installing Apache 2.0 on Windows

The Windows installation of Apache is substantially easier than installing Apache from source under Linux. While you can install Apache using source under Windows, how many Windows administrators do you know that actually do this? I don't know any either.

Note that this section is entitled "Apache 2.0 for Windows". The Apache group has yet to release a binary for the Apache 2.2 branch. While others have created such binaries, you're limited in support and, unless you want to build from source yourself, you're at the whim of the person that built the distribution. As such, this section is focused on Apache 2.0.

The Apache group provides a win32 executable version of their web server just for the purpose of easily installing under Windows. Before you get started, make sure that you don't have IIS installed on your server. If you continue with IIS installed, Apache will not be able to listen for requests on port 80. You can run Apache and IIS side-by-side if you want to run one of the products on a port other than 80 or if the two products listen to different IP addresses.

After you make sure IIS is removed from your Windows server, download the Apache Windows binary. As of this writing, you won't be able to download a Windows binary version of Apache 2.2 since it's not yet offered on the Apache web site, so download the latest version of Apache 2.0. As of this writing, the latest 2.0 release is 2.0.55. For this example, I've downloaded the file named apache_2.0.55-win32-x86-no_ssl.msi. As you can probably guess, this is a basic Apache build without SSL support, which will suffice perfectly for a simple Apache site.

After download, execute the MSI file and follow the on-screen instructions.The first screen you get provides you with an introduction. Click the Next button to move on.