Begin the installation:
Start your downloaded file: httpd-2.2.16-win32-x86-no_ssl.msi (double click or right click/run) and this training module will help step you through the data input selections the wizard will ask of you. The wizard starts with the following start-up screen (Fig. 01):
Starting the Apache HTTP Server 2.2 installation wizard
The Administrator will be wise to note that this same installer file can also be started to modify/repair/remove an existing installation. As this is our first installation, the only option we will be presented with is to install the server software. Select next to move to the next part of our Apache HTTP server 2.2 installation.
Accepting the License Agreement:
The second window loads the License agreement into the viewing panel (Fig. 02). The provided scroll bar enables you to view the entire contents of the agreement. Check over the details to be sure you are happy and willing to comply and accept the conditions as laid out for your use of the software. If all is acceptable, select the radio button in front of the phase I accept the terms in the license agreement and then choose next to continue the installation process.
Apache HTTP Server 2.2 License Agreement Screen
The Apache user community:
Our next window (Fig. 03) is quite brief and will give us some useful information like where to subscribe should there be desire to keep abreast of new code releases, bug fixes, security fixes and other general news or information for your Apache server. Visit, bookmark or subscribe to anything of interest and then choose next to move to the next stage of the installation process.
Introducing the Apache HTTP Server community
Entering your Server Information:
Our next window (Fig. 04) is of extreme interest to the Website Administrator as it defines our exact network location in terms of our DNS domain.
If we were establishing a www set-up, this step would be of elevated importance and would look something like this: server.mydomain.com. This full name would be our Server Name (The second line in our form in Fig. 04).
mydomain would of course be replaced with the duly registered domain name of your website (or that of your dns server).
Our network name is the last part of this address: i.e. mydomain.com (This becomes the first line in our form in Fig. 04).
Notes: Configuring your Apache Server For the Web. A DNS (Domain Name Server) is like a large telephone book which computers on the internet use to find a website. Most people like names better than a bunch of numbers. For example, if you go to 184.108.40.206 in your web browser, you will see you have arrived at Google.com. Most people would rather remember www.google.com than a series of dots and numbers.
For home users, when an ISP changes your IP, the full DNS number changes and so your web server can not be found unless you re-configure the server each time and give your new number address to your friends, businesses etc. Now home users can get a personal DynDNS (see link below) that will solve this problem. This is very easy to configure too and is very much like what you have just learned. To start, get a premium or cheap domain name(s) and request for the free DynDNS service to be activated for your favorite domain name choice. This will become your permanent website address. You can then setup and run that website address with Apache HTTP Server from your home (or office) computer. Your friends and customers will always be able to find you.
Some people also like to monopolize their website name in as many different domains as possible because Google's SEO formula can be dependant on the website's geographical DNS location e.g. .com.au, .uk, .it etc. This also stops other people cashing in on your idea or brand name. You can search and register Domain names or get DynDNS here. (Europe, Asia, Oceania, America etc. etc.)
And as the purpose of this tutorial is to place a server setup on a local network to further familiarize the website administrator with Apache, we will gloss over this point for now and define our DNS domain as a local domain only.
Entering the DNS domain details of our Apache HTTP Server
We enter "localhost" as our Network Domain, and we also enter "localhost" as our Server Name. You can name any email address you like as the administrator's email. If we wanted to secure a domain first, or use DynDns, we used the link above and can either use the data now, or we can add them after we have setup apache.
Next we want to ensure our network users can find our server and we setup their shortcuts by choosing the radio button marked for All Users, on Port 80, as a service -- Recommended and select next to continue with the installation process. Note: If you select Port 8080, you will need to stipulate this port when calling your network. eg. http://127.0.0.1:8080/ or http://localhost:8080/index.html
Some Vista Operating System users may opt to use port 8080 if they are unable to resolve any port 80 conflicts as mentioned in page 1 of this guide.