Creating Web Sites in IIS 6.0

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

After you configure DNS, create the directories, and populate the directories with temporary content, you need to create the Web sites. You can use IIS Manager to create Web sites, or you can use the Iisweb.vbs command-line script, which is stored in the systemroot\System32 folder.

When you use Iisweb.vbs to create a Web site, you specify only the basic properties that are needed to create the site and identify its contents. Iisweb.vbs uses the same default properties that IIS Manager uses when creating new Web sites, and it adheres to the same rules for inheriting properties. For more information about default Web site properties, see Configuring Internet Sites and Services. For more information about Iisweb.vbs, including command syntax, see Creating Web Sites Using Iisweb.vbs. For example, to create a Web site on the local computer using the directory specified in the preceding sample scripts, at a command prompt, type iisweb /create c:\web\user\domain contoso.com /d www.contoso.com.

Creating Web Sites Remotely

To create a Web site on a remote computer, type /s Serverafter the /create parameter, where Server is the name of the target computer. To specify the IP address of the target computer, type /i IPAddress after the /s parameter, whereIPAddress is the IP address.