Partager via


Add and Remove IP Address Bindings

This procedure describes how to add and remove IP address bindings for Web sites in IIS. You can use IP address bindings, TCP ports, and host header names to host multiple Web sites on a single member or cluster. Because all members are synchronized with the controller, you should add all Web site information from all members to the controller. Unpredictable behavior might result if IP bindings are not consistent across all cluster members.

To host multiple Web sites in NLB clusters, add the cluster IP address (or VIP) to the load-balanced network adapter on the controller.

In typical non-NLB clusters, you must bind all member-specific Web site settings (such as IP address) to the respective Web sites on the controller.

To add an IP address binding

  1. In the IIS snap-in, right-click the Web site on which to add an IP address binding, and then on the pop-up menu, click Properties.

    The Web_site Properties dialog box appears.

  2. Click the Web Site tab.

  3. Under Web Site Identification, click Advanced.

    The Advanced Multiple Web Site Configuration dialog box appears.

  4. Under Multiple identities for this Web Site, click Add.

  5. In the Advanced Web Site Identification dialog box, enter the appropriate values for IP Address, TCP Port, and Host Header Name, and then click OK.

  6. Click OK twice to return to the IIS snap-in.

To remove an IP address that is bound to a Web site

  1. In the IIS snap-in, right-click the Web site from which to remove an IP address binding, and then on the pop-up menu, click Properties.

    The Web_site Properties dialog box appears.

  2. Click the Web Site tab.

  3. Under Web Site Identification, click Advanced.

    The Advanced Multiple Web Site Configuration dialog box appears.

  4. Under Multiple identities for this Web site, select the IP address to remove, and then click Remove.

  5. Click OK to confirm the removal of the IP address.

  6. Click OK twice to return to the IIS snap-in.

  • For more information about hosting multiple Web sites on a non-NLB cluster, see Using Other Load Balancers.

  • For more information about assigning IP addresses when creating non-NLB clusters, see Establish Communication in Non-NLB Clusters.

  • For more information about using multiple IP addresses to host multiple Web sites, see About Name Resolution in the IIS Help.

Did you find this information useful? Please send your suggestions and comments about the documentation to acdocs@microsoft.com.