During installation of Internet Information Services (IIS), a default home directory and Web site configuration are created on your hard disk. Similarly, creating a Web site by using IIS Manager does not create content, but merely creates a directory structure and configuration files from which to 23523r1717x publish the content To publish your Web content, you can place content in the default home directory, or you can create a different home directory or virtual directory and place content there.
u· Credentials: Membership in the Administrators group on the
local computer.
u· Tools: Iis.msc.
As a security best practice, log on to your computer using an account that is not in the Administrators group, and then use the Run as command to run IIS Manager as an administrator. At the command prompt, type runas /user:administrative_accountname "mmc %systemroot%\system32\inetsrv\iis.msc".
|
To use the default Web site
In IIS Manager, expand the local computer, and expand the Web Sites folder.
Right-click Default Web Site, and select Properties.
On the Web Site tab, under Web site identification, type the name of your Web site in the Description box.
Click OK. The new name of the site appears in IIS Manager.
|
To create a new Web site
In IIS Manager, expand the local computer, and right-click the Web Sites folder.
Select New, and then click Web Site. The Web Site Creation Wizard appears.
Click Next.
In the Description box, type a name for your site, and then click Next.
Type or select the IP address (the default is All Unassigned), TCP port, and host header (for example, www.mysite.com) for your site.
Click Next.
In the Path box, type the name of the directory or click Browse to navigate to the directory that contains, or will contain, the site content.
Click Next.
Select the check boxes for the Web site access permissions you want to assign to your users, and then click Next.
Click Finish.
o change these and other settings later, right-click the Web site, and select Properties.
|