This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Chapter 8: Internet Information Services
UTF-8 Logging
By selecting this option, you instruct IIS to write HTTP server logs in the UTF-8
character set rather than ASCII and/or the local character set as configured in the
operating system. If you use Unix systems to process logs for your organization,
this might be helpful for you. IIS does not support writing FTP log files in UTF-8
MIME Types
Multipurpose Internet Mail Extension (MIME) types are mapped to individual
file types and indicate what kinds of documents and data are served by the IIS
machine. The MIME types defined in this box are served globally—that is,
across all sites in the machine. You also can define specific MIME types for a vir-
tual directory, a physical directory, and a specific web site. To configure these
mappings, click the MIME Types button.
Managing Web Services
In this section, I’ll walk through creating a new site, configuring it, modifying its
properties, and securing it using certificates. I’ll also assume you’re creating a new
web site as well, though if you want to use the Default Website already created in IIS,
you can follow along through the explanation, too.
Creating a Site
First, open IIS Manager, and expand the tree in the left pane. Right-click the Web-
sites folder, and from the New menu, select Website. The Website Creation Wizard
appears. Click Next to continue, and then follow the procedure outlined here:
1. On the Website Description screen, enter some helpful text that represents the
purpose or content of the web site you’re creating. This is just for your or
another administrator’s reference. Click Next to continue.
2. The IP Address and Port Settings screen appears. Here, choose the IP address on
which IIS will listen for requests addressed to this web site. You also can select
All Unassigned to indicate to IIS to monitor all IP addresses that aren’t reserved
for the exclusive use of other web sites. Also, enter the TCP port number that
requests to this web site will use. (The default is port 80.) Finally, enter the host
header for this site if needed. I’ll cover port numbers and host headers a bit later
in this chapter. Click Next to continue.
3. On the Website Home Directory page, indicate where the pages you want to
serve are located on your machine. You also can point IIS to a network location
if you want your pages to be served from another machine. Windows by default
creates a directory called C:\Inetpub\wwwroot that you can use as a starting
point. Also, check the anonymous access checkbox if you want anonymous web

Get Learning Windows Server 2003, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.