Solved

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

Posted on 2004-10-19
1
409 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

733 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