Solved

The hosts file in C:\WINDOWS\system32\drivers\etc

Posted on 2004-10-19
1
404 Views
Last Modified: 2012-05-05
Hi Experts,

Can u tell u why the host file in C:\WINDOWS\system32\drivers\etc need to add a row of IP and url in order to visit certain sites.

If i don't add that row, i won't be able to go to the site.

Thanks
0
Comment
Question by:ricjava
1 Comment
 
LVL 11

Accepted Solution

by:
KaliKoder earned 50 total points
ID: 12355397
Hello Ricjava,

The hosts file is needed when the DNS is not working or the DNS name you put in your browser does not resolve. For example, if for some reason you type http://somefictioussite.com , and your system does not know how to resolve the domain somefictioussite.com to a numeric ip address (due to DNS issues etc), then if you had an entry in the hosts file for the domain somefictioussite.com , the computer / browser would be able to resolve the name to ip and you would be able to browse the site. For a detailed explanation, look at the following url:

http://www.realcomputerguy.com/hosts.htm

Hope that answered your question!

Thanks and Good Luck!
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now