|
|
 |
|
|
Pages: 1
host file not working?
(Click here to view the original thread with full colors/images)
Posted by: lcousins
hi,
I'm currently trying to manually tell my computer that a page called 'inline' can be found at xx.xx.xxx.xxx (the relevant ip address. Ive added it intothe host file and can now ping inline via its name just fine from the command prompt. Internet explorer however always goes to inline.org when I type in inline.
I've checked the IE settings and switched offf the search facility, I'm out of ideas beyond that... any help??
thanks in advance
Luke
Posted by: BekZoR
First off, is the host file on your LAN, or on the WAN (internet, somewhere besides your house)?
Posted by: BooRadley
Windows 95/98/Me c:\windows\hosts
Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts
Windows XP Home c:\windows\system32\drivers\etc\hosts
Also, it should have entries like this:
127.0.0.1 inline.org inline
Or whatever. NOthing on the line but the IP, whitespace, then the name, then aliases. Make sure there's no extention on the file, like hosts.txt or something, and reboot after you create the file.
Posted by: lcousins
Hi there,
sorry your right, I should have given technical info!!
we're on a windows 2000 network, I'm working off a windows xp pro laptop connected to said network. I am using IE6 with SP2.
to clarify, I am trying to access an internal website using the alias 'inline' (no .org.or anything and for a whole stack load of reasons it HAS to be that name). I can connect to it using the correct IP address, and having added the correct entry in the host file (c:\winnt\system32\drivers\etc\hosts) I can successfully ping it using the name rather than the ip. however when I am in the webbrowser and type 'inline' it always goes to a site (which is nothing to do with us) inline.org . I have switched off the search function in Internet explorer yet it still does this.
hope that clears things up a bit and thanks!
Luke
Posted by: BekZoR
If the other computer is on your LAN (home network), you need to use the IP address.
Each computer on your home network will have a unique IP address, so you can tell what one it is.
At least, that's how it works for me. I have a server set up, and I have to access it through it's local IP when I'm on the local network, and I have to use the hostname anywhere else.
Hope that helps!
Posted by: it_waaznt_me
Try making that entry in Lmhosts ...
|
|
|
|
|