Home > Articles

This chapter is from the book

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

  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

    3. IUSR_SERVER

    4. IWAM_SERVER

  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.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020