Home > Articles

  • Print
  • + Share This
This chapter is from the book

Apply Your Knowledge


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

  1. From the Start menu select Settings, Control Panel.

  2. Double-click Administrative Tools and Internet Services Manager.

  3. Click the plus sign to the left of the computer name to display a listing of Web and FTP sites.

  4. Right-click the computer and select New, Web Site from the context menu.

  5. Click the Next button to move past the introductory screen.

  6. Enter a description for the Web site. In this case, enter Administrators Private Web.

  7. Click the Next button to move to the IP Address and Port Settings dialog box.

  8. Select the TCP port of 8081 for the Web server.

  9. Click the Next button to move to the home directory step.

  10. Select the path that will be the home directory for the Web site. In this case, use C:\inetpub.

  11. Uncheck Allow Anonymous Access to This Web Site.

  12. Click the Next button to select the permissions.

  13. Click the Next button, and then click the Finish button to complete the wizard.

  14. Close the Internet Information Services window.

Review Questions

  1. What types of sites will IIS allow you to serve?

  2. Why would you use a virtual server?

  3. What does a virtual directory do?

  4. What is a proxy server?

Exam Questions

  1. 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?

    1. The World Wide Web service is stopped.

    2. The IIS Admin service is stopped.

    3. The site you created is not uniquely identifiable.

    4. You selected an invalid TCP port.

  2. 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?

    1. The server is looking at the client's C:\WebHome directory.

    2. A virtual directory called MyMusic is defined.

    3. A virtual directory pointing to C:\MyMusic is defined.

    4. A virtual Web site, /MyMusic, is defined on the server.

  3. 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?

    1. You disabled anonymous access on the Web site.

    2. You disabled anonymous access on the directory.

    3. You removed the IWAM_SERVER user from the access control list on the directory or file.

    4. You removed the IUSR_SERVER user from the access control list on the directory or file.

  4. 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?

    1. http://serverA/XYZ

    2. http://serverA:80/XYZ

    3. http://ServerA/XYZ:80

    4. http:80//serverA/XYZ

  5. What is the best way of ensuring that passwords are never sent via clear text to a Web server?

    1. Disable anonymous access. Enable integrated Windows authentication.

    2. Obtain and implement an SSL certificate. Turn on basic authentication.

    3. Turn on integrated Windows authentication. Turn off basic authentication.

    4. Turn off anonymous access. Turn off basic authentication. Turn on integrated Windows authentication.

  6. 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?

    1. Web connections are not supported across a VPN.

    2. You didn't enable VPN support on the Web server. You'll make the change shortly.

    3. He needs to set his IP address to one of the accounting group IP addresses.

    4. Because his IP address isn't one of the authorized accounting group IP addresses, he will not be able to access the Web site.

  7. 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?

    1. You do not have read permission to the file or directory.

    2. You don't have script access to the file or directory.

    3. You don't have execute permission to the file or directory.

    4. The default document type is set wrong.

  8. 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.)

    1. Network connection failure.

    2. TCP/IP default gateway is misconfigured.

    3. The proxy server is down.

    4. The proxy settings are incorrect.

  9. 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?

    1. Network connection failure.

    2. The proxy server has http://www.playboy.com blocked.

    3. The proxy settings in Internet Explorer are wrong.

    4. There is a name resolution failure.

  10. 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 it—to 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?

    1. 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.

    2. 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.

    3. Another machine on the network has started using the IP address assigned to the Web site so the site can't start.

    4. You can start and stop a Web site only once per reboot. You must reboot the server.

  11. 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?

    1. Internet Information Services is not compatible with Netscape browsers.

    2. The proxy settings in Netscape are incorrect.

    3. The proxy server is down.

    4. Basic authentication is turned off, and anonymous access is turned off.

  12. Which users or groups can be used to specify anonymous access to files and directories accessed via a Web server? (Select all that apply.)

    1. Everyone

    2. Users



  13. 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?

    1. Joe's proxy settings are wrong.

    2. Joe's TCP/IP configuration is wrong.

    3. Joe's name resolution settings are wrong.

    4. The Web server has IP address restrictions in effect.

  14. 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?

    1. The Web sites must be re-created after renaming the server.

    2. The SSL certificate has the wrong common name.

    3. The DNS information for the server needs to be updated.

    4. The DHCP server has to be updated to reflect the name change.

  15. 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.)

    1. The user does not have write permission to the directory.

    2. The FTP site is not enabled for write access.

    3. The FTP server does not support the PUT command.

    4. You can't upload files to FTP servers.

Answers to Review Questions

  1. 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.

  2. 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.

  3. 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.

  4. 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

  1. 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.

  2. 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.

  3. 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 information—even 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.

  4. 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.

  5. 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.

  6. 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 incorrect—VPN 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 address—or his home computer's IP address—without causing the VPN to fail.

  7. 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.

  8. 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.

  9. 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.

  10. 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 incorrect—you 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 incorrect—you can stop and restart a Web server as many times as is necessary.

  11. 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.

  12. A, C. The Everyone special group includes everyone—users, 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.

  13. 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.

  14. 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 incorrect—Web 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 incorrect—DHCP is not involved with the renaming of a server.

  15. 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.

  • + Share This
  • 🔖 Save To Your Account