Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

sharepoint 2007 I can't get alternate access mappings to work

Posted on 2010-11-17
7
Medium Priority
?
578 Views
Last Modified: 2012-05-10
I have my sp site working on my home network so mydomain goes to the site.  I created a dyndns record to point http://mydomain.dyndns.org to my router, and my router points it to my machine.

I went Operations->alternate access mappings.  Clicked Edit public zone urls, In the extranet filed I typed http://mydomain.dyndns.org.  When I go to that url, I see a generic iis site.  It is viewing the correct machine though.  Is there anything else I need to do with iis or the hosts file?
0
Comment
Question by:jackjohnson44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 7

Expert Comment

by:luceysupport
ID: 34162269
Have you extended the web application to this zone ?

You need to extend your web application to a new IIS site and define http://mydomain.dyndns.org. as the load balanced url.

If you don;t do this then sharepoint sees the url is a public url for the extranet zone but there is no web application in that zone
0
 
LVL 15

Expert Comment

by:dp_expert
ID: 34162428
You do not need to extend the web application for the AAM to work. You would need to extend you application if you would like to have it running on separate thread or use another authentication method.

You simply need to define header (in IIS 6.0) or bindings (in IIS 7.0). In other words you need to tell the IIS where to send the traffic with given URL in the header. Go to IIS and in the application settings set the headers/bindings. Restart the IIS and you are done.

BTW - Why the AAM does not modify the headers/bindings settings in the IIS automatically is a mystery for me.

0
 
LVL 7

Expert Comment

by:luceysupport
ID: 34162546
so right.

I have always extended the application as I would like to seperate the application pools and use forms authentication

But dp is correct just get your host header in IIS sorted if you don;t want what I described
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

Author Comment

by:jackjohnson44
ID: 34165730
Thanks, just for clarification please let me know if this is right.

Method 1
1. Extend a web app - this creates a new iis site with its own app pool.
2. Add an alternate access mapping and point the new extended url to the old site.

Method 2
1. Go into the iss bindings and add the external url to this.
0
 
LVL 15

Expert Comment

by:dp_expert
ID: 34167574
Not exactly - the AAM will point to the new site - you will have two iis applications using the same content database. If you just need to have additional url simply add the bindings and you are done.
0
 

Author Comment

by:jackjohnson44
ID: 34167601
Thanks, I am all set with the bindings, but I would like to understand the AAM.  I have been reading about it, but I am still confused.

So I create one web application, extend it, now I have two.  What is next?
0
 
LVL 7

Accepted Solution

by:
luceysupport earned 2000 total points
ID: 34168431

When you extend the web application you will have defined a load balanced url. This should be the public url, i.e. the url accessed over the internet, e.g  http://mydomain.dyndns.org.

So now you have two IIS sites pointing to the same content database. Each site is linked to a zone and can have multiple internal and external urls. Whenever you access a url, sharepoint can then map this url back to the relevant zone and return the correct IIS folder. The main benefit of this is different app pools and authentication settings, e.g. you may use ntlm internally and forms externally.

Also when you were extending the app you can define a host header which can be different than the load balanced url. The reason for this is reverse proxies which may translate an external address to a different address internally.

Another benefit of aam is that you can add multiple internal urls to the same zone. So if you need to access a sharepoint web app via multiple internal urls then you can add these internal urls pointing to the one zone

Just remember an AAM is just a way of defining multiple internal and external urls for the same content database. But adding urls manually will mean you need to add host headers manually and of course dns entries. This is intentional as if you were using a reverse proxy or app firewall (which is recommended when publishing to the web) you would probably not want this to happen as the proxy would translate the external url to the internal and hence you don;t need the host header.

I hope this helps. It may be more info than you need.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question