« Previous Next »

Thread: Hiding Server Path in the URL

Last post 11-05-2009 12:54 AM by ravindranath_kct. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 11-04-2009, 1:30 AM

    Hiding Server Path in the URL

    We have developed a website for our client.

     The website has been deployed on the client’s intranet.

    The URL for the application is like this http://servername/applicationname/

    The client prefers a URL of the following type http://applicationname,

    so that they just have to type the application name in the URL textbox . They want to avoid typing the entire application share path to access the site. Are there settings which need to be added in the web application (The web application is developed in Microsoft ASP .NET)?

    Are there settings which need to be added in the web application( Microsoft ASP .NET)?

    Please advise me how we can configure this and implement.

    Thanks and Regards,

  • 11-04-2009, 9:56 AM In reply to

    Re: Hiding Server Path in the URL

    You will need the network admin to set up the dns/wins for the <applicationname> and point it to the web server. Then add additional host headers of that <applicationname>  in IIS.

  • 11-04-2009, 2:55 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: Hiding Server Path in the URL

    Rovastar is spot on, but just to be clear, this is not hiding the server path. 

    What you are doing is adding an entry/alias to your network naming service (DNS/WINS) that points to this server.  You then need to create an additional web site that uses that application physical path as its root.  For example, if the files for this application are at C:\inetpub\wwwroot\applicationname, then you would set the root folder to use this folder.

    Note that http://servername/ likely uses C:\inetpub\wwwroot as its root folder.

    There are no settings in the ASP.NET application that can be configured to achieve this.  This is purely an IIS/WINS/DNS/networking issue.

  • 11-05-2009, 12:54 AM In reply to

    Re: Hiding Server Path in the URL

    Thanks Rovastar and Tom.

Page 1 of 1 (4 items)
Microsoft Communities