Scenario: How to assign a different internet URL to SharePoint 2010 site ?
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
- You must have a SP site configured and working fine and having URL looks like http://<site Url>.
- Go to Central Admin > Application Management > Alternate Access Mappings.
- Click on “Edit Public URLs” and then choose the appropriate Alternate Access Mapping Collection.
- Now enter the desired alternate URL under the Internet section. for eg. http://portal.yoursite.com
- Click Start, click Run, type regedit, and then click OK
- 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)
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1 and then click OK.
- Quit Registry Editor.
- 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 🙂