Accessing a SharePoint site by IP Address – Alternate Access Mappings!

Accessing a SharePoint site by IP Address – Alternate Access Mappings!

 

If you want to access a SharePoint site remotely be it WSS, 2007 or 2010 by using the IP address then you will need to configure the Alternate Access Mappings correctly.

This caught me out today when trying to access a SharePoint 2010 site remotely, each time I went to ‘Site Settings’ or to upload a document using the ‘Add document’ link the site bombed out with an error (I would add a screenshot but I’ve fixed it now and don’t want to break it again!).

The error was because it was looking for the pages by hostname e.g. in the case of adding a document it was looking for – http://myserver/site1/_layouts/Upload.aspx instead of – http://192.168.1.109/site1/_layouts/Upload.aspx.

To fix the problem you need to go to the Alternate Access Mappings page in Central Admin, once there follow the below steps:

1. Add a new internal URL by clicking the ‘Add Internal URLs’ option – enter the IP address that you are using to access the site e.g. http://192.168.1.109

2. Click ‘Edit Public URLs’ and set the Default to be the IP address (I’m not 100% sure if this step is necessary but without this I still had errors trying to locate pages by IP address).

I was worried that this would break it when trying to access sites using the hostname but this still seems to work fine after making the change.

Please let me know if the above isn’t correct and I should be doing this differently.

Cheers Open-mouthed smile

3 thoughts on “Accessing a SharePoint site by IP Address – Alternate Access Mappings!

  1. Novice_Admin

    Hi Alex,

    Sorry in advance to bother you with my question. This question is for SharePoint 2003 Alternate Access Mappings. I am trying to find where Alternate Access Mappings are in SharePoint 2003.

    I have searched high and low on the web and read your article and additionally all the posts in the http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/2ced6b9a-156a-43f8-8c97-7b9db86a271e?prof=required thread however I am unable to locate ‘Operations’ and ‘Access Drive Mappings’ and ‘Alternate Access Mappings’ in SharePoint 2003. I am very new to SharePoint 2003 and have been working with SharePoint 2010 for sometime now.

    I am a Farm Administrator for SharePoint 2003. When I go to Central Administration tool for the affected site, I see following links:

    Across the top: Home, Documents and Lists, Create, Site Settings, Help, Up to IT

    Administration: Manage users, Manage sites and workspaces, Configure Site and Workspace Creation, Go to Site Administration.

    Customization: Change site title and description, Apply theme to site, Modify site content, Customize home page.

    Manage My Information: Update my information, My alerts on this site, View information about site users.

    So, where exactly is alternate access mappings?????

    And, when I go to Central Administration in SharePoint 2003, I see the following links:

    Server Configuration: Configure server topology, Configure configuration database server, Specify component settings database server, Specify content database server, Configure e-mail server settings, Configure Server Farm Account Settings.

    Portal Site and Virtual Server Configuration: Create a portal site, List and manage portal sites, Extend an existing virtual server from the Virtual Server List page, Configure virtual server settings from the Virtual Server List page, Configure site quotas and locks from the Virtual Server List page, Configure alternate portal site URLs for intranet, extranet, and custom access.

    Security Configuration: Set SharePoint administrative group account, Manage site collection owners, Manage Web site users, Manage blocked file types, Configure anti-virus settings

    Component Configuration: Manage the Search Service, Manage settings for single sign-on, Manage shared services for the server farm, Configure usage analysis processing, Configure HTML viewer, Configure diagnostic settings

    So, where exactly is alternate access mappings?????

    Thank you in advance and I look forward to hearing from you,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">