Windows 2003 Server
Administering Web Resources
At the end of this chapter you should be able to:
Installing and Configuring Internet Information Services
Internet Information Services (IIS) is Microsoft's web server software in Windows Server 2003. IIS is made up of four components.
Installing Internet Information Services
In the Add or Remove Programs control panel, you can click the Add/Remove Windows Component button to launch the installing program. In this program, you click Application Server then Internet Information Service (IIS). Below is an outline of your options from the book.
LAB ACTIVITY - Do the lab on page 521. (20 Minutes)
After IIS is installed, your system will have gone through a few changes. You will find some new folders on your hard drive.
You will also see the addition of two accounts to Active Directory.
There is also one group added called IIS_WPG. This is the worker process group that should only contain IWAM_servername.
And finally, up to five new services.
LAB ACTIVITY - Do the lab on page 526. (10 Minutes)
Architectural Changes in IIS 6.0
IIS configuration information is stored in it's metabase. In IIS 5.0, which came with Windows 2000 Server, the metabase was stored in a single binary file called metabase.bin. In IIS 6.0, the metabase is now stored in two XML files. These XML files are stored in %systemroot%\system32\inetsrv.
IIS 6.0 has had some process management changes and improved administrative features.
Configuring Web Server Properties
When you look at IIS for the first time you will see the default sites and services listed on the left side. They are outlined below.
LAB ACTIVITY - Do the lab on page 529. (10 Minutes)
You can right click on Web Sites and bring up the Master Properties for all the sites. This will allow you to change the setting in multiple sites at once. If you change a setting that conflicts with a setting on a lower site it will ask you if you want to change the settings.
LAB ACTIVITY - Do the lab on page 533. (10 Minutes)
Creating and Configuring Web-Site Virtual Servers
You can have your web server host multiple websites. In order for a single server to host multiple websites you must have a way to uniquely identify the different sites. This can be done one of three ways.
LAB ACTIVITY - Do the lab on page 534. (20 Minutes)
In the next lab you use built in script files to create a new web.
LAB ACTIVITY - Do the lab on page 537. (10 Minutes)
Modifying Web-Site Properties
Once a web is created you can use the web-site properties page to change the settings. These settings override the master properties. The tabs that are available to you in the web site properties page are outlined below from the book.
LAB ACTIVITY - Do the lab on page 540. (15 Minutes)
Creating Virtual Directories
Virtual directories allow you to have a folder that resides outside of your web available to users browsing your web site. For example, http://www.cis131.com/forums may reside on a different server. When you browse to that URL a virtual directory will redirect you to the server that contains the forums.
LAB ACTIVITY - Do the lab on page 542. (15 Minutes)
Configuring Authentication for Web Sites
When you access a web site that resides on an IIS server, you need to be authenticated. There are five ways you can be authenticated in IIS 6.0.
LAB ACTIVITY - Do the lab on page 547. (10 Minutes)
Configuring Server Certificates and Secure Sockets Layer
In order to have users access your site securely you need to obtain and install a certificate from a certificate Authority (CA). Once installed the enable communication using Secure Sockets Layer (SSL) on port 443. This is all done on the Directory Security tab of the site properties page.
Configuring FTP Virtual Servers
File Transfer Protocol
FTP is a way to transfer files from one place to another. It utilizes to ports to perform the transfer, ports 20, and 21. Port 21 is the primary port used to establish the connection, and 20 is used to transmit data. FTP uses TCP to communicate which means it is a connection oriented protocol. An FTP client is used to communicate with an FTP server.
Configuring FTP Properties
Just like with Web, you can configure the master properties or each FTP site individually. The properties page for a FTP site has five tabs that are outlined below from the book.
LAB ACTIVITY - Do the lab on page 554. (15 Minutes)
Creating an FTP Site Virtual Server
You can create FTP sites using the wizard, or using the built in scripts.
LAB ACTIVITY - Do the lab on page 555. (20 Minutes)
Updating and Maintaining Security For an IIS Server
You can control permissions for your Web sites using NTFS permissions or IIS permissions. IIS permissions apply to everyone.
LAB ACTIVITY - Do the lab on page 559. (10 Minutes)
IP Address and Domain Name Security
You can grant or deny access to your Web by using IP addresses or domain names. This is done in the Directory Security section. If you enable filtering by domain name the web server will be forced to do a reverse DNS lookup on each request which can hurt performance.
LAB ACTIVITY - Do the lab on page 560. (10 Minutes)
Starting and Stopping Services
The IISReset command can be user to restart the IIS services. You can also stop and start individual web sites.
Backing Up the IIS Configuration
You can backup the metabase any one of a number of different ways.
Previous version of the metabase are stored in %systemroot%\system32\inetsrv\History
LAB ACTIVITY - Do the lab on page 562. (10 Minutes)
Updating IIS 6.0
Apply all service packs and hot fixes.
Creating and Modifying Web Folders
Web folders allow you to share out folders from a server onto a website. Web folders are accessible through My Network Places, Internet Explorer, or application such as Office XP/2003.
LAB ACTIVITY - Do the lab on page 566. (10 Minutes)
Installing and Using Remote Administration (HTML) Tools
This lets you manage the server from a web page. This has to be installed manually. We will look at the together.
LAB ACTIVITY - Do the lab on page 568. (15 Minutes)
Installing and Configuring Internet Printing
In chapter 8 we learned about printing, one of the topics we briefly touched on was Internet Printing. Internet Printing allows you to configure the printer server settings and monitor it from a web page.
LAB ACTIVITY - Do the lab on page 571. (15 Minutes)
Troubleshooting Web Client Connectivity Problems
When users cannot access your website there are a number of things that could cause this problem. Below is a list of things that you can check.
On the server side you can try the following.
Click Here to download the slides for this chapter