Introduction
You can perform this procedure by using the IIS
Manager User interface (UI), by running Appcmd.exe commands in the Command
Prompt window, by editing configuration files directly, or by writing Windows® Management
Instrumentation (WMI) scripts. Here is the small procedure to create/add
a website using UI.
Steps:
a) Open
IIS Manager. Go to “Start” – type “IIS” in “Search programs and Files” or go to “Run” – type “inetmgr” –
Press “Enter” or search for “Internet Information Services (IIS) Manager”
in “All Programs”.
b) In
the “Connections” pane, right-click the “Sites” node in the tree, and then
click “Add Web Site”.
c) In
the “Add Web Site” dialog
box, type a friendly name for your Web site in the Web site name box.
d) Click Select if
you want to select a different application pool than the one listed in the Application
Pool box. In the Select Application Pool dialog box,
select an application pool from the Application Pool list and
then click OK.
e) In
the Physical path box, type the physical path of the Web
site's folder, or click the browse button (...) to navigate the file
system to find the folder.
f) If
the physical path that you entered in step 5 is to a remote share, click Connect
as to specify credentials that have permission to access the path. If
you do not use specific credentials, select the Application user
(pass-thru authentication) option in the Connect As dialog
box.
g) Select
the protocol for the Web site from the Type list.
h) The
default value in the IP address box is All Unassigned.
If you must specify a static IP address for the Web site, type the IP address
in the IP address box.
i) Type
a port number in the Port text box.
j) Optionally,
type a host header name for the Web site in the Host Header box.
k) If
you do not have to make any changes to the site, and you want the Web site to
be immediately available, select the Start Web site immediately check
box.
l) Click OK.



No comments:
Post a Comment