Solved

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

861 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