Apply Your Knowledge
Exercises
Exercise 3.1: Creating a New Web Site
This exercise demonstrates how to create a new Web site that will be used for the administrator only. The site will be established on a private port and will require authentication.
Estimated Time: 10 minutes
From the Start menu select Settings, Control Panel.
Double-click Administrative Tools and Internet Services Manager.
Click the plus sign to the left of the computer name to display a listing of Web and FTP sites.
Right-click the computer and select New, Web Site from the context menu.
Click the Next button to move past the introductory screen.
Enter a description for the Web site. In this case, enter Administrators Private Web.
Click the Next button to move to the IP Address and Port Settings dialog box.
Select the TCP port of 8081 for the Web server.
Click the Next button to move to the home directory step.
Select the path that will be the home directory for the Web site. In this case, use C:\inetpub.
Uncheck Allow Anonymous Access to This Web Site.
Click the Next button to select the permissions.
Click the Next button, and then click the Finish button to complete the wizard.
Close the Internet Information Services window.
Review Questions
What types of sites will IIS allow you to serve?
Why would you use a virtual server?
What does a virtual directory do?
What is a proxy server?
Exam Questions
-
You've just created a new Web site, but when you completed the wizard the site is stopped. What is the most likely cause of this?
-
The World Wide Web service is stopped.
-
The IIS Admin service is stopped.
-
The site you created is not uniquely identifiable.
-
You selected an invalid TCP port.
-
You're accessing a URL, http://serverA/MyMusic, from a browser. You go to the site to find that the Web server's home directory is C:\WebHome. No corresponding folder called C:\WebHome\MyMusic exists. What is the most likely cause?
-
The server is looking at the client's C:\WebHome directory.
-
A virtual directory called MyMusic is defined.
-
A virtual directory pointing to C:\MyMusic is defined.
-
A virtual Web site, /MyMusic, is defined on the server.
-
While surfing your Web site, you are suddenly prompted for a password. When you refuse to provide one, you receive an access denied message. The message includes the keyword ACL. Why were you prompted for a password?
-
You disabled anonymous access on the Web site.
-
You disabled anonymous access on the directory.
-
You removed the IWAM_SERVER user from the access control list on the directory or file.
-
You removed the IUSR_SERVER user from the access control list on the directory or file.
-
You've created a Web site on a server named ServerA. You created the Web site on port 80. What is the correct URL to reference the directory XYZ?
-
http://serverA/XYZ
-
http://serverA:80/XYZ
-
http://ServerA/XYZ:80
-
http:80//serverA/XYZ
-
What is the best way of ensuring that passwords are never sent via clear text to a Web server?
-
Disable anonymous access. Enable integrated Windows authentication.
-
Obtain and implement an SSL certificate. Turn on basic authentication.
-
Turn on integrated Windows authentication. Turn off basic authentication.
-
Turn off anonymous access. Turn off basic authentication. Turn on integrated Windows authentication.
-
You've set up a Web server for the accounting group, and because of security concerns you've limited the IP addresses that can access the server to the subnet used by the accounting group. The CFO connects via the VPN server and wants to know why he's unable to connect to the accounting Web server. What do you tell him?
-
Web connections are not supported across a VPN.
-
You didn't enable VPN support on the Web server. You'll make the change shortly.
-
He needs to set his IP address to one of the accounting group IP addresses.
-
Because his IP address isn't one of the authorized accounting group IP addresses, he will not be able to access the Web site.
-
The Web developers in your company have just turned over a Web site that you have to install on a Windows 2000 server. You create the Web site and then try to test the Web site. You receive an error when trying to access MYAPP.DLL. What is the most likely cause of the problem?
-
You do not have read permission to the file or directory.
-
You don't have script access to the file or directory.
-
You don't have execute permission to the file or directory.
-
The default document type is set wrong.
-
You've been called in to fix a problem with Internet Explorer. IE can't connect to any server on the network or on the Internet. You've tried referring to the servers by their IP addresses. What are the likely causes? (Choose all that apply.)
-
Network connection failure.
-
TCP/IP default gateway is misconfigured.
-
The proxy server is down.
-
The proxy settings are incorrect.
-
You've been called in because a user is complaining that he can't reach http://www.playboy.com. All other Web sites he is trying seem to work. As it turns out, this employee needs to download an article from the Playboy Web site. What is the most likely cause of the problem?
-
Network connection failure.
-
The proxy server has http://www.playboy.com blocked.
-
The proxy settings in Internet Explorer are wrong.
-
There is a name resolution failure.
-
Two weeks ago you created a virtual Web site in anticipation of a new Web site that the company wants to launch. It was working fine when you created it, loaded the content, and stopped itto prevent people from getting access to it too soon. However, now when you try to start the Web site you receive an error message and the site refuses to start. What is the most likely cause?
-
Another Web site has been created and started since the site was created. The new Web site has the same parameters as the Web site created two weeks ago.
-
The Web site was created before a service pack was applied. After service packs are applied, all Web sites need to be deleted and re-created.
-
Another machine on the network has started using the IP address assigned to the Web site so the site can't start.
-
You can start and stop a Web site only once per reboot. You must reboot the server.
-
Some consultants are trying to use Netscape 4.7 to access one of the company Web sites and are reporting problems. What is the most likely cause?
-
Internet Information Services is not compatible with Netscape browsers.
-
The proxy settings in Netscape are incorrect.
-
The proxy server is down.
-
Basic authentication is turned off, and anonymous access is turned off.
-
Which users or groups can be used to specify anonymous access to files and directories accessed via a Web server? (Select all that apply.)
-
Everyone
-
Users
-
IUSR_SERVER
-
IWAM_SERVER
-
Joe has been able to use a Web server for the past two years. He has just moved to a new building on campus and is having trouble using one of the Web servers. He's not having trouble with any other network services. What is the most likely cause?
-
Joe's proxy settings are wrong.
-
Joe's TCP/IP configuration is wrong.
-
Joe's name resolution settings are wrong.
-
The Web server has IP address restrictions in effect.
-
You just renamed a server from DAPDev to DapProd, and users are now reporting that they are receiving a dialog box when they try to access the Web site on the machine. What is the most likely reason?
-
The Web sites must be re-created after renaming the server.
-
The SSL certificate has the wrong common name.
-
The DNS information for the server needs to be updated.
-
The DHCP server has to be updated to reflect the name change.
-
A user is trying to upload a file to an FTP site. She's receiving an error. What are the most likely causes? (Pick two.)
-
The user does not have write permission to the directory.
-
The FTP site is not enabled for write access.
-
The FTP server does not support the PUT command.
-
You can't upload files to FTP servers.
Answers to Review Questions
IIS will serve FTP and Web (HTTP) sites. You can create as many sites as you want, but all of them running at any given moment must be capable of being uniquely identified.
Virtual servers enable you to service multiple FTP or Web sites from one physical server. This is important and useful when you maintain several Web sites that don't require the resources of a server on their own. Virtual servers enable multiple Web or FTP sites to share the resources of one piece of hardware.
Virtual directories enable you to present a hierarchy on the sites being served, which doesn't exist on disk. This is useful when large amounts of information are serviced from one Web site.
A proxy server is a device that allows Internet connectivity by performing operations as an intermediary between the internal clients and external Internet host. Proxy servers allow a much broader range of audit and control facilities than a firewall in addition to their caching benefits. They are often used by corporations that need to control or monitor the Internet access in the organization.
Answers to Exam Questions
C. Each site requires a set of IP address, TCP port, and host header parameters to enable it to be uniquely identified when a request comes in. If another Web site has the same parameters as the Web site being created, the site is created but left in the stopped state.
B. Virtual directories enable you to create Web sites that are not mirrored in the directory structure on the server. A is incorrect because a Web server never gets content from a client. C is incorrect because where the virtual directory is pointing is immaterial to how it will be referenced from the site. D is incorrect because Web sites are defined at the root of the server. You can't define a server that starts in the /MyMusic directory.
D. If you remove the IUSR_SERVER user from the access control list on a file or directory, IIS is forced to try to get other authentication informationeven if anonymous access is enabled. A and B are incorrect because an error message indicating that there is a problem due to an ACL on resource indicates that it is an ACL issue. Option C is incorrect because it is the IUSR_SERVER account that is used by anonymous users, not IWAM_SERVER account.
A. TCP port 80 is the default for HTTP traffic, and because of that it doesn't need to be specified. The correct syntax of a URL with a port number defined is shown in option B. The other syntaxes showing where the port number is provided are incorrect.
B. The only way to ensure that a client Web browser never submits a clear password is to use SSL. Even if you turn off basic authentication, some browsers will attempt basic authentication if they can't perform integrated Windows authentication. A is also incorrect because you should not change anonymous access settings. Anonymous access might be required for error pages or other special purpose pages. C and D are incorrect because they won't prevent a browser from trying basic authentication.
D. When limiting a Web site to access by a certain number of IP addresses, it's important to realize that ONLY those IP addresses will work. A is incorrectVPN connections support all types of traffic. B is incorrect because no special settings are needed to enable VPN access to a Web server. C is incorrect because the CFO can't change his VPN server assigned IP addressor his home computer's IP addresswithout causing the VPN to fail.
C. To execute ISAPI DLLs or CGI executables, you must have execute access to the Web site. If you didn't have read permission to the file, as suggested in A, you would receive a security warning message and you wouldn't receive it just on the DLL. Because a DLL is not considered a script, B is inappropriate. D is incorrect because, if the default document was incorrect, nothing would have loaded and the error would have been directory listing denied.
A, D. If the entire network connection is down or the proxy settings are incorrect, you can see the inability to browse Web sites in IE. B is incorrect because a default gateway problem wouldn't explain the incapability to reach local servers. Because local network machines are also affected by the problem, TCP/IP configuration problems are unlikely.
B. Proxy servers are used, in part, for their capability to selectively block Web sites based on content. Because other servers are working, none of the other options are appropriate. They would cause failures for every site, not just one.
A. The most common reason a Web site won't start is because another Web site is running on the same machine with the same parameters. This site either was not started when the site was created or was created after the site created two weeks ago. B is incorrectyou do not need to re-create Web sites after the installation of a service pack. C is incorrect because this would cause a pop-up message on the console; it wouldn't prevent the site from starting. D is incorrectyou can stop and restart a Web server as many times as is necessary.
D. Netscape browsers do not support Windows integrated authentication. They must have digest authentication or basic authentication turned on. (Digest authentication requires passwords encrypted with two-way encryption, which is not available by default.) B and C are incorrect because internal access to internal servers would bypass proxy servers. A is incorrect because IIS is compatible with Netscape.
A, C. The Everyone special group includes everyoneusers, guests, and so on. Because of that, it will include the IUSR_SERVER account. The IUSR_SERVER account is the account IIS uses for anonymous access. B is incorrect because IUSR_SERVER is not a member of the users group. D is incorrect because IWAM_SERVER is the process account IIS uses when it runs processes in their own protected memory. It has nothing to do with anonymous logons.
D. Joe's IP address probably changed because of the new building. (It's rare that multiple buildings are on one subnet.) It's possible that the Web site has a limited range of IP addresses from which it would accept requests. A is incorrect because a local Web server would normally bypass the proxy server. B and C are incorrect because they would impact all network services, not just a single Web site.
B. When an SSL certificate is issued, it is issued to a specific common name, or in other words, a specific DNS name. When that name changes the certificate warns the client that the name doesn't match the name in the certificate any longer. This is to protect the user. A is incorrectWeb servers do not need to be re-created after a server is renamed. C is incorrect because it appears that the clients were connected with the server and thus name resolution worked. D is incorrectDHCP is not involved with the renaming of a server.
A, B. The two most common causes for not being able to write to an FTP directory are that the user who logged in to the FTP server does not have write access to the directory she is are trying to upload into and that the FTP server does not have write access enabled. The PUT command is the standard command for uploading a file and is supported by IIS, so C is incorrect. D is incorrect because FTP sites are designed to download and upload files.