Use the Add Site Binding and the Edit Site Binding dialog boxes to add bindings to a site or to edit an existing site binding. For example, your site might need an HTTPS binding on port 443 in order to use Secure Sockets Layer (SSL) in addition to an HTTP binding on port 80. You can access the Add Site Binding dialog box by clicking Add from the Site Bindings dialog box.

Note

If you add a duplicate binding to the Web server, only one site with that binding can run at a time. Additionally, if your duplicate binding is an HTTPS binding, any changes that are made to the certificate on one binding will affect the certificate on the other binding.

UI Element List

Element NameDescription

Type

Select a value from the list to specify the protocol for the site 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.

Note

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 invalid 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 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 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 site.

If this site is available on the Internet, type the domain name of the site as users will type it in a browser, for example, www.contoso.com. If your 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 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.

Note

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 site to use for SSL. The SSL certificate list appears only when you select HTTPS from the Type list.

Note

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.

See Also


Table Of Contents