Solved

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

Posted on 2004-10-19
1
405 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C Drive Read / Write 10 132
XP machine unable to logon 13 56
How do I install an application contained in an iso file 5 122
Windows 7 and Pro update issues 5 87
Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

19 Experts available now in Live!

Get 1:1 Help Now