This topic describes how to deploy a SharePoint Web application with Forefront Unified Access Gateway (UAG) in a topology in which each server running SharePoint Products and Technologies publishes a single Web application, and the application's internal and public addresses are identical.

The following topology is commonly used in hosted services environments:



SharePoint Web app published via single trunk

SharePoint Web application published via a single trunk; SharePoint site's public host address is identical to the site's internal host address

Note:
You must perform the following procedures on the server running SharePoint Products and Technologies, and on the Forefront UAG server. You can repeat these procedures to publish as many SharePoint Web applications as required, via Forefront UAG; however, you cannot publish the same SharePoint Web application more than once on each Forefront UAG trunk.

Configuring Forefront UAG settings

This procedure describes the steps you must do on the Forefront UAG server to add SharePoint Web applications to the trunk.

To add a SharePoint Web application to the trunk

  1. In the Forefront UAG Management console, click the trunk to which you want to add the application, and then in the Applications area, click Add.

  2. In the Add Application Wizard, on the Select Application page, click Web, and then in the list, click Microsoft Office SharePoint Server 2007 or Microsoft SharePoint Server 2010.

    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 SharePoint Server 2007 application from the trunk, and then add a new SharePoint Server 2007 or 2010 application.
  3. On the Select Endpoint Policies page, select the relevant SharePoint download and upload policies. These policies have been designed specifically for use with published SharePoint applications.

  4. On the 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. Make sure that you 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 on 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 About public host names.

    • Select the Replace host header with the following check box, and in the Farm host name box, enter a URL that will be used to differentiate the internal host name of the application from its public host name. Make sure that 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 woodgrovebank.com, enter the following replacement host header: HRPortalExternal.woodgrovebank.com.

  5. On the Authentication page, do the following:

    • To allow rich client applications, such as Microsoft Word or Microsoft Excel, to authenticate directly to the SharePoint application without authenticating to the portal, select the Allow rich clients to bypass trunk authentication check box.

    • To use Office Forms Based Authentication (MSOFBA), select the Use Office Forms Based Authentication for Office client applications check box.

      Important:
      Make sure that you read About rich clients and MSOFBA before you select this check box.
  6. On the Portal Link page of the wizard, configure the portal link for the application.

    If you are publishing Microsoft SharePoint Server 2010, make sure that the Open in a new window check box is selected.

  7. When you have completed the wizard, click Finish.

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

  8. On the toolbar of the Forefront UAG Management console, click the Activate configuration icon, and then on the Activate Configuration dialog box, click Activate.

  9. After the configuration is activated, the message "Forefront UAG configuration activated successfully" appears.

Configuring the server running SharePoint Products and Technologies

This procedure describes the steps you must do on the server running SharePoint Products and Technologies.

To configure the server running SharePoint Products and Technologies

  1. On the server running SharePoint Products and Technologies, open the SharePoint Central Administration tool.

  2. In the SharePoint 2010 Central Administration tool, under System Settings, click Configure alternate access mappings.

    Note:
    When using SharePoint Server 2007, in the SharePoint 3.0 Central Administration tool, click the Operations tab, and then under Global Configuration, click Alternate access mappings.
  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 want to publish.

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

  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 Forefront UAG trunk (described in Configuring Forefront UAG 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 trunk that resides in the domain woodgrovebank.com, and the application's public host name that you entered in Forefront UAG is HRPortal, enter the following URL: https://HRPortal.woodgrovebank.com.

  6. When you have finished, click Save.

  7. On the Alternate Access Mappings page, click Add Internal URLs, 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 Farm host name box when you added the SharePoint Web application to the Forefront UAG trunk (described in Configuring Forefront UAG Settings). For example: http://HRPortalExternal.woodgrovebank.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.