How to Add an Alternate Access Mapping (AAM)

Hi folks. A common request in SharePoint administration is to add another URL to an existing site. The metaphor I like to use is to add another door to the same house. Regardless of which door you use it is still the same house (or SharePoint site).

Pretty fancy huh? Let’s see how the magic happens…

Current URL: sharepointvaquero.com

New URL to add: sharepointvegas.com

First, we have to tell SharePoint to listen to the new URL.

Central Admin>Application Management>Configure alternate access mappings

By default SharePoint will show you all your SharePoint sites including Central Admin in this view. Lets make it less confusing by clicking the ‘Show All’ drop down menu, and selecting ‘Change Alternate Access Mapping Collection’. From there we can select out target SharePoint site.

Untitled

In my case I select ‘SharePoint – sharepointvaquero.com80’ and I get….

Untitled1

Click ‘Edit Public URLs’ and enter our new URL into any one of the fields. (make sure to add ‘http://’) shhh…. A SharePoint secret is that these labels really don’t mean anything. Finally click Save.

Untitled2

So now SharePoint knows to listen for both the sharepointvaquero.com URL and the sharepointvegas.com URL for the same SharePoint site.

You would think I’d be done… Nope, sorry….

Even though we told SharePoint to listen that doesn’t mean IIS is listening to the new URL. Open Internet Information Servers (IIS) Manager on your Web Front End (WFE) and select your site. (This same action has to be done for each WFE) On the far left panel you will see ‘Bindings…’. Once the binding window is open for your SharePoint site click ‘Add…’. Enter your new URL into the ‘Host name:’ text box. (don’t add the ‘http://’)

Untitled3

Click OK. Click Close. And you are done from the IIS side. Now PLEASE do not make any other changes in the IIS manager for your SharePoint sites. SharePoint does control many of these settings. SharePoint can break if you make any other changes in IIS manager, and not in Central Admin.

Now regardless if you enter http://sharepointvaquero.com

Untitled5

or http://sharepointvegas.com

Untitled6

It is the same SharePoint site but accessible using different URLs…

–Javi

Tags :

About the Author

8 thoughts on “How to Add an Alternate Access Mapping (AAM)

Leave a Reply

%d bloggers like this: