Microsoft KB Archive/301392

From BetaArchive Wiki

Article ID: 301392

Article Last Modified on 11/21/2006



APPLIES TO

  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0



This article was previously published under Q301392

We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:


SUMMARY

This step-by-step article describes how to use Internet Services Manager to create a new virtual Web site that has IP address.

Requirements

The following list outlines the recommended hardware, software, network infrastructure, and service packs that you will need:

  • A Windows Web server that is running either Internet Information Server (IIS) 4.0 or IIS 5.0.
  • A root Web site (in this example, the default Web site).
  • Administrative rights on the server computer.

Create the content folder

Note If you have already created a content folder, skip this section and continue to the "Create the virtual Web site" section.

  1. Right-click Start and then click Explore to open Windows Explorer.
  2. Select the drive in which you want to put the content folder for the new Web site.
  3. Click File, point to New, and then click Folder.
  4. When the folder is created, the title area will be highlighted. Type the name that you want to give the folder (such as Webcontent). Press ENTER.
  5. Click File and then click Close to close Windows Explorer.

Create the virtual Web site

  • For IIS 4.0:
    1. Click Start, point to Programs, select Windows NT 4.0 Option Pack, point to Microsoft Internet Information Services, and then click Internet Services Manager.


Note Do not click HTML.

    1. In the left pane, right-click Default Web Site, point to New, and then click Virtual Directory.
    2. In the first screen of the Virtual Directory Creation Wizard, type a name for the site (such as "Mywebsite"), and then click Next.
    3. In the second screen, click Browse. Browse the content folder that you created in section 2 (in this example, it is "Webcontent"). Click Next.
    4. In the third screen, select Read and Run scripts (such as ASP). Make sure that the other check boxes are cleared. Click Finish to complete the wizard.
    5. Right-click the new virtual folder, and then click Properties.
    6. Click Virtual Directory and make sure that the Web site name is listed in the Application Name text box under Application Settings. If the Web site is not listed, click Create.
    7. Close the Properties dialog box, and close IIS.
  • FOR IIS 5.0:
    1. Click Start, point to Programs, select Administrative Tools, and then click Internet Services Manager.
    2. In the left pane, right-click Default Web Site, point to New, and then click Virtual Directory.
    3. In the first screen of the Virtual Directory Creation Wizard, type a name for the site (such as "Mywebsite"), and then click Next.
    4. In the second screen, click Browse. Browse the content folder that you created in section 2 (in this example, it is Webcontent). Click Next.
    5. In the third screen, select Read and Run scripts (such as ASP). Make sure that the other check boxes are cleared. Click Finish to complete the wizard.
    6. Right-click the new virtual folder, and then click Properties.
    7. Click Virtual Directory and make sure that the Web site name is listed in the Application Name text box under Application Settings. If the Web site name is not listed, click Create.
    8. Close the Properties dialog box and close IIS.


Keywords: kbhowto kbhowtomaster KB301392