Deploying multiple SharePoint Web applications

This topic describes how you deploy SharePoint Web applications via IAG in a topology where the server running SharePoint Products and Technologies publishes multiple Web applications, and each application is published via a unique port. For more information, see Understanding Office SharePoint Server 2007 deployment topologies.

This section provides configuration steps that you need to take on both the server running SharePoint Products and Technologies and on IAG. You can repeat these steps to publish as many SharePoint Web applications as required, via IAG. Note, however, that you cannot publish the same SharePoint Web application more than once via each IAG trunk.

Configuring IAG settings

This section describes the steps you need to take on the computer running IAG.

To add SharePoint Web applications to the trunk

  1. On the Configuration console, in the List tree, expand Services, and then expand either HTTP Connections or HTTPS Connections, according to the type of trunk through which you want to publish the SharePoint Web application. Click the trunk through which you want to publish the SharePoint Web application.

  2. Below the Applications list, click the Add button.

    In the Add Application Wizard, on the Step 1 - Select Application page, select the Web Applications check box, and then in the list, click Office SharePoint Server 2007; be sure you do not click Office SharePoint Server 2007 (backward compatibility). Follow the instructions on the screen.

    Important

    Do not publish the same SharePoint Web application twice on the same trunk. If the application was published via this trunk before alternate access mapping was supported, remove the existing Office SharePoint Server 2007 application from the trunk, and then add a new Office SharePoint Server 2007 application.

  3. When you reach the Step 3 - Web Servers page, do the following:

    • In the Addresses box, enter the internal host name of the load-balanced SharePoint site or of the server running SharePoint Products and Technologies. Be sure to enter a fully qualified domain name.
    • In the Paths box, you can optionally define one or more paths on which the application resides by double-clicking an empty line and entering a path. Note that the path must start with a slash.
    • In either the HTTP Port box or the HTTPS Port box, enter the port via which the application is published.
    • In the Public host name box, enter the public URL of the SharePoint Web application, and then click Next. For more information, see "Planning to use public host names" in Planning to publish SharePoint Products and Technologies via IAG. Note that the Replace host header with the following option is not applicable in this topology, and the box should be left empty.

    When you complete the wizard, click Finish.

    The Add Application wizard closes, and the application that you defined appears in the Applications area of the Configuration section.

  4. Repeat steps 2 through 3 of this procedure in order to add all the required SharePoint Web applications to the trunk.

  5. On the toolbar, click the Activate Configuration icon, and then on the Activate Configuration dialog box, click Activate.

    When the configuration is activated, the message "IAG configuration activated successfully" appears.

Configuring the server running SharePoint Products and Technologies

This section describes the steps you need to take on the server running SharePoint Products and Technologies.

To configure the server running SharePoint Products and Technologies

  1. On the desktop of the server running SharePoint Products and Technologies, click Start, point to Programs, point to Administrative Tools, and then click SharePoint 3.0 Central Administration.

  2. In the SharePoint Central Administration tool, click the Operations tab, and then under Global Configuration, click the Alternate access mappings link.

  3. On the Alternate Access Mappings page, in the Alternate Access Mapping Collection list, click Change Alternate Access Mapping Collection, and then on the Select an Alternate Access Mapping Collection dialog box, select the application that you wish to publish.

  4. On the Alternate Access Mappings page, click the Edit Public URLs link.

  5. On the Edit Public Zone URLs page, in a zone box that is not yet defined, such as the Internet zone, enter the URL of the same public host name that you entered in the Public host name box when you added the SharePoint Web application to the IAG trunk, as described in Configuring IAG settings. Make sure that the URL includes the protocol, according to the trunk type.

    For example, if you are publishing an application via an HTTPS Connections trunk that resides in the domain contoso.com and the application's public host name that you entered in IAG is HRPortal, enter the following URL: https://HRPortal.contoso.com

    When you are finished, click Save.

    If the IAG trunk via which users access the application is an HTTPS trunk, and if communication between the trunk and the server running SharePoint Products and Technologies is over HTTP (default IAG settings), continue to the next step.

    If you are using any other configuration, repeat steps 3 through 5 of this procedure in order to configure all the SharePoint Web applications that you added to the IAG trunk, as described in Configuring IAG settings. After you configure all the required SharePoint Web applications, this procedure is complete.

  6. If the IAG trunk via which users access the application is an HTTPS trunk, and if communication between the trunk and the server running SharePoint Products and Technologies is over HTTP (default IAG settings), on the Alternate Access Mappings page, click the Add Internal URLs link, and then on the Add Internal URLs page, do the following:

    • In the URL protocol, host and port box, enter the internal URL of the SharePoint Web application that you assigned in the Addresses box when you added the SharePoint Web application to the IAG trunk, as described in Configuring IAG settings, and then append the port number to the end of the URL by using the following format:
      URL : port
      Make sure that the URL includes the protocol, according to the protocol that the application uses internally. For example, if you are publishing an application that uses the HTTP protocol internally and the address that you entered in IAG is HRPortal, enter the following URL: https://HRPortal.contoso.com:81
    • In the Zone list, click the same zone in which you defined the public host name, in step 5 of this procedure, and then click Save.
  7. Repeat steps 3 through 6 of this procedure in order to configure all the SharePoint Web applications that you added to the IAG trunk, as described in Configuring IAG settings.