Contents
Overview 5
Overview of Internet Information Services 3
Configuring Web Server Properties 10
Creating Web Sites and Virtual Directories 15
Lab A: Creating and Configuring Additional
Web and FTP Sites 21
Managing Web Site Content 33
Configuring User Authentication 39
Configuring User Access to Web Pages 45
Configuring Web Browsers 52
Maintaining a Web Server 56
Lab B: Securing Web Resources by Using
Permissions and Authentication 62
Review 72
Module 3: Managing
Web Services Information in this document, including URL and other Internet Web site references, is subject to
change without notice. Unless otherwise noted, the example companies, organizations, products,
domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious,
and no association with any real company, organization, product, domain name, e-mail address,
logo, person, places or events is intended or should be inferred. Complying with all applicable
copyright laws is the responsibility of the user. Without limiting the rights under copyright, no
®
Internet Information Services (IIS) version 5.0.
After completing this module, students will be able to:
!
Describe the service provided by IIS.
!
Configure Web server properties.
!
Create Web sites and virtual directories.
!
Manage Web site content.
!
Configure authentication to a Web site.
!
Configure access to Web pages.
!
Configure browsers for Internet and intranet access.
!
Maintain and update an IIS server.
Materials and Preparation
This section provides the materials and preparation tasks that you need to teach
this module.
Required Materials
To teach this module, you need the Microsoft PowerPoint
®
file 2155A_05.ppt.
Preparation Tasks
To prepare for this module, you should:
!
!
Creating Web Sites and Virtual Directories
Discuss the methods for hosting multiple sites on a single server. Mention
that the host header method cannot be used for File Transfer Protocol (FTP)
sites.
Explain how virtual directories can be used to create an extensive Web site
without requiring that all content be stored on the Web server.
!
Managing Web Site Content
Explain how to use FTP to upload content to a Web site. Define Web
Distributed Authoring and Versioning (WebDAV) publishing, and discuss
how it can be used in an intranet. Explain how to configure WebDAV.
Explain how to configure Microsoft FrontPage
®
for authoring.
!
Configuring User Authentication
Explain each of the authentication methods with an emphasis on
Anonymous, Basic, and Digest authentication. Describe the benefits,
requirements, and restrictions of the different authentication methods.
Discuss various scenarios and the impacts of using combinations of
authentication methods.
Module 3: Managing Web Services v !
Configuring User Access to Web Pages
Discuss the need for security on a Web server. Emphasize that effective
security employs a variety of interdependent technologies. Explain the use
of Internet Protocol (IP) addresses and domain name restrictions by using
!
Configuring User Access to Web Pages
!
Configuring Web Browsers
!
Maintaining a Web ServerWeb services make it easy to share documents and information across a
company intranet or the Internet. You can also deploy scalable and reliable
Web-based applications, and store existing data and applications on your Web
servers.
After completing this module, you will be able to:
!
Describe the service provided by Microsoft
®
Internet Information Services
(IIS) version 5.0.
!
Configure Web server properties.
!
Create Web sites and virtual directories.
!
Manage Web site content.
!
Configure authentication to a Web site.
!
Configure access to Web pages.
!
Configure browsers for Internet and intranet access.
2000 Web services. Before you can effectively implement and
administer an IIS Web server, you require a thorough understanding of IIS
features. The specific IIS features that are available on a Web server will
depend on the Windows 2000 operating system on which the Web server is
running, and whether the Web server is a member of an Active Directory
™
directory services domain.
Topic Objective
To introduce Internet
Information Services.
Lead-in
In recent years, Web
servers have become a key
part of every organization’s
IT infrastructure.
Module 3: Managing Web Services 3 Role of Web Servers in Organizations
InternetIntranet
Web Server
www.nwtraders.msft
www.nwtraders.msft
www.contoso.msft
www.contoso.msftWeb servers enable an organization to quickly and dynamically provide
information to employees over an intranet, support team collaboration, provide
4 Module 3: Managing Web Services Benefits of an Internet Web Server
An Internet presence enables your business to serve its customers online. For
example, by providing contact information, answers to frequently asked
questions, and details about products and services, you can enhance customer
satisfaction.
You can also create e-commerce sites, which enable customers to purchase
products and check order status over the Internet. Windows 2000 interoperates
with existing systems so that you can efficiently manage operations, such as
managing suppliers and shippers, collecting payments, and collecting and
managing customer information that helps you tailor your offerings to suit
individual buyers.
You can also use the Web services in Windows 2000 to enable your employees
to work with documents on the Internet in the same way that they work with
documents on your internal network. IIS includes support for the Web
Distributed Authoring and Versioning (WebDAV) standard, which enables IIS
to work as both a Web server and a file server. With support for Web publishing
and file sharing, users can work with Web documents in the same way that they
work with files on their local hard drive or the network.
Hosting Multiple Web Sites
With its greatly improved scalability and new management options, the Web
services in Windows 2000 enable you to support thousands of separate Web
sites on a single server.
For example, you can host a separate site for each product or functional division
in your organization. Some companies, which are known as Internet Service
Providers (ISPs), make a business of hosting sites for other organizations. ISPs
have demanding requirements for Web services. For any organization that hosts
multiple Web sites on a single server, the improvements in Windows 2000 Web
On a new installation of Windows 2000, IIS is installed by default. If you
performed a custom installation of Windows 2000 and did not select IIS, you
can install IIS components by using Add/Remove Programs in Control Panel.
Some of the available components are:
!
Documentation. IIS Core and Software Developer’s Kit (SDK)
documentation.
!
FTP Server. Support for FTP.
!
FrontPage 2000 Server Extensions. Server extensions for Microsoft
FrontPage
®
2000 (Microsoft Office server extensions).
!
Internet Information Services Snap-In. Administrative interface for IIS.
!
Internet Service Manager. The administrative interface for IIS, which is
based on Hypertext Markup Language (HTML).
!
World Wide Web Server. Provides access to local Web sites.
!
Network News Transfer Protocol (NNTP) Service. Provides support for
network news.
!
Simple Mail Transport Protocol (SMTP) Service. Provides support for
e-mail.
from the Administrative Web site created specifically for this purpose.
!
%SystemDrive%\InetPub
The InetPub directory stores IIS content and contains folders, such as
Ftproot and Wwwroot. The default installation of IIS places this content
files on your system drive.
As a best practice, relocate these files and place
new Web site content on a drive that does not contain any system files.
!
C:\Winnt\Help\IISHelp
The IISHelp directory contains the IIS documentation.
User Accounts
The installation of IIS also creates two essential user accounts. The two IIS user
accounts are:
!
IUSR_computername
This account is used to handle all anonymous logins to the IIS system.
!
IWAM_computername
This account is used to launch and run out-of-process Web applications.
Services
Several services are installed with IIS. These services include:
!
FTP Publishing Service
!
IIS Admin Service
!
!
Release Notes. Includes the latest information for ensuring proper IIS
installation and use.
!
Installing IIS. Describes how to install IIS, add or remove components, and
lists directories that remain after uninstalling IIS.
!
Features. Lists IIS features and highlights new features from prior releases.
!
What’s Changed. Lists important changes between versions 4.0 and 5.0 of
IIS.
!
Web Resources. Lists IIS-related resources available on the Internet.
!
Quick Site Setup with IIS. Explains how to use the default settings to create
a Web and FTP site.
Topic Objective
To explain how to use IIS
Help.
Lead-in
IIS Help is an excellent
resource for learning more
about IIS, the answers to
frequently asked questions,
how to administer IIS, how
to use Active Server Pages,
and much more.
Note
Delivery Tip
Open IIS Help and
Active Server Pages Guide
The Active Server Pages Guide provides detailed information about creating
Microsoft Active Server Pages (ASPs) and developing Web applications. This
section contains information about:
!
Active Server Pages. Provides an introduction to creating ASPs and
demonstrates most of the key concepts for understanding the IIS
programming platform.
!
Developing Web Applications. Outlines concepts of how IIS fits into the
Microsoft architecture for distributed applications, and provides specific
details for designing and implementing applications for deployment through
Hypertext Transfer Protocol (HTTP).
!
Administering IIS Programmatically. Provides overviews and reference
material to help you manage the IIS configuration programmatically.
!
ASP Built-in Objects. Describes the properties and methods of the ASP
Built-in Objects.
!
Installable Components for ASP. Outlines a variety of components that you
can install to work with ASP.
!
Script Reference. Contains miscellaneous reference material, including the
@ directives and Global.asa references.
!
ASP Samples. Provides demonstration scripts that illustrate most of the
concepts presented in the guide.
10 Module 3: Managing Web Services Changing Master Properties
Master Properties
Default Web site
Htmldocs
Default.htm
FTP ServiceWWW Service
Layout.css
Graphics
Default FTP siteMaster properties apply to the Web and FTP sites on a server, and to the folders
and files in those sites. When configuring your Web site, you can modify the
master properties so that all the Web and FTP sites that you create inherit the
appropriate settings.
There are two sets of master properties: WWW service master properties, which
apply to Web sites, and FTP service master properties, which apply to FTP
sites. The FTP service master properties are only available if you have installed
the FTP service.
To change the master properties:
1. Click Start, point to Programs, point to Administrative Tools, and then
click Internet Services Manager.
In Administrative Tools, the IIS console is called Internet Services Manager.
However, when you open the console, it is called Internet Information
Services, also known as the IIS snap-in.
2. In the IIS snap-in, right-click the Web server, and then click Properties.
3. Under Master Properties, select WWW Service or FTP Service.
overrides the master property;
#
For that level
#
For any lower levels that you selectMaster properties are inherited by all of the sites that you create, and by the
directories and files in those sites. You can change properties at the site and
directory levels for FTP sites, and also at the file level for Web sites. Settings
on lower levels inherit the values from higher levels. For example, a file inherits
properties set at the directory level.
Properties that you change at the site, directory, or file level override the master
property. When you change a property for an individual site or directory, you
can select which lower level objects should inherit the new property value.
Topic Objective
To explain how properties
are inherited by IIS objects.
Lead-in
Master properties are
inherited by sites,
directories, and files.
12 Module 3: Managing Web Services Modifying Properties for IIS Objects
Default Web Site
Properties
Properties
contains your system files. This structure makes your Web sites easier to
manage and provides extra security for them.
Topic Objective
To explain how to change
properties for sites,
directories, and files.
Lead-in
You can set properties on
sites, directories, and files.
Module 3: Managing Web Services 13 To change the home directory:
1.
In the IIS snap-in, right-click the Web or FTP site for which you want to
change the home directory, and then click Properties.
2.
On the Home Directory tab, specify the location for the home directory.
You can select from the following options:
•
A directory located on a hard disk on your computer.
•
A shared directory located on another computer.
•
A redirection to a Uniform Resource Locator (URL) (for Web sites
returns the first document that it finds. To change the search order, select a
document in the list of default documents, and then click the arrows to move the
selected document up or down accordingly.
14 Module 3: Managing Web Services "
""
"
Creating Web Sites and Virtual Directories
!
Creating Additional Web Sites
!
Creating Virtual Directories
!
Creating and Configuring FTP Virtual ServersIIS enables you to host multiple Web sites on a single Web server. You can also
use virtual directories to combine content from various folder locations on local
and remote servers, and display them seamlessly in a uniform folder structure.
A virtual directory is a directory that is not contained in the home directory, but
appears as though it were. In addition, you can use FTP to publish content on
Web servers. FTP enables you to publish information on a Web server by using
a standard FTP client.
Topic Objective
To outline the topics that
explain how to create Web
sites and virtual directories.
80
192.168.114.10:
80
192.168.114.10
http://sales
192.168.114.10
http://sales
192.168.114.10
http://sales
192.168.114.10
http://sales
192.168.114.10:
1050
192.168.114.10:
1050
192.168.36.17
http://research
192.168.36.17
http://research
192.168.114.10
http://research
192.168.114.10
http://research
192.168.114.10:
1051
192.168.114.10:
1051
192.168.8.255
http://production
192.168.8.255
address by using host headers. In this method, IIS examines the HTTP
request from the client to determine which site is being requested. This
method is not available for FTP sites or sites that use Secure Sockets Layer
(SSL) because of the limitations of those protocols.
In addition, you must add the host name and its corresponding IP address to
the DNS server that is authoritative for your domain.
Topic Objective
To explain how to add sites
to an IIS server.
Lead-in
You can host multiple Web
and FTP sites on an IIS
server.
16 Module 3: Managing Web Services
Only browsers compatible with the HTTP 1.1 protocol, such as Microsoft
Internet Explorer version 3.0 and later and Netscape Navigator 2.0 and later,
support host headers.
You can combine the methods of identifying multiple Web sites. For example,
you can have two IP addresses on a server and 20 Web sites, with 10 host
header sites on each IP address.
Adding a New Site
You can add as many new sites to your computer as you require, depending on
the capacity of your server.
To add a new site:
1.
Note
Note
Module 3: Managing Web Services 17 To assign a host header name:
1.
In the IIS snap-in, right-click the Web site to which you want to add a host
header name, and then click Properties.
2.
On the Web Site tab, click Advanced.
3.
On the Advanced Multiple Web Site Configuration dialog box, under
Multiple identities for this Web site, click Add to assign a host header
name, IP address, and port for a Web site.
When you add a host header, you must remove the default IP address
property, All Unassigned. Otherwise, the Web site responds to all requests that
are received by the Web server. Delivery Tip
Demonstrate how to add a
host header to a Web site.
Note
18 Module 3: Managing Web Services
alias is usually shorter than the path name of the directory, so it is more
convenient for users to type. An alias is also more secure; users do not know
where your files are physically located. Finally, aliases make it easier for you to
move directories in your site. Rather than changing the name and location of
physical directories, you can change the home folder of the virtual directory and
maintain the original alias. In this way, you can change the location of the
content without changing the URL that is necessary to access the content.
To create a virtual directory:
1.
In the IIS snap-in, right-click the Web or FTP site to which you want to add
a virtual directory.
2.
Point to New, and then click Virtual Directory.
3.
Use the Virtual Directory Creation Wizard to assign an alias, specify the
path, and set permissions.
To delete a virtual directory, right-click the virtual directory that you want to
delete, and then click Delete. Deleting a virtual directory does not delete the
corresponding physical directory or files.
Topic Objective
To explain how to create
virtual directories in a site.
Lead-in
You can publish content that
does not reside in your
home directory by using
number combination for each virtual server.
You cannot use host headers to create a unique FTP virtual server.
An FTP virtual directory is a folder that appears as though it is located in the
Ftproot folder. For example, the URL for an FTP virtual directory appears as
follows:
t/products
In this case, the URL suggests that the Products folder is physically located
beneath the root /. However, the folder could be located in a folder that is on the
same drive as the root, located on a different partition, or located on a different
computer system.
Topic Objective
To introduce the concept of
virtual FTP servers and
directories
Lead-in
You can also create virtual
FTP servers and virtual
directories.
Note