Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-10-19
1
Medium Priority
?
425 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 200 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
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…
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…
Screencast - Getting to Know the Pipeline

963 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