PDA

View Full Version : Hosts.sam Not Working :(!



internet.news
01-29-2004, 07:41 PM
As you may know there is a file called "hosts.sam" in the c:\windows
directory which redirects DNS Names to IP adresses.

But this file does not work on my Win98 (SE) - I tried everything I know,
but it still does not work - I want my computer to redirect me on 127.0.0.1
when I am browsing offline "internet-news.no-ip.com"?

I have typed in the HOSTS.SAM and HOSTS file:

127.0.0.1 localhost
127.0.0.1 internet-news.no-ip.com

Please help me, I know this worked one time for me - I do not know
why now it is not working properly. Now it show me when I am offline:


Any kind of help would be gladly appreciated ;)

Vargas
01-29-2004, 08:23 PM
HOSTS.SAM is just a sample HOSTS file
HOSTS file must be all CAPS (for the filename not the contents)
in win98 you need to reboot for the changes in HOSTS. to take effect

nsane
01-29-2004, 08:23 PM
it's the file 'C:\Windows\HOSTS' no file extension

internet.news
01-29-2004, 08:52 PM
Sorry, it was my fault - I thought I saved with TextIt the entries in HOSTS, but
it automatically saved as *.txt. I now changed it successfully.

Have a look ;) (http://internet-news.no-ip.com/forums2)