Ask a questionAsk a question
 

AnswerMOSS 2007 - Alternate Access Mapping (Friendly URL)

Answers

  • Wednesday, November 04, 2009 5:03 AMConsultant.Point Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Mirjam,

    The kb/896861 fix solved my issue

    Thanks a lot and appreciate the time you spent on providing me the solution.

    Thanks & Regards,
    Riyaz

All Replies

  • Tuesday, November 03, 2009 9:17 AMbcinc. Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
  • Tuesday, November 03, 2009 9:47 AMConsultant.Point Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks yavuz,

    but I was following that article and was performing the steps required, but I found it almost impossible to get my requirement satisfied, one reason is the web applications are in random ports and the other reason is they are seperated from each other.

    Here are the steps I followed:

    DNS:
    1. Added a neme server under my domain conteso.com as team.conteso.com

    Extending Web application:
    1. Chose one of the site mentioned above and set the following:
         a. Header: team
         b. Port: 5867 (same as the one in the original site)
         c. internal url: http://machinename
         d. public url: http://team

    AAM:
    1. Added one more internal url as:
        a. http://machinename.conteso.com

    with the above in place, if I access the site as htt://team it will throw and error 401.

    Thanks & Regards,
    Riyaz
  • Tuesday, November 03, 2009 10:17 AMMirjam van Olst Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Riyaz,

    In order to satisfy your requirement you should extend you web application.

    To extend a web application go to Central Administration
    * Click Create or Extend Web Application
    * Click Extend an existing web application
    * Select the original web application
    * Create a new IIS web site
    * Select port nr 80
    * Fill in team as a host header
    * Select the correct authentication settings
    * Fill in http://team as the url for the web application
    * Choose and appropriate zone (for instance Intranet)

    When extending a web application SharePoint will automatically create AAMs for the urls you're extending the web application to, this means you do not have to add AAMs manually after completing the steps listed above.
    After extending the web application you have to make sure that the http://team url is routed to the correct IP address (i.e. to the IP address of the server). If you want to test the http://team url on the server itself you need to add an entry for this to your hosts file on the server.

    One thing worth mentioning is that it's a best practice to create a web application using the url that the majority of people will use to access the web application. In your case this means that a best practice would have been to create the web application using http://team in the first place. I don't know whether you're able to change this now, but otherwise you can at least use this for the next web application you're creating.

    Hope this helps.


    Mirjam
    www.sharepointblogs.com/mirjam
  • Tuesday, November 03, 2009 12:17 PMConsultant.Point Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Mirjam,

    Thanks for your Answer,

    I tried the steps mentioned above in your answers, but the outcome remains negative.

    Let me place all the actual entries I made to my test environment

    ** Created a new web application - http://casper:9000/
    ** Created the following site collection underneath the above web.app as - http://casper:9000/sites/activecenter  (successfully could view the site)
    **  Followed the steps of Mirjam
           To extend a web application go to Central Administration
                * Click Create or Extend Web Application
                * Click Extend an existing web application
                * Select the original web application
                * Create a new IIS web site
                * Select port nr 80
                * Fill in team as a host header
                * Select the correct authentication settings
                * Fill in http://team as the url for the web application
                * Choose and appropriate zone (for instance Intranet)
    ** Created an entry in the "WINDOWS\system32\drivers\etc\hosts" file as - 192.168.89.129  team (Successfully could ping team)

    >> telnet team 80 (worked fine)

    >> Tried viewing the site using the url: http://team/sites/activecenter (when hit enter - a password entry dialog pops up and asking to enter credential to connect to team), but it wont accept any valid credential though and finally it throws the page - HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.

    -------------------------------------
    My guess is that IIS is screwing me somewhere. Am I doing something wrong here?

    Thanks & Regards,
    Riyaz
  • Tuesday, November 03, 2009 1:06 PMMirjam van Olst Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Riyaz,

    You could try two things:

    First, add the new url (http://team) to the local intranet zone.
    If that doesn't solve the problem use the steps in this KB article: http://support.microsoft.com/default.aspx/kb/896861
    Mirjam
    www.sharepointblogs.com/mirjam
  • Wednesday, November 04, 2009 5:03 AMConsultant.Point Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Mirjam,

    The kb/896861 fix solved my issue

    Thanks a lot and appreciate the time you spent on providing me the solution.

    Thanks & Regards,
    Riyaz