I was recently reviewing my Windows event logs for error messages and I found this SharePoint error message in my event log:
Alternate access mappings have not been configured. Users or services are accessing the site http://myusername:4699 with the URL http://localhost:4699. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:4699 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
Since my computer was a member of the domain, my computer name was not always able to resolve correctly in the browser. Therefore, I discovered that accessing my SharePoint installation via localhost
not only resolved quicker but loaded faster as well.
However, I still wanted to get rid of this error message.
Therefore, I logged into Central Administration and did the following:
- Clicked on Application Management in the left hand navigation pane
- Beneath the Web Applications heading, clicked on Configure alternate access mappings
- Clicked on the menu item, Add Internal URLs
- From the Alternate Access Mapping Collection dropdown list, I selected the appropriate collection
- In the textbox, I entered http://localhost:4699 (for Central Administration)
- Clicked on the Save button to save the Alternate Access Mapping Internal URL
- I was now able to view my list of Alternate Access Mapping URLs