(2) Map IP Addresses
This method allows you to create settings for individual domains without altering your main DNS preferences. This is useful if you don’t have access to a DNS or if you want to specify the location of a single domain without interfering with any of your other online activities.
Open the following file in a plain text editor such as Notepad:
The file looks like the one below. At the end of the file (in this case, under the localhost entry), enter the IP and domain you wish to specify. When your browser attempts to access a domain it refers to this file first – if the domain is found here then the specified IP address will be used. If the domain is not found here, then the normal DNS server (as specified above) will be used.