Use hosts file to redirect all HTTP requests to a single address

pulse8

Lifer
May 3, 2000
20,860
1
81
1) Try it on your own machine and see if it works.

2) You're posting in the wrong forum.
 

FoBoT

No Lifer
Apr 30, 2001
63,084
15
81
fobot.com
you cannot use wildcards in hosts files

you could disable DNS and then have a single entry for google in your hosts file, that way google would be the only name that would resolve
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Doesn't .hosts work the other way around? It translates a hostname to an ip address, not an ip address to a hostname.