+ Post New Thread
Results 1 to 9 of 9
Windows Thread, IIS problem - How do I make address friendly? in Technical; I have never got round to this before but it's about time that I worked out how to do it! ...
  1. #1
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,548
    Thank Post
    517
    Thanked 56 Times in 50 Posts
    Rep Power
    29

    IIS problem - How do I make address friendly?

    I have never got round to this before but it's about time that I worked out how to do it!

    We have several apps/sites that run on IIS on both server 2000 and 2003.

    They are accessed by browsing to, for example http://10.20.55.21/roombooking.

    How can I set it up so the user just has to type in EduGeek.net ?

    Is that within IIS or a DNS setting.

    Thanks

  2. #2
    Diello's Avatar
    Join Date
    Jun 2005
    Location
    Kent, England
    Posts
    1,064
    Thank Post
    112
    Thanked 228 Times in 128 Posts
    Rep Power
    74
    Yes, you can add a CNAME record into DNS for this:

    Add an alias (CNAME) resource record to a zone: Domain Name System(DNS)

  3. #3
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,548
    Thank Post
    517
    Thanked 56 Times in 50 Posts
    Rep Power
    29
    Thanks for the link but I still can't see how to do it!

    I can't see how I can add http://10.50.22.55/booking in there.

    Can someone give a little more help?

    Thanks

  4. #4

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    ou cant add a sub directory to DNS

    you can make roombooking resolve to the machine IP, but will need to change the default home page to autoforward to the /booking directory

  5. #5
    k-strider's Avatar
    Join Date
    Oct 2006
    Location
    Gloucester
    Posts
    357
    Thank Post
    7
    Thanked 40 Times in 30 Posts
    Rep Power
    23
    if all the different sub folders are on the same server then you would need a more complicated script that inspects the url the person typed in and auto forwarded to the correct sub folder eg if the put booking into address bar it would go 10.50.22.55/booking and say they put portal into the address bar it would go 10.50.22.55/portal
    you would need to set up cnames or a records pointing to the 10.50.22.55 server in DNS

  6. #6
    Zimmer's Avatar
    Join Date
    Nov 2008
    Location
    Chadderton
    Posts
    116
    Thank Post
    10
    Thanked 10 Times in 10 Posts
    Rep Power
    13
    Do you use ISA server by any chance?

    I know this sounds a little bit wrong but what I'm going to suggest actually works really well. I've used this method in the past for quick fixes before finding better solutions.

    Create a CNAME in DNS that points to your ISA server, for example 'RoomBookings'. So now if you browse to "http://RoomRookings" you will be taken to your ISA and nothing will be displayed.

    In ISA create a Web Publishing Rule that listens on the internal interface for inbound requests for the address "http://RoomBookings.YourDomain.ac.uk". Then simply configure the rule in ISA to forward the requests to your internal server on the port/URL you wish.

    I know this seems a little backwards but it works fine and no traffic leaves your internal network, it just means that ISA gets a little more traffic internally.

    I wouldn't recommend doing this for high traffic applications or for a permanent fix.

  7. #7
    jmair's Avatar
    Join Date
    Aug 2007
    Posts
    274
    Thank Post
    58
    Thanked 9 Times in 9 Posts
    Rep Power
    16
    For internal sites (I have them all on one IIS server, same IP) and I create a Group Policy to place the links in their IE bookmarks. So all they see is
    EMAIL
    WIKI
    SUBLIST


    but the link is 10.50.22.55/wiki, 10.50.22.55/exchange, 10.50.22.55/sublist etc.

    I figure if it's only going to used internally, and their web browser favorites is their 'internal web portal' then all is good.

  8. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,957
    Thank Post
    886
    Thanked 1,700 Times in 1,477 Posts
    Blog Entries
    12
    Rep Power
    448
    Quote Originally Posted by Zimmer View Post
    Do you use ISA server by any chance?

    I know this sounds a little bit wrong but what I'm going to suggest actually works really well. I've used this method in the past for quick fixes before finding better solutions.

    Create a CNAME in DNS that points to your ISA server, for example 'RoomBookings'. So now if you browse to "http://RoomRookings" you will be taken to your ISA and nothing will be displayed.

    In ISA create a Web Publishing Rule that listens on the internal interface for inbound requests for the address "http://RoomBookings.YourDomain.ac.uk". Then simply configure the rule in ISA to forward the requests to your internal server on the port/URL you wish.

    I know this seems a little backwards but it works fine and no traffic leaves your internal network, it just means that ISA gets a little more traffic internally.

    I wouldn't recommend doing this for high traffic applications or for a permanent fix.

    You dont even need ISA for it, configure your room booking site as a virtual server so you cna have it as EduGeek.net

  9. #9
    Zimmer's Avatar
    Join Date
    Nov 2008
    Location
    Chadderton
    Posts
    116
    Thank Post
    10
    Thanked 10 Times in 10 Posts
    Rep Power
    13
    Very true indeed, and a good point!

    I've always done it that way for some reason or another, I can't think why though... I'm sure it was because of port IIS servers being on ports other than 80 and us not wanting clients to have to point to URL's with added port numbers outside of 80 - I think!?!

    I'm sure ISA came into it for DNS reasons, as links on Internet/Intranet pages all pointed to the same place. All so confusing lol!

SHARE:
+ Post New Thread

Similar Threads

  1. Problem setting up PHP on IIS 6
    By uraknai in forum Windows
    Replies: 3
    Last Post: 8th October 2008, 07:52 PM
  2. SEO friendly address titles
    By Scotmk in forum EduGeek Joomla 1.0 Package
    Replies: 2
    Last Post: 1st July 2008, 11:39 AM
  3. Sibelius problem after changing the ip address of server.
    By tosca925 in forum Educational Software
    Replies: 3
    Last Post: 11th September 2007, 06:53 PM
  4. IIS 6 Problem - HELP
    By Nij.UK in forum Windows
    Replies: 0
    Last Post: 7th February 2007, 12:01 PM
  5. Make IIS use a proxy server
    By fooby in forum Web Development
    Replies: 6
    Last Post: 13th February 2006, 03:30 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •