Monday, May 31, 2010

Location of Hosts File in Different OS

Below are the location of the Hosts file found in various Operating Systems (OS):

Example for a Hosts File:

# 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:
# Permit this.       localhost                  # designate as the local host leave this line as is.
# This is usually the End of the Default Host File. The rest is examples.      # source server             # x client host
#This type of entries will Block specific sites.   # will resolve to Localhost, so No IBM.COM
#This type of entries will Block ads that come into a Banner from
# This type of entries give names to local Computers
# No need to type the IP the Main computer you can type Main into Address Bar.  Main 
# The computer with the Music Files will be called Music. Music

No comments:

Post a Comment

Web Analytics