Export (0) Print
Expand All

Add Web Site Dialog Box

Applies To: Windows Server 2008 R2

Use the Add Web Site dialog to add a new Web site to your Web server. Web sites have bindings that consist of a port number, an IP address, and an optional host name or names.

UI Element List

 

Element Name Description

Site name

Type a friendly name for your site. The friendly name appears in the tree of IIS Manager and can be changed later if you want to rename the site.

noteNote
The site name must be a unique name, because you cannot have sites that have the same name on an IIS 7 Web server.

Application pool

Displays the selected application pool for the site. When you type a Web site name, a new application pool will be created with the same name as the site (up to 64 characters maximum). The application pool will be configured to use .NET Framework version 2.0 and the integrated pipeline mode by default. You can edit the settings for this application pool later or select a different application pool for your site.

Select

Opens the Select Application Pool dialog box from which you can select the application pool in which the site will run.

Physical path

Type the physical path where the site content is stored. The content can reside on the local computer or come from a remote directory or share. If your content is stored on the local computer, type the physical path, such as C:\Content. If your content is stored in a remote share, type the Universal Naming Convention (UNC) path, such as \\Server\Share.

Optionally click Connect as to specify credentials to connect to the physical path. If you do not provide credentials, the Web server will use pass-through authentication. This means that content will be accessed by using the application user's identity, and configuration files will be accessed by using the application pool's identity.

Opens the Browse for Folder dialog box from which you can select the physical location of your site content.

Connect as

Opens the Connect As dialog box from which you can select how to connect to the path that you typed in the Physical path box. By default, Application user (pass-through authentication) is selected.

Test Settings

Opens the Test Settings dialog box from which you can view a list of test results to assess whether the path settings are valid.

Type

Select HTTP if you want the Web site to have an HTTP binding, or select HTTPS if you want the Web site to have a Secure Sockets Layer (SSL) binding.

IP address

Select an IP address from the IP address list or type an IP address that users can use to access this site.

noteNote
The percent symbol (%) is not a valid character for IP addresses. If you type an IPv6 address with this character, Windows Process Activation Service (WAS) will be unable to start the site because the binding is invalid. For example, the link-local IPv6 address ends with "%8". If you copy this address from an ipconfig query in a command window and paste it into the IP address box in IIS Manager, make sure to remove the "%8" portion of the IP address.

If you select All Unassigned, this site will respond to requests for all IP addresses on the port and optional host name that you specify for this site, unless another site on the server has a binding on the same port but with a specific IP address.

For example, the Default Web Site binding specifies All Unassigned for IP address, 80 for Port, and no host name. If the server has a second site named Contoso with a binding that specifies 172.30.189.179 for IP address on port 80 and no host name, Contoso will receive all HTTP requests to port 80 on IP address 172.30.189.179, and Default Web Site will continue to receive HTTP requests to port 80 on any IP address other than 172.30.189.179.

Port

Type the port on which HTTP.sys must listen for requests made to this Web site. If you select HTTP from the Type drop-down list, the default port is 80; if you select HTTPS from the drop-down list, the default port is 443. If you specify a port different from the default ports, clients must specify the port number in requests to the server or they will not connect to the Web site.

Host name

Type a host name if you want to assign one or more host names, also known as domain names, to one computer that uses a single IP address. If you specify a host name, clients must use the host name instead of the IP address to access the Web site.

If this Web site is available on the Internet, type the domain name of the Web site as users will type it in a browser, for example, www.contoso.com. If your Web site has more than one domain name, such as www.contoso.com and contoso.com, you must create a separate binding for each host name.

If your Web site is available on an intranet, you do not have to specify a host name if users will type the server name in a browser, for example, http://server_name. However, if the DNS server in your environment is configured to store other names for this Web server, you can create a separate binding for each host name so that users can use the other names stored by the DNS server.

noteNote
The host name that you configure for your Web site might appear differently in the log files because HTTP.sys logs host names by using the punycode-encoded format.

SSL certificate

Select the certificate that you want the Web site to use for SSL. The SSL certificate list appears only when you select HTTPS from the Type list.

noteNote
To add or configure server certificates, use the Server Certificates feature in IIS Manager.

View

Opens the Certificate dialog box from which you can view information about the selected certificate in the SSL certificate list. The View button appears only when you select HTTPS from the Type list and select a certificate from the SSL certificate list.

Start Web site immediately

Select this option to start the Web site immediately after it is created. When the Web site is started, it listens for requests. You may want to delay starting the Web site if you must make other configuration changes, such as changes to authentication or authorization, after the site is created.

noteNote
If you specify an invalid binding, the Web site will be created but will not be able to start until the binding is fixed.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft