Results 1 to 5 of 5

Thread: HOSTS file

  1. #1
    Senior Member Info_Au's Avatar
    Join Date
    Jul 2001

    HOSTS file

    I had used a spamblocker recently and when i removed it from use it corrupted the hosts file.
    Each time i scan with AVG it says "Hosts file" unreadable.

    Does anybody have a "HOSTS" file that can be posted here in text format?
    So i can replace the one i have.

    XP Windows computer.

  2. #2
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    I think it looks like this

    # Copyright (c) 1998 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP stack for Windows98
    # 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:
    # rhino.acme.com # source server
    # x.acme.com # x client host localhost
    I came in to the world with nothing. I still have most of it.

  3. #3
    Senior Member t34b4g5's Avatar
    Join Date
    Sep 2003
    Here's a copy of my Host file, it's zipped up as the file size was a little bigger then the amount allowed for .txt files
    Attached Files Attached Files

  4. #4
    AO όbergeek phishphreek's Avatar
    Join Date
    Jan 2002
    t34b4g5: Your hosts file is so large because you have all those entries in there. By default, the hosts file has only one entry for localhost.

    All of those entries look like they were applied by spybot search and destroy.

    Info_AU: I recommend you just use the default hosts file that rcgreen posted. Just be sure when you save it that it is just "hosts" and doesn't have any extension such as .txt.

    If you want the entries that t34b4g5 has, then simply install spybot search and destroy and use the immunize feature. It'll be more complete then just modifying the hosts file.

    The hosts file is stored in %windir%\system32\drivers\etc

    %windir% is your windows installation directory.
    Most systems have it in c:\windows but some have it in c:\winnt. You can actually choose it's location when you install windows. Typing %windir% in the Start --> Run box will bring you right to yours.
    Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.

  5. #5
    Senior Member Info_Au's Avatar
    Join Date
    Jul 2001
    Thanks for the help.

    I had googled it and found ones that were made in 1998 and others that had lots of other lines added and not knowing what would be there as "default".
    I could not trust any of them.

    Problem solved.

Similar Threads

  1. How to Create bat files....
    By cool_boy in forum General Computer Discussions
    Replies: 3
    Last Post: June 29th, 2006, 02:45 AM
  2. Basic Hosts File Banner Ad-Blocking Tutorial
    By xierox in forum Other Tutorials Forum
    Replies: 0
    Last Post: March 5th, 2005, 04:34 AM
  3. Windows 2000 Tips
    By Nokia in forum Tips and Tricks
    Replies: 0
    Last Post: June 12th, 2004, 05:13 PM
  4. Solaris Hardening
    By R0n1n in forum *nix Security Discussions
    Replies: 3
    Last Post: November 20th, 2002, 01:20 PM
  5. Black Wolf's Guide to Memory Resident Viruses.
    By ahmedmamuda in forum AntiVirus Discussions
    Replies: 2
    Last Post: March 20th, 2002, 01:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.