Networks LMHosts on Windows XP

Discussion in 'Hardware' started by wda97c, 8 Sep 2003.

  1. wda97c

    wda97c What's a Dremel?

    Joined:
    25 Jul 2003
    Posts:
    97
    Likes Received:
    0
    My problem is this.

    I run a web server on my computer. This computer is connected to a router. The address for my web server is www.willsphotos.co.uk however if I try to go to this address I get the router configuration page (obviously this all works fine from external connections). I thought I would be able to configure an entry in the LMHosts file to make requests for www.willsphotos.co.uk to loopback to 127.0.0.1 by simply entering

    127.0.0.1 www.willsphotos.co.uk

    Sadly this doesn't work. Now if I change it to be

    127.0.0.1 willsphotos

    then is I ping willsphotos it pings 127.0.0.1 hoever that does not happen with www.willsphotos.co.uk. Can oyu not put a domain name in the LMHosts file?

    Anyone have the answer?
     
  2. BlackTower

    BlackTower What's a Dremel?

    Joined:
    1 Aug 2003
    Posts:
    79
    Likes Received:
    0
    You need to do the above in the Hosts file not the LMhosts file.
     
Tags:

Share This Page