Alternate Access Mappings: another URL to your site


Scenario: How to assign a different internet URL to SharePoint 2010 site ?

Explanation:

Alternate access mappings enable a Web application that receives a request for an internal URL, in one of the five authentication zones, to return pages that contain links to the public URL for the zone. You can associate a Web application with a collection of mappings between internal and public URLs. Internal refers to the URL of a Web request as it is received by Office SharePoint Server 2007. Public refers to the URL of an externally accessible Web site. The public URL is the base URL that Office SharePoint Server 2007 uses in the pages that it returns. If the internal URL has been modified by a reverse proxy device, it can differ from the public URL.

Perform the following steps to configure alternate access URL for a SharePoint site

  1. You must have a SP site configured and working fine and having URL looks like http://<site Url>.
  2. Go to Central Admin > Application Management > Alternate Access Mappings.
  3. Click on “Edit Public URLs” and then choose the appropriate Alternate Access Mapping Collection.
  4. Now enter the desired alternate URL under the Internet section. for eg. http://portal.yoursite.com

To make it work on server please perform the following actions:

Option 1:

  1. Click Start, click Run, type regedit, and then click OK
  2. In Registry Editor, locate the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    Right-click Lsa, point to New, and then click DWORD Value. (In Win 2008, its DWORD 32bit)
  3. Type DisableLoopbackCheck, and then press ENTER.
  4. Right-click DisableLoopbackCheck, and then click Modify.
  5. In the Value data box, type 1 and then click OK.
  6. Quit Registry Editor.
  7. Do not forget to restart your server.

Option 2:  Add this registry entry by PowerShell:

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name “DisableLoopbackCheck” -value “1” -PropertyType dword

Happy Sharepointing 🙂

Advertisements

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