SharePoint alternate access by IP address

The best practice Gods will be reserving a biblical plague or two for this one… but I encountered a situation today whereby the client’s internal DNS took longer than 72hrs to update yet they NEEDED access to a SharePoint site urgently.

What to do?

Alternate Access Mappings by IP address!

You should not do this… but here’s how Smile

You can add an IP address in the alternate access mappings from Central Admin (System Settings > Configure alternate access mappings)

e.g.

image

There are a few other caveats, assuming that you are using some level of NAT you will have an internal IP address which the external IP address is translated to:

1. The internal IP address must be unique for that server on that port

2. You will need to setup the binding in IIS such that the IP address is the host header

3. Any load-balancing will be bypassed; this will target a single WFE server

This may not be the right solution for you (or anybody!) but in this case it was the only way we could guarantee access to the SharePoint site urgently.

Again I repeat you should not do this, but I was pleasantly surprised that it actually worked and we managed to work around the client’s mysterious IT infrastructure (again)

Happy SharePointing!

  • Pingback: SharePoint alternate access by IP address « TechBlurt.com | IP address.co.uk

  • Liakath Ali

    I’m very interesting about this topic, I did this in my local environment, Its working in LAN. also i tried in Production server which is not in LAN but i am not able connect the site.. Can i do this in production server ? if so how to do ?

  • jasmeen

    the easiest and quickest way is to use host file (tiny DNS) ;) — and you are done.

    80.60.40.20 sharepoint.domain.com

    • http://techblurt.com Gus Fraser

      ..and you can change host files on client PCs easily? This was to suit a team that urgently needed access to docs, no way of us making changes on their machines. But I agree, hosts file if you have access.