Re: Unable to access site without DNS Well, most web site don't just have 1 web server, many other things are located on different servers or domain. So using a HOST file will most certainly not work unless you add every IP to domain entry. The reason you use DNS is to not deal with HOST file in the first place.
Take for example yahoo.com, if you put an entry for yahoo.com with it's associated IP address in the HOST file. When the user type www.yahoo.com into the web browser, the computer default behavior is to look at it's HOST file first before contacting a DNS server. It will try to look for an entry of www.yahoo.com and will not find it, because the only entry is yahoo.com and they are two different entry to the HOST file. If the user type yahoo.com into the browser it will work. If the user clicks on a link that goes to email.yahoo.com, it will not work, because there is no entry, you must also put an entry for every link. Good luck :eek:
Last edited by Law; 05-08-2007 at 01:30 AM.
|