How to create a virtual folder (subweb) in IIS 4.0 or in IIS 5.0

Article translations Article translations
Article ID: 301392
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx
For more information about IIS 7.0, visit the following Microsoft Web site:
http://www.iis.net/default.aspx?tabid=1
Expand all | Collapse all

On This Page

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.
    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 is not listed, click Create.
    8. 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.

Properties

Article ID: 301392 - Last Review: June 19, 2014 - Revision: 4.0
Keywords: 
kbhowtomaster KB301392

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com