Hosts File Modification Method
Hosts file is a computer file used by the operating system to map hostnames to IP addresses. Hosts file is a plain text file sebuat (plain-text) and name the file called 'hosts'.
Usability.
Hosts file is one of the facilities of some systems to assist in dealing addressing points (nodes) on a computer network. This is part of an implementation of the operating system Internet Protocol (IP), and serves the function of translating hostnames to understand the human (human-friendly hostnames) to the numerical address protocol, called IP addresses, which identify and find a host within the IP network.
In some operating systems, hosts file content is used for other methods, such as Domain Name System (DNS). But many systems implement the name service switches (eg: nsswitch.conf) to provide customization. In contrast to DNS, hosts file is under the direct control of the local computer administrator.
Contents File.
Hosts file contains a line of text that consists of an IP address in the text first followed by one or more hostnames. Each field is separated by a space. Line comments can be added by adding a hash character (#) positioned the first row. Here's an example:
# This is a sample hosts file contents
127.0.0.1 localhost loopback
:: 1 localhost
The example above is an example of the contents of the default hosts file, example illustrates that the IP address may have multiple hostnames, and that the host name can be mapped to multiple IP addresses.
The location within the file system
Location of hosts file from multiple operating systems:
Tutorial how to make changes (modify) the hosts file on Windows 7.
Here's how to make changes to the hosts file on Windows 7 Operating System:
Click the Start menu -> All programs -> Accessories
Right-click on the notepad
Select Run as administrator
In notepad, click "File"> "Open"
Open the folder: "C: Windows System32 drivers etc"
Select All Files instead of Text Documents
Select the file named "hosts"
Add the IP address and domain into the last row
Example: 207.58.129.91 namadomain.com
Save the file
After that, when accessed from the browser's domain name, it will lead to IP addresses that already gives a chance.


Twitter
Youtube
Digg
Delicious
StumbleUpon
Facebook