Creating Web or FTP Sites

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

IIS creates a default Web site configuration on your hard disk at the time of installation. You can use the \Inetpub\Wwwroot directory to publish your Web content, or create any directory or virtual directory you choose. The File Transfer Protocol (FTP) service must be installed and started in order to create an FTP site. It is not installed by default.

Creating a Web or FTP site using IIS Manager does not create content, but merely creates a directory structure and configuration files from which to publish the content.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

Procedures

To use the default Web site

  1. In IIS Manager, expand the local computer, expand the Web Sites folder, right-click Default Web Site, and then click Properties.

  2. On the Web Site tab, under Web site description, type the name of your Web site in the Description box.

  3. Click OK. The name of the new site appears in IIS Manager.

To create a new Web site

  1. In IIS Manager, expand the local computer, right-click the Web Sites folder, point to New, and then click Web Site. The Web Site Creation Wizard appears.

  2. Click Next.

  3. In the Description box, type the name of your site, and then click Next.

  4. Type or click the IP address (the default is All Unassigned), TCP port, and host header (for example, www.mysite.com) for your site, and then click Next.

    Important

    To help ensure that user requests reach the correct Web site, configure a unique identity for each site on the server by distinguishing each Web site with at least one of three unique identifiers: a host header name, an IP address, or a TCP port number.

    Note

    Using unique host header names is the preferred way to identify multiple Web sites on a single server. For more information about choosing unique identifiers, see Hosting Multiple Web Sites on a Single Server and Adding Web Sites to Your Server in the IIS 6.0 Operations Guide, which is accessible from IIS Manager.

  5. In the Path box, type or browse to the directory that contains, or will contain, the site content, and then click Next.

  6. Select the check boxes for the Web site access permissions you want to assign to your users, and then click Next.

  7. Click Finish.

To change these and other settings later, right-click the Web site, and click Properties.

To install FTP services

  1. From the Start menu, click Control Panel.

  2. Double-click Add or Remove Programs.

  3. Click Add/Remove Windows Components.

  4. From the Components list box, click Application Server, and then click Details.

  5. From the Subcomponents of Application Server list box, click Internet Information Services (IIS), and then click Details.

  6. From the Subcomponents of Internet Information Services list box, select the File Transfer Protocol (FTP) Service check box.

  7. Click OK twice.

  8. Click Next. You might be prompted for the Windows Server 2003 family CD or the network install path.

  9. Click Finish, and then click Close.

Note

IIS Manager creates a default FTP site during the FTP services installation. You can use the \Inetpub\Ftproot directory to publish your content, or you can create another directory.

To create a new FTP site

  1. In IIS Manager, double-click the local computer, right-click the FTP Sites folder, point to New, and then click FTP Site.

  2. Click Next.

  3. In the Description box, type the name of your site, and then click Next.

  4. Type or click the IP address (the default is All Unassigned) and TCP port for your site, and then click Next.

  5. Click the user isolation option you want, and then click Next.

  6. In the Path box, type or browse to the directory that contains or will contain shared content, and click Next.

  7. Select the check boxes for the FTP site access permissions you want to assign to your users, and then click Next.

  8. Click Finish.

To change these and other settings later, right-click the FTP site, and then click Properties.

  • For more information about configuring Web sites, see Web Site Setup.

  • For more information about configuring FTP sites, see FTP Site Setup.