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.
127.0.0.1 localhost # designate 127.0.0.1 as the local host leave this line as is.
# This is usually the End of the Default Host File. The rest is examples.
102.54.94.97 rhino.acme.com # source server
38.25.63.10 x.acme.com # x client host
#This type of entries will Block specific sites.
127.0.0.1 ibm.com # will resolve to Localhost, so No IBM.COM
#This type of entries will Block ads that come into a Banner from ads.acme.com.
127.0.0.1 ads.acme.com
# 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.
192.168.0.1 Main
# The computer with the Music Files will be called Music.
192.168.0.3 Music
No comments:
Post a Comment