User User name Password  
   
Sunday 27.7.2025 / 19:35
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > software, operating systems and more > windows - general discussion > corrupted hosts file or something
Show topics
 
Forums
Forums
Corrupted Hosts File or Something
  Jump to:
 
Posted Message
AfterDawn Addict

1 product review
_
10. August 2006 @ 20:51 _ Link to this message    Send private message to this user   
Before I describe my problem. I did read through the thread about the hosts file right before mine. But i wasnt sure if that would help me. My problem is this. I go to C:/Windows/system32/drivers/etc and there is a hosts file but it is 0 kb and I cant open it, under file type it says file? not sure if thats right. But in spy sweeper when i go to edit/look at my hosts file it opens it but it is blank. Can someone explain to me whats wrong and what i can do to fix it? I believe I remember hearing that you could download hosts file. Is this true? And if so were can I download the hosts file.



"Some people have no damn sense." - Nephilim, March 27 2007 @ 18:08
Advertisement
_
__
dolphin2
Suspended due to non-functional email address
_
11. August 2006 @ 01:16 _ Link to this message    Send private message to this user   
Open the file in notepad. Copy and paste the following (the lines with the # in front of them) :

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

Save the file.

[img]http://img209.imageshack.us/img209/9991/7027vv1.jpg [/img]signature by ireland


Read the Forum Rules:http://forums.afterdawn.com/thread_view.cfm/2487
For more help or help now, check out the web chat http://www.adbuddies.org
Please visit: http://forums.afterdawn.com/thread_view.cfm/386611#2324454

This message has been edited since posting. Last time this message was edited on 11. August 2006 @ 01:17

Senior Member
_
11. August 2006 @ 06:24 _ Link to this message    Send private message to this user   
There should be one more line there.

127.0.0.1 localhost

This should be the last line of the file.

~Rich
AfterDawn Addict

1 product review
_
11. August 2006 @ 15:11 _ Link to this message    Send private message to this user   
Thanks, yeah today when I had a chance I took a look at another pc's host file. I was wondering what is the significance of 127.0.0.1? As every pc has it. And in the hosts file i looked at many entries had that same set of numbers. And in case this ever happens again. Besides copying and pasting this is there a site were I can download a host file?



"Some people have no damn sense." - Nephilim, March 27 2007 @ 18:08
AfterDawn Addict

1 product review
_
11. August 2006 @ 19:32 _ Link to this message    Send private message to this user   
Okay this is exactly how my hosts looks now . . .

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# 127.0.0.1 localhost



"Some people have no damn sense." - Nephilim, March 27 2007 @ 18:08
dolphin2
Suspended due to non-functional email address
_
11. August 2006 @ 19:57 _ Link to this message    Send private message to this user   
What is 127.0.0.1?

127.0.0.1 is the standard IP address used for a loopback network connection.


This means that if you try to connect to 127.0.0.1, you are immediately looped back to your own machine.

If you telnet, FTP, etc... to 127.0.0.1, you are connected to your own machine.

In other words, 127.0.0.1 is you.

For example, if your system was named "joker", and you attempted to telnet to 127.0.0.1, you would see:
# telnet 127.0.0.1
Trying 127.0.0.1...
Connected to joker
Escape character is '^]'.

Convincing newbie's to connect to 127.0.0.1 is a frequent joke on the Internet.

Another name for 127.0.0.1 is localhost.

Although 127.0.0.1 is the most commonly utilized address for localhost, any IP address in the 127.*.*.* range should also function in the same manner.

-------------

After all the #'s you should have 127.0.0.1 (without any # in front). It should be on a line by itself.

[img]http://img209.imageshack.us/img209/9991/7027vv1.jpg [/img]signature by ireland


Read the Forum Rules:http://forums.afterdawn.com/thread_view.cfm/2487
For more help or help now, check out the web chat http://www.adbuddies.org
Please visit: http://forums.afterdawn.com/thread_view.cfm/386611#2324454
Senior Member
_
11. August 2006 @ 22:45 _ Link to this message    Send private message to this user   
You don't need to download a host file. It's just a simple text file with no extension.

For example, you take the text you see here:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

that's your host file.


Now, copy that into Notepad. Go to file, save as..and name it hosts.txt. Save it to your desktop. Then, just right click on the file, go to rename and just remove the .txt from the end of the file name.
Dorian68
Newbie
_
12. August 2006 @ 02:05 _ Link to this message    Send private message to this user   
Best way I find is to use hoster by funky toad for managing the host file, with this you can lock the host file, append it, delete entries, reset and along with the mvsp hostfile makes a damn good setup for stopping annoying ads, I also have configged it for blocking unwanted site such as adult site ( I have kids here) and also I have put a block in for google ads too :)

[url=http://www.mvps.org/winhelp2002/hosts.txt]MVSP Host file[/url]
[url=http://www.funkytoad.com/hoster.htm]Hoster - Host File Manager[/url]

"Arthur blinked at the screens and felt he was missing something important. Suddenly he realized what it was. 'Is there any tea on this spaceship?' he asked."
Owner of Virtual Paradox - http://www.virtual-paradox.co.uk
Dorian68
Newbie
_
12. August 2006 @ 02:09 _ Link to this message    Send private message to this user   
Whoops - sorry about the links.... I see bbcode is only partially implimented here lol :p

Downloadable Host file - http://www.mvps.org/winhelp2002/hosts.txt
Hostfile Manager - http://www.funkytoad.com/hoster.htm
More Info about hostfiles - http://www.virtual-paradox.co.uk/hostfiles.htm

"Arthur blinked at the screens and felt he was missing something important. Suddenly he realized what it was. 'Is there any tea on this spaceship?' he asked."
Owner of Virtual Paradox - http://www.virtual-paradox.co.uk
Advertisement
_
__
 
_
Senior Member
_
12. August 2006 @ 07:29 _ Link to this message    Send private message to this user   
In addition to those programs, if you already use Spybot Search and Destroy, you can use it to add a list of sites that download spyware and such as well as locking the host file.

To do that, open the program, go to Mode, Advanced Mode. Click on the Tools section down near the bottom of the left hand side. Then click on where it says Host File. There you can add the appended list from Spybot's info files. You can also add your own. When you are done there, click on IE Tweaks. Make sure the "Lock Hosts file read-only as protection against hijackers" is checked. You can also lock the IE home page. This host file lock and website additions work in any browser...and runs without any user interaction.

This message has been edited since posting. Last time this message was edited on 12. August 2006 @ 07:30

afterdawn.com > forums > software, operating systems and more > windows - general discussion > corrupted hosts file or something
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork