Microsoft KB Archive/300991

= How To Create a New Virtual Web Site with Its Own IP Address in Internet Information Services =

Article ID: 300991

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 Q300991



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:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



IN THIS TASK
SUMMARY Requirements How to Create the Content Folder How to Create the Virtual Web Site on IIS 4.0 or IIS 5.0
 * IIS 4.0
 * IIS 5.0



SUMMARY
This article explains how to use Internet Services Manager to create a new virtual Web site that has its own IP address.

back to the top

Requirements

 * A static Internet Protocol (IP) address for the Web site to use.
 * A Windows Web server that is running either Internet Information Server (IIS) 4.0 or Internet Information Services (IIS) 5.0.
 * Administrative rights on the server computer.

back to the top

How to Create the Content Folder
NOTE: If you have already created a folder that you want to use as the content for your new Web site, you can skip this section and proceed to the next section.
 * 1) Right-click the Windows Start menu, and then click Explore to open Windows Explorer.
 * 2) Click the drive in which you want to place the content directory for the new Web site.
 * 3) On the File menu, point to New, and then click Folder.
 * 4) Type a name for the folder (for example, type Webcontent ), and then press ENTER key.
 * 5) On the File menu, click Close to close Windows Explorer.

back to the top

How to Create the Virtual Web Site on IIS 4.0 or IIS 5.0
To create the virtual Web site on IIS 4.0 or IIS 5.0, use the steps in one of the following sections.

back to the top

IIS 4.0
 On the Start menu, point to Programs, point to Windows NT 4.0 Option Pack, point to Microsoft Internet Information Services, and then click Internet Services Manager.

NOTE: Do not click Internet Services Manager (HTML). In the Console tree in the left pane, right-click your computer name, point to New, and then click Web Site. On the first page of the Web Site Creation Wizard, type a name for the site (for example, type mywebsite ), and click Next. On the second page, in the Enter the IP address drop-down list box, click the IP address that you have assigned to this Web site. Leave the Port number at the default (which is normally 80). If you do not have Secure Sockets Layer (SSL) on the server, the SSL Port text box is unavailable (grayed out); otherwise, the default is 443. Click Next.

For more information about IP addressing, Host Headers, and SSL, see IIS Help at the following location on your IIS computer:

http://localhost/iisHelp/iis/misc/default.asp

 On the third page, click Browse. Browse to the content folder that you created in Section 2 (for example, the Webcontent folder). If this Web site is intended for public use, make sure that the Allow anonymous access to this Web Site check box is selected. If this Web site is meant to be available to specific users only, clear this check box. Click Next. On the fourth page, select the Read and Run scripts (such as ASP) check boxes. Make sure that the other check boxes are cleared. Click Finish to complete the wizard.</li></ol>

back to the top

IIS 5.0
<ol> On the Start menu, point to Programs, point to Administrative Tools, and then click Internet Services Manager.</li> In the Console tree in the left pane, right-click your computer name, point to New, and then click Web Site.</li> On the first page of the Web Site Creation Wizard, click Next.</li> On the second page, type a name for the site (for example, type mywebsite ), and then click Next.</li> On the third page, in the Enter the IP address drop-down list box, click the IP address that you have assigned to this Web site. Leave the Port number at the default (which is normally 80), and leave the Host Header for this site text box blank. Click Next.

For more information about IP addressing, Host Headers, and SSL, see IIS Help at the following location on your IIS computer:

http://localhost/iisHelp/iis/misc/default.asp

</li> On the fourth page, click Browse. Browse to the content folder that you created in Section 2 (for example, the Webcontent folder). If this Web site is intended for public use, make sure that the Allow anonymous access to this Web Site check box is selected. If this Web site is intended to be available to specific users only, clear this check box. Click Next.</li> On the fifth page, select the Read and Run scripts (such as ASP) check boxes. Make sure that the other boxes are cleared. Click Next, and then click Finish to complete the wizard.</li></ol>

back to the top

Keywords: kbhowto kbhowtomaster KB300991

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.