Monday, August 27th, 2007

Alternative Access Mappings in SharePoint



I have to hold my hands up to recently getting my AAM settings wrong..  thanks to fellow MVP Shane Young for pointing out my obvious errors.  

Alternative Access Mappings (AAM) provide a way to serve the same SharePoint content using more than one URL.   This is often the case when you are using ISA Server 2006 to reverse proxy the SharePoint web application to the Internet; for example

https://www.mysharepointsite.com is mapped via ISA server to the machine and port hosting the application  http://mymossfarm:1234

Within the AAM settings you need to ensure that SharePoint can map  the url http://mymossfarm:1234 to https://www.mysharepointsite.com so that all urls and links are correctly rendered for the end user.

Rather than provide you with details on how to do this I will  point you to what is the regarded as the definitive resource (now packaged up as a TechNet article).

http://technet2.microsoft.com/windowsserver/WSS/en/library/c8ccffce-5162-46af-a3ef-1d7914e8efee1033.mspx?mfr=true

It is also worth checking that the ISA configuration is consistent with those in SharePoint.

Errors that indicate AAM may not be setup correctly

SharePoint works when accessing it directly from the box, however when accessing through ISA you may see the following

  • Content Query Web Part cannot render the content
  • Unable to perform searches
  • Unable to add Web Parts

The server will record “Object not set to an instance of an object” errors.

  • salman
    I was able to fix my silly lockout of Central Administration.
    I had changed the AAM settings on it making intranet,internet and Default zone to be the same IPs.
    i used stsadm to delete the domain mapping. then my site worked with original url
  • salman
    though now i went and mapped my Central Admin to a public thru AAM and it stopped working.
    i cannot get to it using any link, any idea how i reset it. Thx in advance.
  • salman
    wow i was getting “Object not set to an instance of an object” errors. on document checkins
    after setting AAM everything mysteriously started working. I did not understand until i landed at your blog
blog comments powered by Disqus