Mariusz, Gorzoch tech Blog

Alternate Access Mapping in SharePoint 2007

with one comment

So, what it is ? Before I tweak it up I took it a as a black box with shouldn’t be touch at all. Unfortunately something get broken and apparently all signs on the sky pointed to this black box. Here is description of our scenario and what I needed to set it up correctly.


We have one front web server exposed to our end users with can be accessed by them thru 4 different names:

  • name1
  • name1.domain.net
  • name2
  • name2.domain.net

what I needed to do is to somehow configure AAM in the way that whatever starting address use will use, then he will be redirected to name1.domain.net and from now on this URL will be use to surf thru our intranet.


I needed to go to AAM (Central administration –> Operation –> Alternate Access Mapping), pickup my “Alternate Access Mapping Collection” (in my case it was the one placed on port 80) and:

1. Edit Public URL and set it to : name1.domain.net <- this is your public URL with will be use by SharePoint to respond to end user for any request from internal URL

2. Add all other URL as internal ones. <- this is working in the way, that each time server get request from such a URL then he will just replay with 302 code redirecting user to the public URL.

once you set AAM like above and of course also:

  • add your all above URL to host headers in IIS
  • associate those names with you server in DNS

then you are done, and whatever from above addresses user will use he will be redirected to name1.domain.net and surf thru your intranet with that address.

quite simple… but it took me a while to figure out this.

In case you want to read about it take a look at below links:

happy whatever , 😉


Written by Mariusz Gorzoch

28 September 2010 at 14:51

Posted in SharePoint

One Response

Subscribe to comments with RSS.

  1. Hey there! This post could not be written any better! Reading through this post reminds me of my previous room mate!

    He always kept chatting about this. I will forward this page to him.
    Pretty sure he will have a good read. Thanks for


    20 December 2012 at 10:44

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: