Sunteți pe pagina 1din 4

tH

8/18/2014
t

Articles & News

Forum

Chart

Edit Hosts File in Windows 7. - IP Address - Windows 7


For IT Pros

Brands

Shopping

Other sites

Storage

Graphics

CPUs

Cases

Tablets

Cooling

Sign in with

SEARCH TOM'S HARDWARE

T H E AU T H OR IT Y ON T EC H

TAGS :

Motherboards

Sign up | Sign in

Gaming

Smartphones

More

Free Trial - SSIS


Package
melissadata.com/sql-1
Tom's Hardware

Forum

Windows 7

Edit Hosts File in Windows 7.

CLOSED

Edit Hosts File in Windows 7.


3 solved threads

THIS TUTORIA L A DDRESSES:

By viveknayyar007,
g

IP Addre ss

DNS

SE P T E M BE R 3 0 , 2 0 1 3 8 :2 9 :0 9 P M

See all their Tutorials

W indows 7

\a
Da
*
b
a
b
b

Host files are the files used by Microsoft TCP/IP for windows. It shows the mapping of
the IP address with its corresponding Host name. It helps to access any web site or
web page easily. Mapping the IP addresses with their Host names also help to resolve
DNS issues.
DNS is responsible to map or access a web site. It translates the host name or the
web site name to its corresponding IP address, thereby providing access to the
respective web site or web page. If there is any problem in the DNS, the
communication to any web page becomes difficult.
The host files map the IP address to its Host names thereby making the DNS lookup
easy. If you specify any IP address and its corresponding host name, the work of DNS
becomes simpler, thereby making the lookup faster, and the web site can be accessed
more easily. Host files can also be used to block any web site on your system. Here,
the web site name is specified and a default IP address is set to it. Now, whenever a
user tries to access this website it is not located by the DNS.
Host files are generally READ ONLY, in other words you cannot modify them in general.
To edit a host file, you need to remove it from READ ONLY constraint and then move
it anywhere else to edit it. It can be edited using NOTEPAD.
Path to Host File
C - > Windows - > System32 - > drivers - > etc - > hosts
To edit the host file:
1. Log on to Windows with administrator account.
2. Browse to the above location.
3. Right-click the host file and from the drop down menu click on Properties.

http://www.tomshardware.com/faq/id-1821155/edit-hosts-file-windows.html

1/4

8/18/2014

Edit Hosts File in Windows 7. - IP Address - Windows 7

4. Uncheck the READ ONLY checkbox. You will be needed to provide administrator
permission to perform this task.

5. Now copy this file to some other location on your computer.

http://www.tomshardware.com/faq/id-1821155/edit-hosts-file-windows.html

2/4

8/18/2014

Edit Hosts File in Windows 7. - IP Address - Windows 7

15
Like

Ask the community

Message title

Ask your question

6. Open the copied file in Notepad.


Share

Publish

7. In the opened file, go to the bottom and add a new line specifying the IP address
of the trusted website followed by its corresponding URL.

{ Create your tutorial


8. Finally save the file.

You too, you want to help our community ?


Create tutorials to help solve their
problems!

9. Paste the file back at its original location.

All tutorials
Write a tutorial

10. Restart the computer to allow the changes to take effect.

Note: Using the above tweak, you can also block any site on your system. All you
need to do to block a website is to type IP address 127.0.0.1 followed by the URL of
the unwanted website, and restart the computer to allow the changes to take effect.

Can't find your answer ? Ask !


How...

Publish

Related resources
windows 7 is not resolving loopback ip from my hosts file
SOLVED

What is the use of host file in Windows 7

SOLUTION
SOLUTION

script to edit hosts file in xp?

FORUM

Windows ignored my hosts file location change

FORUM

Hosts windows file

FORUM

http://www.tomshardware.com/faq/id-1821155/edit-hosts-file-windows.html

3/4

8/18/2014

Edit Hosts File in Windows 7. - IP Address - Windows 7

Tom's Hardware Around the World

Subscribe to Tom's Hardware

DENMAR K

NO R W AY

FINLAND

R USSIA

FR ANC E

TUR KEY

GER MANY

UK

ITALY

USA

About Tom's Hardware


ADVER TISING

ABO UT US

C O NTAC T

PR IVAC Y

LEGAL

Search the site


E

Ok

C opyright 2014 A Purch C ompany. All Rights Reserved


Tom's Hardware Guide

Ad choices

http://www.tomshardware.com/faq/id-1821155/edit-hosts-file-windows.html

4/4

S-ar putea să vă placă și