|
|
|||
|
Windows HOSTS file
What’s HOSTS file
Normally, you will use DNS to resolve a host name to an IP address. The Hosts file is another way to resolve a host name to an IP address through a locally stored text file that contains IP-address-to-host-name mappings. On most UNIX-based computers, this file is /etc/hosts. On Windows-based computers, this file is the Hosts file in the systemroot\System32\Drivers\Etc folder. There are many reasons that you might still need to use a HOSTS file. Here are some of them. 1. Your router doesn't support loopback. Check this case. 2. Speeding Up Browsing. If a HOSTS file exists in the Windows folder, it is automatically searched during any process using the Windows TCP/IP stack. The search is done first before any attempt to find a DNS server is made. So that you can speed up to find a Web site if you can resolve IP addresses using HOSTS file instead of waiting for a DNS server. Especially, if you have a slow connection and want to access some web site faster. 3. You setup a web site at home for test without a DNS server. HOSTS file is a text file. You can read, edit, or creat using Notepad or other text editor. The format of the HOSTS file looks like ths 64.176.153.103 chicagotech.net 64.176.153.103 www.chicagotech.net Just remember when you save the HOSTS file, be sure to save the file with no extension. To do that, save as “hosts”, including the quotation marks. To test it, ping the domain name for example ping www.chicagotech.net. It should display 64.176.153.103. HOSTS file Troubleshooting and restriction
Post your questions, comments, feedbacks and suggestions Related Topics Previous Page Next Page |
|
|
This web is provided "AS IS" with no warranties.
Copyright © 2002-2018
ChicagoTech.net,
All rights reserved. Unauthorized reproduction forbidden.