Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




create host entry with hosts file

(1) Go to Start > Run

(2) Write "Drivers" there (without quotes)



or

You may go to drivers folder in
C drive is where the operating system is present.

C:\WINDOWS\system32\drivers


(3) Go to etc folder

(4) Open "hosts" file in note pad. (right click on "hosts" file, click open and then select notepad or any text editor.

(5) Write there

				127.0.0.1       yahoo.com 
		

(6) save the file.

Now every request to yahoo will go through 127.0.0.1.

Share this article   |    Print    |    Article read by 3030 times
Author:
Rohit kakria
I am software developer, moderator of xpode.com
Related Articles:
Related Interview Questions: No related interview question