#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0

    Alias for IIS 5.1 LocalHost? inTRAnet use only


    Code:
    Hi all,
    
    I'm running IIS 5.1 on Windows XP Pro.
    
    IIS 5.1 is up n running properly.
    
    I'm running IIS 5.1 as an inTRAnet only.
    Mostly for testing my software.
    
    I'm playing around with mobile apps/interfaces at the moment.
    Again for home use only.
    
    I'm trying to work out how the 
    m.xxx.com works and if I can set something like this on my inTRAnet.
    
    i.e. we all have mobile phones and I'd like to have a home
     server setup for mobile phones browser access.
    
    Can I setup an alias for LocalHost (127.0.0.1)
    or an alias for the pc my IIS 5.1 LocalHost is on (192.168.1.6)?
    
    I'd like to be able to type 
    m
    for mobile phone browser access to my IIS 5.1 
    
    or type
    pc
    for normal pc browser access to my IIS 5.1
    
    On my IIS 5.1 server machine LocalHost connects as expected.
    On my IIS 5.1 server machine (192.168.1.6)
    connects as expected.
    
    On my other PCs and mobile phones (192.168.1.6) connects as expected.
    
    I've had a quick play with hosts and lmhosts files but not
     experienced enough to know if my failed tests were setup 
    properly or not.
    
    Also, I don't have a server OS setup on my inTRAnet
    so NEITHER WINS NOR DNS are an option.
    
    
    Any positive constructive suggestions would be greatly appreciated.
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,444
    Rep Power
    4539
    Set up DNS or edit hosts files in all the machines on your network

    Also, I don't have a server OS setup on my inTRAnet
    so NEITHER WINS NOR DNS are an option.
    WINS no, and WINS wouldn't help anyway. WINS doesn't do tcp name resolution anyway. There are DNS packages that can install on XP

    Oh, forum CODE tags are best used to wrap posted program code, not your whole message
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0
    Newbie member can't post hyperlinks, etc.
    Surrounded by code tags allowed me to post.

    Can anyone recommend the name of a 3rd party DNS server I can install on Windows XP for use on my home inTRAnet?
  6. #4
  7. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,444
    Rep Power
    4539
    Also, you're working with mobile devices, any dns work for your server will have to be public dns for them I'd guess.

    I know dns exists that runs on XP, I believe BIND has a windows installer if you want a full-featured industrial-strength DNS.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0
    Not interested in overkill.
    I want as bare minimum as I can find.
    If I type 'm' into my web browser I want my inTRAnet to pop up.

    I'm looking at Simple DNS Plus 5 and it looks over the top as well.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Location
    Sydney Australia
    Posts
    186
    Rep Power
    84
    The webserver tests the Browser used to access a website, and returns "normal" pages for a pc access, and m pages when it's a mobile phone.

    Unless you expose your INTRAnet connected webserver to the public internet, so your mobile phone can address it, there is no way for your mobile phone to see and specially crafted webpages built for showing when a mobile phone browser has been detected as the requesting agent.
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0
    I set the DNS 1 ipAddress setting on the mobile phone to point at the PC running the Simple DNS Server software.

    So now m.com and pc.com on my mobile phone browser fire a web page on my inTRAnet iis5.1 server.

    Can't recall now how I setup my PC to translate just m and PC
    (sorry) but I can't seem to do the same on my mobile.

    So I'll have to be satisfied when I type m on my Mobile Phone Browser the type-ahead popup displays m.com and I just select it.

    Not exactly what I was after but a surprising workaround will do.

    Thanks for the support.

    All my best
  14. #8
  15. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,444
    Rep Power
    4539
    I'm glad you found a solution that works for you.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  16. #9
  17. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0
    Couldn't have done it with out you.

    Thanks for being so cool.

    Wish I had this kind of support on my other forums.

    All my best.

IMN logo majestic logo threadwatch logo seochat tools logo