02 - Configuring IIS6 To Host Your Intranet
02 - Configuring IIS6 To Host Your Intranet
To find out more about Microsoft Internet Information Services 6, visit the following site:
http://www.microsoft.com/windowsserver2003/iis/default.mspx
1. Installing IIS6 on Windows Server 2003:
If using the new style Start menu: Click on “Start”, “Control Panel”, “Add or Remove Programs” and
select the “Add/Remove Windows Components” tab on the left-hand side.
If using the "Classic" style Start menu: Click on “Start”, “Settings”, “Control Panel”, “Add or Remove
Programs” and select the “Add/Remove Windows Components” tab on the left-hand side.
In the “Windows Components Wizard”, highlight the “Application Server” and press the “Details”
button. The screen below will be displayed (Fig 1).
First, check “Application Server Console” and “ASP.NET”, then highlight the “Internet Information
Services (IIS)” option and press “Details” (as shown in Fig 1 above).
Figure 2 - The Internet Information Services (IIS) Screen
On the next screen (Fig 2 above) we highlight “World Wide Web Services” and press the “Details”
button to bring us onto the last screen.
I make extensive use of ASP files in my Intranet, so I need to select the “Active Server Pages” option
(shown in Fig 3 above). At this point, you may wish to check through the other options available in the
list and select them if they apply to your site. Don't worry if you are unsure, you can always change
these options later.
Click “OK” to close each window and “Next” to install the newly-selected components. You will be
asked to insert your Windows Server 2003 disk. Click “Finish” once the installation is complete.
If you are using the new style Start menu, you can reach the Internet Information Services console by
clicking “Start”, “Administrative Tools” and selecting “Internet Information Services (IIS) Manager” from
the list in figure 4 above.
If you are using the “Classic” style Start Menu, you can reach the console by clicking “Start”,
“Programs”, “Administrative Tools” and select “Internet Information Services (IIS) Manager” from the
list in figure 4 above.
IIS5 users will notice two new additions to the IIS Manager. The First is the “Web Service Extensions”
screen which provides control over which file extensions should be allowed or blocked. The second is
the “Application Pools” screen which allows applications to run in isolated memory “Pools” meaning
that if one application has problems, others are not affected.
The first task is to disable the “Default Web Site”. To do this, select the “Web Sites” item in the left-
hand pane then right-click on the “Default Web Site” item in the right-hand pane and select “Stop” from
the list. The Default Web Site is now stopped.
Next, we need to create a new site to host our web content. To do this, right-click on “Web Sites” in the
left-hand pane and select “New” and “Web Site…” as shown above in figure 6.
When the “Welcome to the Web Site creation Wizard” screen appears, click next.
Simply enter in a name for your site in the box and press "Next" as shown in Figure 7 above. This
name is for reference only and should help you locate your site in IIS Manager.
This method simply uses the IP address (or one of the IP addresses if more than one are configured)
of the web site to allow users to reach the site.
To use this method, all you need to do is select an/the available IP number from the list and leave the
port settings on 80.
To reach the site, visitors will have to type the IP address http://192.168.200.4 into their web browser.
They can also type the machine name in eg. http://suk-sys4
In this case, no additional IP numbers have been assigned to the Server, so all we have to work with is
192.168.200.4. Unfortunately, this is already being used by another site so we are going to host this
particular Web Service from Port 81 instead of 80. To view the site, users will have to enter
http://192.168.200.4:81 (the colon denotes the port number).
The request is interpreted by the server and the visitor is directed to the correct site based upon the
URL they entered and NOT just the IP address it was translated to by the DNS server.
This means that you need to add the URL (excluding http://) in the "Host Header" box as shown above.
In the case of my Intranet, I am entering "intranet.simongibson.com" so visitors will type
http://intranet.simongibson.com to access the site.
However, this will mean that a DNS entry must exist for "intranet.simongibson.com" to be translated to
the correct IP address and route to our web server. This will therefore mean that you must also make
this change to your DNS server if you plan to use this method.
Before you begin working with Host Headers it is recommended that you correctly configure a DNS
server. To go to the DNS Configuration tutorial on this site, click here.
9. Defing your site's home directory and who can access it:
Once you have defined which method of access you wish to use, you need to point IIS at your default
home directory. This is pretty self-explanatory and in this case is c:\Inetpub\intranet_live which is the
sub-directory 'intranet_live' located in the 'Inetpub' directory with the C: drive on the web server (SUK-
SYS4).
Notice that I have unchecked 'Allow anonymous access to this Web Site'. This will ensure that any
visitor will have to enter their username, password and Domain to access the site from outside the
building (ideal for an Extranet).
If you do not plan to make your Intranet available through the Internet then it is probably best to leave
this box checked.
The options shown in Fig.6 above are the default settings for IIS. These are fine for our Intranet. You
can set up seperate access permissions for sub-directories later, such as a cgi-bin. See 'Configuring
Active Perl' on the 'Intranet/Extranet' main page for more information.
If you have followed these instructions correctly, your IIS dialogue box should look something like Fig
13 (above). You can add as many extra web sites as you like, but bear in mind the access method you
plan to use (check section 6, 7and 8).
To make sure your site is operational, make sure you have a valid default.asp file in the home directory
and enter the preconfigured access method (http://192.168.200.4/, http://192.168.200.4:81/ or
http://intranet.simongibson.com/).