Deploying a SharePoint Web application when using identical internal and public addresses

This topic describes how you deploy a SharePoint Web application with IAG in a topology where each server running SharePoint Products and Technologies publishes a single Web application, and the application's internal and public addresses are identical. 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 procedure describes the steps you need to take on the computer running IAG.

To add a SharePoint Web application 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.

    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 host name of the SharePoint Web application. For more information, see "Planning to use public host names" in Planning to publish SharePoint Products and Technologies via IAG.
    • In the Replace host header with the following box, enter a URL that will be used to differentiate the internal host name of the application from its public host name. Make sure the URL includes the domain in which the trunk resides (the domain of the trunk appears on the Web Servers tab, to the right of the Public host name box). For example, if the public host name of the application is HRPortal and the trunk resides in the domain contoso.com, enter the following replacement host header: https://HRPortal-External.contoso.com
    • Click Next.

    When you complete the wizard, click Finish.

    The Add Application wizard closes, and the application that you defined appears in the Applications list.

  4. 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 procedure 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.

  6. 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 URL that you assigned in the Replace host header with the following box when you added the SharePoint Web application to the IAG trunk, as described in Configuring IAG settings. For example:
      https://HRPortal-External.contoso.com
    • 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.