mapping ip addresses to domain names

rojay

Member
Dec 22, 2000
56
0
0
Pretty self explanatory title . . . how could I force a computer to go to a specific website (for example, www.anandtech.com) if they tried to go to an ip address that wasn't www.anandtech.com? Is there a simple way to do this, something comparable to the 'hosts' file in Windows that sends a specific website to a specific ip?
 

MulLa

Golden Member
Jun 20, 2000
1,755
0
0
I guess you can do it through your regular HOSTS file too. Since HOSTS files are checked first during the name resolution process before the DNS server.