none
Add alias url for a sharepoint site RRS feed

  • Question

  • Hello,

    I have a sharepoint website at the following url : http://wss1-siege:29848/.

    I want the user to access this site by the following url : http://sharepoint/. It don't need to hide the basic url, I just want a friendly name to access the application.

    I read several things about this. I've tried many things in IIS config, in the central admin (AAM) and DNS server.

    But I didn't succed.

    Can someone tell me what I need to configure ?
    Thursday, July 30, 2009 2:48 PM

Answers

  • What did you attempt that didn't succeed?  Here are the steps:
    - Go to Central Admin > Operations > Alternate Access Mappings
    - Click Edit Public URLs
    - Choose your http://wss1-siege:29848 AAM collection
    - Add http://sharepoint to your Intranet field (assuming that http://wss1-siege:29848 is in your Default field)
    - Go to DNS and add an "A" record (host entry) with that same name and the IP of your SharePoint server

    You should then be able to browse to the site with a friendly name and no port number.  Be sure not to make any changes directly to IIS, and if you already modified IIS, remove/reset all changes before doing the above steps.
    SharePoint Architect || My Blog
    • Marked as answer by 60307 Monday, August 3, 2009 8:24 AM
    Thursday, July 30, 2009 3:28 PM
  • Adding it as an AAM should automatically change IIS.  It has to be added in Central Admin in order for the configuration database to be aware, and then it changes IIS for you.  I had you check, because it doesn't sound like that happened.  As a test, add the same host header directly to IIS and see if it works (it will).  We then need to figure out why it didn't propagate from your AAM.
    SharePoint Architect || My Blog
    • Marked as answer by 60307 Monday, August 3, 2009 8:25 AM
    Monday, August 3, 2009 7:46 AM
  • Did you use port 80 for the SharePoint host header in IIS?  If you did, then it should work.

    Have you checked the event viewer to see what is showing up in the App and Security logs?


    SharePoint Architect || My Blog
    • Marked as answer by 60307 Monday, August 3, 2009 8:24 AM
    Monday, August 3, 2009 8:10 AM

All replies

  • What did you attempt that didn't succeed?  Here are the steps:
    - Go to Central Admin > Operations > Alternate Access Mappings
    - Click Edit Public URLs
    - Choose your http://wss1-siege:29848 AAM collection
    - Add http://sharepoint to your Intranet field (assuming that http://wss1-siege:29848 is in your Default field)
    - Go to DNS and add an "A" record (host entry) with that same name and the IP of your SharePoint server

    You should then be able to browse to the site with a friendly name and no port number.  Be sure not to make any changes directly to IIS, and if you already modified IIS, remove/reset all changes before doing the above steps.
    SharePoint Architect || My Blog
    • Marked as answer by 60307 Monday, August 3, 2009 8:24 AM
    Thursday, July 30, 2009 3:28 PM
  • Thanks for your answer.

    There still a problem.

    Here is what I have configured :
    DNS serveur : in my domain.ad, I have had a new A record with this configuration :
      host : sharepoint
      ip : 192.168.250.9 (ip of the server where WSS and ISS are installed)

    WSS central admin : I have edited the public URLs for the web app which is on the 29848 port
      intranet : http://sharepoint/

    Then when I try to reach http://sharepoint/ from IE, the browser says : IE cannot display this page.

    PS : IIS config is clear

    Do you have any idea ?
    Friday, July 31, 2009 9:13 AM
  • Can you run command line: ping sharepoint to determine whether this host header is registered?

    It is possible that you cannot reach this.

    If that’s the case, please re-do Cobb’s procedure.


    Keep It Simple and Stupid.
    Monday, August 3, 2009 1:22 AM
  • Yes, ping it to make sure your DNS system even recognizes the URL http://sharepoint.  If so, then verify that the IP is correct.  If the name resolves, and the IP is correct, then verify that the URL you added as an AAM is still there in Central Admin and is associated with the correct web application.  Lastly, go to IIS on the server and check that site to see if you see the additional host header.
    SharePoint Architect || My Blog
    • Proposed as answer by miffimorb Thursday, April 9, 2015 11:26 AM
    Monday, August 3, 2009 1:36 AM
  • Thanks for your answers.

    Ping:
    So, i run the ping command line : ping sharepoint. It works. The server 192.168.250.9 answer to the ping.
    WSS is installed on the server wss1-siege. Its ip address is 192.168.250.9.

    AAM:
    In the centrale admin, I have 2 records for the 29848 web app in AAM :
    http://wss1-siege:29848     Default   http://wss1-siege:29848
    http://sharepoint    Intranet    http://sharepoint

    IIS:
    I don't see the additional host header. What do I have to add ?
    Monday, August 3, 2009 7:40 AM
  • Adding it as an AAM should automatically change IIS.  It has to be added in Central Admin in order for the configuration database to be aware, and then it changes IIS for you.  I had you check, because it doesn't sound like that happened.  As a test, add the same host header directly to IIS and see if it works (it will).  We then need to figure out why it didn't propagate from your AAM.
    SharePoint Architect || My Blog
    • Marked as answer by 60307 Monday, August 3, 2009 8:25 AM
    Monday, August 3, 2009 7:46 AM
  • In IIS, I had the additional host header :

    right click on the site (29848), properties.
    then in "Site identification" (my console is in french, so it's maybe not the right translation), click on Advanced.
    in "Multiple identities for this web site", click on add

    IP address : 192.168.250.9
    port : 29848
    host header value : sharepoint

    Is it what you wanted me to try ?

    I run a IISreset, and then I tried to reach the url : http://sharepoint.

    But I still have the same message in IE : IE cannot display this page.

    Any Ideas ?
    Monday, August 3, 2009 8:08 AM
  • Did you use port 80 for the SharePoint host header in IIS?  If you did, then it should work.

    Have you checked the event viewer to see what is showing up in the App and Security logs?


    SharePoint Architect || My Blog
    • Marked as answer by 60307 Monday, August 3, 2009 8:24 AM
    Monday, August 3, 2009 8:10 AM
  • It works !

    I was mistaken about the port to enter... But now I understand !

    In 2 weeks, I'm going to reinstall WSS and it's server due to new network architecture.

    I hope it's going to resolve the replication problem between AAM and IIS.

    If not, I will come back to you.

    Thanks again for your time.
    Monday, August 3, 2009 8:23 AM
  • So you didn't originally put port 80 in IIS, but did you add a mistaken port in the AAM?  I'm assuming you gave no port, which makes it default to 80.  For now, at least you know you can get it to work, but I'm curious about the AAM not propagating.  I don't think it's a network architecture thing, since they are on the same box.  I think I'm missing or forgetting something, but I'm not sure.  The method I prescribed works for me, so I know from experience, but that doesn't mean I'm not missing a variable.
    SharePoint Architect || My Blog
    Monday, August 3, 2009 8:26 AM
  • the AAM record was the good one (port 29848).

    As you said I didn't originally put the port 80 on IIS.

    I'll come back to you in 2 weeks with the new installation to tell you if the propagation worked...
    Monday, August 3, 2009 4:56 PM
  • AAM does NOT manage the IIS metabase for Host Headers.... During initial creation of the WebApp you can add a single host header, I always use the FQDN, its easier to have all of the DNS names created prior to installing...

    There are 3 locations that need to be consistent...

    DNS > SharePoint > 192.168.250.9
    IIS Host Header >  sharepoint > port 80
    AAM > Intranet > http://sharepoint


    -Ivan


    Ivan Sanders http://www.linkedin.com/in/iasanders http://dimension-si.com/blog
    Tuesday, August 25, 2009 3:19 PM