Alternate access mapping is commonly used to rewrite SharePoint URLs to more meaningful ones. Some scenarios require configuring AAM since the URL of a web request received by IIS may not necessarily be the same as the one that the users entered in their browser
STEP
# 01
Open the SharePoint Central
Administration page. Click the Configure
alternate access mappings link
under Application
Management.
STEP
# 02
In the Alternate
Access Mappings page,
click on the Edit Public URLs link.
STEP
# 03
On the Edit
Public Zone URLs page,
make sure that you select the correct web application that you want to
configure for alternate access mappings. Under the Public
URLs,
section, enter the new URL that you want mapped to the existing web
application.
STEP
# 04
In this step, we have to
open the hosts file located at C:\Windows\System32\drivers\etc and
add an entry for 127.0.0.1 and point it to the new URL. You
might need
to open the
Notepad with
'Run As Administrator' permission in order to do this.
STEP
# 05
Even though we told SharePoint to listen
that doesn’t mean IIS is listening to the new URL. Open IIS Manager
and select
your site. 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://’)
STEP
# 06
A modification must
be done to the server's registry to specify the host name. To specify the host names that are
mapped to the loopback address and that can connect to Web sites on your
computer, follow these steps
1)Click Start, click Run,
type regedit, and
then click OK.
2)In Registry Editor, locate and then click
the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
3)Right-click MSV1_0,
point to New, and then click Multi-String
Value.
Type BackConnectionHostNames, and
then press ENTER.
4)Right-click BackConnectionHostNames, and
then click Modify.
5)In the Value
data box,
type the host name or the host names for the sites that are on the local
computer, and then click OK.
6)Exit Registry Editor, and then restart
the computer.
0 comments:
Post a Comment