Monday, September 3, 2007

SLIIT : How To Make Web Sites Load Faster

The purpose of the HOSTS file is to allow you to manually enter IP addresses associated with websites, so the DNS server can quickly resolve an address. Say you know that google.com is the IP address 64.233.187.99 — you could enter that into the HOSTS file so when your machine requests google.com, it will immediately know to go to http://64.233.187.99/.

Example

c:\windows\system32\drivers\etc\
Open the hosts file using NotePad
Add this line in the bottom
127.0.0.1 localhost
64.233.187.99 www.google.com
(XP Only)

You can add many lines as you like.
If you need to find IP's visit http://www.whois.net/

For more info Click Here

If you like to learn more about SLIIT please visit www.sliit.lk

 Subscribe To My Blog



AddThis Social Bookmark Button

1 comment:

  1. You can do the same on Linux, BSD, any Unix like software by editing /etc/hosts file as root/su.
    Format is similer to the above.

    ReplyDelete