LAM_

I have been trying to solve a problem (for several days) with a portal that I think is AAM related.

Here is the scenario:

I have a portal that is to be accessed internally by employees, and externally by outside partners.

For this I have a web application that uses windows authentication and that can be accessed, internally, through http://extranet:20707/sites/somePortal

I extended the web application to allow outside partners to be able to access the site using forms authentication. This extended site is to be accessed from outside through: http://extranet.mydomain.com/sites/somePortal

This extended web app can also be accessed internally (although the user/password prompt comes up) through: http://extranet/sites/somePortal

From inside, everything is working fine. I can access both sites (http://extranet:20707/sites/somePortal & http://extranet/sites/somePortal) with no problems.

However, when I try to hit the site from outside (http://extranet.mydomain.com/sites/somePortal) I get the user/password prompt but I get redirected to the http://extranet:20707/sites/somePortal site (however the URL does not change in the browser) but of course external users don*t have access to it.

As far as I am concerned, this most likely is an AAM related problem, but I have read many blogs and forums, and I have tried everything I could possibly imagine, but I still cannot get it to work.

This is the configuration that I have on the AAM config page:

Internal URL Zone Public URL for Zone

http://extranet:20707 Default http://extranet:20707

http://extranet Extranet http://extranet

This is the configuration I have in IIS:

Description IP Address Port Host Header Value

aPortal - default 10.201.16.204 20707

aPortal 每 extranet 10.201.16.204 80 extranet

Your help will be very much appreciated.

Thanks in advance.

LAM.



Re: SharePoint - General Question and Answers and Discussion Alternate Access Mappings Problem - Please Help

Curtis Ruppe (MicroStaff IT)

Please recreate the Externet web application zone with the host header of extranet.mydomain.com (FQDN) instead of just extranet.





Re: SharePoint - General Question and Answers and Discussion Alternate Access Mappings Problem - Please Help

LAM_

This is the DNS configuration that we have:

External DNS (Network Solutions) Internal DNS Internal IP Host Header

http://extranet.mydomail.com ==> external ip ==> INTERNET ==> extranet ==> 10.201.16.204 ==> extranet

Do you still recomend to create extranet.mydomain.com host header

Do I have to create it on the internal DSN pointing to 10.201.16.204

Thanks,

LAM.





Re: SharePoint - General Question and Answers and Discussion Alternate Access Mappings Problem - Please Help

Curtis Ruppe (MicroStaff IT)

Yes. I'm sure somebody might think there is a better way of doing it, but quite frankly that is the way I would personally recommend.





Re: SharePoint - General Question and Answers and Discussion Alternate Access Mappings Problem - Please Help

LAM_

Curtis,

Here is the new configuration:

This is the configuration that I have on the AAM config page:

Internal URL Zone Public URL for Zone

http://extranet:20707 Default http://extranet:20707

http://extranet.mydomain.com Extranet http://extranet.mydomain.com

This is the configuration I have in IIS:

Description IP Address Port Host Header Value

aPortal - default 10.201.16.204 20707

aPortal 每 extranet 10.201.16.204 80 extranet.mydomain.com

extranet.mydomain.com was also added to the internal DNS as a FQDN.

Still not working! Still redirects me to the default zone after login.

How can I discard that is not an IT problem In other words, how can I be sure the problem is in SharePoint and not somewhere else on the network (hardware, software, configuration, etc)

Thanks.





Re: SharePoint - General Question and Answers and Discussion Alternate Access Mappings Problem - Please Help

Mike Walsh MVP

I think you are making a basic misconception with what pairs of addresses you need to specify there.

This for instance

---------------------
"

I extended the web application to allow outside partners to be able to access the site using forms authentication. This extended site is to be accessed from outside through: http://extranet.mydomain.com/sites/somePortal

This extended web app can also be accessed internally (although the user/password prompt comes up) through: http://extranet/sites/somePortal"

---------------------


means that one pair of addresses is


http://extranet (what you use to access internally)

and

http://extranet.mydomain.com (what you use to access the same site externally).


So



http://extranet is the main address (default)

and

http://extranet.mydomain.com is the Extranet address (and it would probably work specifying this as Internet)


What you seem to pairing together are two completely different sites which is why you are going to the wrong place.


Mike Walsh









Re: SharePoint - General Question and Answers and Discussion Alternate Access Mappings Problem - Please Help

LAM_

What I was doing was right. For some reason SharePoint did not like it. I removed all AAM configuration, I created a new web app and a new site, I configured it like I show below and worked fine. Then, I re-configured my original web app and this time it worked!

This is the configuration that I have on the AAM config page:

Internal URL Zone Public URL for Zone

http://extranet:20707 Default http://extranet:20707

http://extranet.mydomain.com Extranet http://extranet.mydomain.com

This is the configuration I have in IIS:

Description IP Address Port Host Header Value

aPortal - default 10.201.16.204 20707 extranet

aPortal 每 extranet 10.201.16.204 80 extranet.mydomain.com

extranet.mydomain.com was also added to the internal DNS as a FQDN.





Re: SharePoint - General Question and Answers and Discussion Alternate Access Mappings Problem - Please Help

Ludovic Chungue

Could you help me on this please I'm lost with all this AAM, Host Headers and DNS configs...

Imagine I want to have :
- default on port 80 ;
- extranet on port 80 too, but with a host header like extranet.mydomain.com

Is that possible
If so, is there anything to do with AAM and IIS config and what entries am I supposed to add in DNS

Thanks in advance !





Re: SharePoint - General Question and Answers and Discussion Alternate Access Mappings Problem - Please Help

LAM_

I am assuming you want to have internal access through the default zone and external access through the extranet zone. Then, if you want both zones on port 80, you will need to specify different IP addresses.

In the event that you want to use ※http://extranet§ for the default zone (used internally), and ※http://extranet.mydomain.com§ for the extranet zone I would do the following:

AAM Configuration:

Internal URL Zone Public URL for Zone

http://extranet Default http://extranet

http://extranet.mydomain.com Extranet http://extranet.mydomain.com

IIS Configuration:

Description IP Address Port Host Header Value

aPortal - default 10.201.16.204 80 extranet

aPortal 每 extranet 10.201.16.205 80 extranet.mydomain.com

※extranet.mydomain.com§ has to be added to the internal DNS as a FQDN. I cannot tell you exactly how because I had the IT people handle that.

Please try this and let me know what happens.

LAM.





Re: SharePoint - General Question and Answers and Discussion Alternate Access Mappings Problem - Please Help

Ludovic Chungue

On second thought, it looks like I haven't understood what a host header implies... I thought that when you access a computer (eg: on 10.201.16.204, on port 80), IIS would redirect to the correct webapp depending on the address you provided : and I thought this address had to match with the specified host header.

But it looks like this is completely false. Sad

Concerning the double IP addresses, are you sure about that I mean, I have only 1 address configured on my ethernet card and registered to the DNS...

Thanks for taking the time to help me !
I'm going to perform some more tests with DNS and I'll get back to you.