Alternate access mapping provides a mechanism for Office SharePoint Server administrators to identify the different ways in which users access SharePoint sites, ensuring that URLs (links) are displayed appropriately for the manner in which the user accesses the SharePoint site. Note the following:
-
Administrators often deploy SharePoint sites that users can access by using different URLs. It is important that functionality, such as search results for portal site and document library (Web storage system-based) content, be appropriate for the URL that was used to access the portal site. External URLs must be provided to the user in a form that is appropriate for how the user is currently accessing the SharePoint site.
-
Without alternate access mapping settings, search results might be displayed in a way that would make them inaccessible to users. Users might receive search results that they cannot access whenever they access the SharePoint site by using a URL that is different from the original URL used for crawling the content.
The Microsoft SharePoint Search service consults the alternate access mapping setting entries when crawling a document. If the URL of the document matches one of the mapping entry URLs, the URL is replaced with the mapping ID for the entry. When the search result is displayed, the mapping ID is replaced by the appropriate URL if the user is requesting the document from an access point listed in the alternate access mapping setting entries. If there is no appropriate alternate access mapping, the search results display the default public URL for zone.
Each Web application and external resource must have a default public URL for zone defined in alternate access mappings. A public URL for zone is the URL that end users type to reach the Office SharePoint Server Web application or external resource. Each Web application and external resource can have public URLs defined for up to four additional zones: intranet, Internet, custom, and extranet. Each public zone can have one or more internal URLs. An internal URL is the URL of a request as it is delivered to the Office SharePoint Server computer. Internal URLs are often different from the public URL when HTTPS-to-HTTP bridging is used with ISA Server, when the original host header is not forwarded, or when the port number of the SharePoint site on the Office SharePoint Server computer is different from the port number of the Web listener. Each URL must be different from all other URLs. These mappings are stored in the configuration database. Office SharePoint Server uses the default URL for any requested URL that is not found in the mapping table.
Important: |
|---|
|
For alternate access mapping to work properly, your Office SharePoint Server publishing rule must be configured to forward the original host header. This is the default configuration when using the SharePoint Publishing Wizard.
|
Windows SharePoint Services
Windows SharePoint Services is a technology that allows teams to create Web sites for information sharing and document collaboration, benefits that help increase individual and team productivity. Windows SharePoint Services is a component of the Windows Server 2003 information worker infrastructure and provides team services and sites to the Microsoft Office System and other desktop programs. It also serves as a platform for application development. Including such information technology (IT) resources as portals, team workspaces, e-mail, presence awareness, and Web-based conferencing, Windows SharePoint Services enables users to locate distributed information quickly and efficiently, as well as connect to and work with others more productively.
For more information about Windows SharePoint Services, see "Windows SharePoint Services in Windows Server 2003" at the Microsoft TechNet Web site.
Office SharePoint Server 2007
Office SharePoint Server 2007 is a product that enables enterprises to develop an intelligent portal that seamlessly connects users, teams, and knowledge so that people can take advantage of relevant information across business processes to help them work more efficiently. Office SharePoint Server 2007 provides an enterprise business solution that integrates information from various systems into one solution through single sign on and enterprise application integration capabilities, with flexible deployment options and management tools. The portal facilitates end-to-end collaboration by enabling aggregation, organization, and search capabilities for people, teams, and information. Users can find relevant information quickly through customization and personalization of portal content and layout, as well as by audience targeting. Organizations can target information, programs, and updates to audiences based on their organizational role, team membership, interest, security group, or any other membership criteria that can be defined.
Office SharePoint Server 2007 uses Windows SharePoint Services sites to create portal pages for people, information, and organizations. The portal also extends the capabilities of Windows SharePoint Services sites with organization and management tools, and enables teams to publish information in their sites to the entire organization.
For more information about Office SharePoint Server, see the Office SharePoint Server home page.
Requirements for alternate access mapping configuration
To properly configure alternate access mapping settings, you need the software versions discussed in the following table.
|
Technology or product
|
Version
|
|---|
|
Windows SharePoint Services
|
Windows SharePoint Services 3.0
|
|
Office SharePoint Server
|
Office SharePoint Server 2007
|
Configure alternate access mapping
You can configure alternate access mapping:
-
Configuration of alternate access mapping for Windows SharePoint Services can be done from a command prompt with the Stsadm.exe command or from the Windows SharePoint Services 3.0 Central Administration site.
-
Configuration of alternate access mapping for Office SharePoint Server is done via Central Administration for the Office SharePoint Server Web administration.
Scenario
You publish a SharePoint site through ISA Server 2006 using the SharePoint Publishing Wizard. Users access the site by entering the following URL: https://portal.contoso.com. ISA Server connects to the internal Web server using the following URL: http://sps01. Based on the following information, you will configure alternate access mapping for Windows SharePoint Services and Office SharePoint Server.
When configuring alternate access mapping settings, you configure the extranet zone. A zone is another method of accessing the SharePoint site that is different from the default zone. For example, a SharePoint site named sp01 is accessed from the Internal network as HTTP://sp01. However, when accessed by a user on the Internet via ISA Server, the user accesses https://portal.contoso.com.
When configuring a Web application to be exposed in additional zones, we recommend extending additional IIS Web sites and mapping them to the existing Web application. This allows you to independently configure authentication and security policy settings for your additional zones, such as what type of authentication to accept and whether anonymous access is allowed. We recommend using the Default zone for your published IIS Web site and the Intranet zone for access via your internal corporate network.
To extend an additional IIS Web site for your Web application, perform the following steps.
To extend an additional IIS Web site for your Web application
-
Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint 3.0 Central Administration.
-
Click Application Management.
-
Click Create or extend Web application.
-
Click Extend an existing Web application.
-
In the Web Application selector, click the selector, and then click Change Web Application.
-
Click the Web application you want to publish.
-
In the Description field, enter a description for the IIS Web site you will be creating for this new zone.
-
In the Port field, select the port number of the Office SharePoint Server computer you want to extend the new zone on. Note that port 80 is commonly used for HTTP access and port 443 is commonly used for SSL access. If another IIS Web site is configured to use one of these ports, you should configure a unique host header in the next step.
-
In the Host Header field, enter the Intranet host name of the site. For example, type sp01.
-
In the Use Secure Sockets Layer (SSL) section, select No if you want the IIS Web site on the Office SharePoint Server computer to use HTTP, or select Yes if you want it to use SSL. HTTP is preferred for better performance, and SSL is preferred if the network between the client and the Office SharePoint Server computer is untrusted.
-
In the URL field, type the URL of the SharePoint site for the Intranet zone. For example, type http://sp01.
-
In the Zone field, select Intranet.
-
Click OK to extend the Web application to the new zone.
-
When Office SharePoint Server finishes extending the Web application to the new zone, click Operations.
-
Click Alternate access mappings.
-
In the Alternate Access Mapping Collection selector, click the selector, and then click Change Alternate Access Mapping Collection.
-
Click the Web application that you are publishing.
-
Click Edit Public URLs.
-
In the Default field, enter the URL of the requests as they will be delivered to the Office SharePoint Server computer by the Office SharePoint Server publishing rule. For example, type http://portal.contoso.com.
-
Click Save.
-
Click Add Internal URLs.
-
In the URL protocol, host and port field, enter the URL of requests as they will be delivered to the Office SharePoint Server computer by the Office SharePoint Server publishing rule. For example, type http://portal.contoso.com. Note that the SharePoint Publishing Wizard automatically selects port 80 for HTTP or port 443 for SSL. If you want the Web application to use a different port on the Office SharePoint Server computer for the publishing rule, you need to edit the Office SharePoint Server publishing rule in ISA Server to bridge your requests to the desired port. If you do not want to use the feature in the Office SharePoint Server publishing rule to forward the original host header, you need to enter an alternative name here that will resolve to your Office SharePoint Server computer.
-
In the Zone field, select the zone that you extended for the Office SharePoint Server publishing rule. For example, select Default.
-
Click Save.