Alternate Access Mapping(AAM) and SharePoint 2013 SSL web Applications

In environment were exposing the web applications to Internet there is a need to have certificates installed either on SharePoint servers or through load balancer.

Once having certificates installed some URLs are not translated as required causing misbehavior for the SharePoint web applications, like when trying to publish InfoPath form that will fail.

To resolve that we need to have Alternate Access Mapping Configured.

What is Alternate Access Mapping?
Alternate access mappings direct users to the correct URLs during their interaction with SharePoint 2013. Alternate access mappings enable SharePoint 2013 to map web requests to the correct web applications and sites, and they enable SharePoint 2013 to serve the correct content back to the user.


Each web application can be associated with a collection of mappings between internal and public URLs.

The three components of  AAM:

  • The public URL is the URL that the clients outside in the world knows
  • The internal URL is the URL that the SharePoint Server understands,  Many internal URLs can be associated with a single public URL in multi-server farms.
  • Zone is a container for a public URL with a property like "Extranet".


Each web application supports five zones (default, intranet, extranet, Internet, and custom).
When the web application receives a request for an internal URL in a particular zone, links on the pages returned to the user have the public URL for that zone


How to Configure Alternate Access Mapping for Web Applications with SSL?

1. Navigate to Central Administration > Configure alternate access mappings.
2. From the Alternate Access Mapping Collection, select the Web Application that you have certificate installed.
3. Click Edit Public URLs
4.Remove any URL in this screen
5. In the Default field, enter the FQDN of the Web Application. Be sure to use the HTTPS . Then, click Save.
6. Then Click Add Internal URLs
7. In the URL, protocol, host and port field, enter the FQDN of the Web Application. Be sure to use the HTTP . Verify that the Zone is set to Default and click Save.
8.Make sure to Update the IIS bindings if needed.



Does the same thing applies for Host Named Site Collection?
In Host Named Site Collection this is handled in other way as AAM doesn't work with HNSC instead we add zones and URL mappings by using this PowerShell command:
Set-SPSiteUrl (Get-SPSite 'http://teams.contoso.com') -Url 'http://teamsites.contoso.com' -Zone Intranet

Note:
Crawlers works with Default zone.
__________________________________________________

Comments

Popular posts from this blog

Adjust the Search SharePoint Performance level

SharePoint 2013 User Profile synchronization versus import

Usage and Popularity Trends Report not showing correct numbers