Brian Blogs on SharePoint

Information, curiosities, and observations about SharePoint and the community.

SharePoint 3.0 – Alternate Access Mapping

Posted by Brian Gough on May 22, 2007

Problem:

How can I render the site using both http:// and https://?

We set up a anonymous access WSS site without SSL on it. After a time, we realized that we really should enable SSL so when our employees log in to the site, their credentials will be encrypted. Yes, the rest of the content is also encrypted but in our case we are more concerned about the credentials than the content, especially since the site is open to the public.

After getting the certificates installed and IIS set, we still needed to be able to use both http: and https:. Why? Because our site is open to the public, we want them to use the http:// link; some of our content points to external sites using http:// and we do not want ‘joe user’ to be constantly bothered with the notification window asking them if they want to display both secure and non-secure content.

So what did we do to make this happen?

Solution:

We used a seldom talked about capability ( trying to find other words for ‘features’ since a thing called ‘features’ is a new part of SharePoint 3.0 <wink>) called Alternate Access Mapping (AAM). Rather than try to duplicate what other more learned people have already written, here is a link that goes into more details about AAM….

http://blogs.msdn.com/sharepoint/archive/2007/03/06/what-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx

My needs are rather simple compared to all that you can use AAM for. I just need the same content served up when a user enters http: or https:.

Process:

  • Logon to the Central Administration site
  • Click on ‘Operations’.
  • Click ‘Alternate access mappings’ under the Global Configuration section.
  • You will see a list of all your SharePoint sites.
  • To the far right of the menu bar you will see a dropdown list labeled ‘Alternate Access Mapping Collection:’ Click the drop down and select ‘Change alternate access mapping collection’.
  • Select the site you want to add the AAM to.
  • Click ‘Edit Public URLs’ in the menu bar. This will open a page showing your URL in the zone it is defined in. in my case it is in ‘Default’.
  • You can see there are several options to enter a value ( Default, Internet, intranet, Custom, and Extranet). Enter the full URL using https: into one of these areas. I was able to enter it into any one of those fields and got the same behavior, but I chose Intranet for mine since it is really just for our employees to use.
  • Click ‘Save’.

You should now be able to view your site using either http: or https:.

Good luck and good coding.

Advertisements

One Response to “SharePoint 3.0 – Alternate Access Mapping”

  1. Hi all, here every person is sharing such experience,
    thus it’s pleasant to read this blog, and I used
    to go to see this weblog daily.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

 
%d bloggers like this: