Consultor Eletrônico



Kbase P51871: How to Create a New Virtual Web Site with Its Own IP Address
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/11/2003
Status: Unverified

GOAL:

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

GOAL:

How to create a new virtual website from IIS?

FACT(s) (Environment):

IIS 4.0

FACT(s) (Environment):

IIS 5.0

FIX:

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


2. Create the Virtual Web Site on IIS 4.0 or IIS 5.0

IIS 4.0

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

(2) In the Console tree in the left pane, right-click your computer name, point to New, and then click Web Site.

(3) On the first page of the Web Site Creation Wizard, type a name for the site (for example, type mywebsite), and click Next.

(4) On the second page, in the Enter the IP address drop-down list box, click the
(5) 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

(6) 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.

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


IIS 5.0

(1) On the Start menu, point to Programs, point to Administrative Tools, and then click Internet Services Manager.

(2)In the Console tree in the left pane, right-click your computer name, point to New, and then click Web Site.

(3) On the first page of the Web Site Creation Wizard, click Next.
On the second page, type a name for the site (for example, type mywebsite), and then click Next.

(4) 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

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

(6) 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.