Alternate Access Mappings

So this characteristically less than straight forward.

I get this error, for example:

You must specify the default zone URL for all Web applications. To delete the Alternate URL Collection, remove the public URLs in all other zones, and then remove the default zone URL.

In Central Admin, I'm going to Alternate Access Mapping in the Operations | Global Configuration section.

There, I see my two web apps, in a column headed Internal URL.  Then, for both, in the Zone column, I get default.  Lastly, I get a Public URL for Zone column heading and my web sites' URLs are repeated.  These URLs, as I mentioned last time, are in the format http://MySharePointHost:xxxxx where xxxxx is the port number, 55555 for the SharePoint team site and 44444 for Central Cdmin.

What I'm trying to do is expose my server to the internet via my domain name.  As we mentioned, I'd like for internet users to see my site at http://www.mydomain.com:55555.  The problem is that when they visit that site, the links on the page all point to http://MySharePointHost:55555/SomePage.aspx and I need it to point to http://www.MyDomain.com:55555/SomePage.aspx.

So the Alternate Access Mapping page is is a typical SharePoint list with the actions:

  1. Edit Public URLs
  2. Add Internal URLs
  3. Map to External Resources

So, I'm thinking I need to edit the public URLs so I click the link and I get to where I can select an Alternate Access Mapping Collection.  I select my team site and enter the following URLs:

  1. Default – this one defaulted to http://MySharePointServer:55555
  2. Intranet – I left this one blank.
  3. Internet – I set this one to http://www.MyDomain.com:55555
  4. Custom – I left this one blank.
  5. Extranet – I left this one blank.

And I clicked Save.

And I end up with the two URLs in my list, one in Zone = Default and one in Zone = Internet.

Now if you play with the other zones, you start to see some pretty odd behavior.  But, I definitely can now access the Team Site from the internet using the http://www.MyDomain.com:55555 format.


Tags:

 
 
 

Comments are closed.