Unofficial Google Translate Firefox Extension
Most Common Passwords
Make Windows Run Faster
Pycron: Cron Jobs on Windows
Free Windows Hotkey Macros
Windows: Start programs minimized
Spoof domains with the hosts file
See all 7 posts
Computer Tricks RSS
video tutorials (123)
funny pictures (41)
amazing videos (27)
hilarious videos (26)
amazing pictures (21)
php tutorials (8)
computer tricks (7)
personal updates (6)
cat videos (5)
youtube tips (3)
fake news (2)
Best of Internet
Streaming Anime Episodes
Free Video Tutorials
Best of Youtube
MP3s From Google
Free Online Education
Funny Pictures Blog
Video Game Sheet Music
Free Movies Online
|Spoof domains with the hosts file Posted on Wednesday, February 13 2008|
The changes you make will obviously not affect anyone else, but you can change any domain to point to wherever you want using the hosts file. eg. make google.com point to your homepage, or make http://a/ go to your localhost. In fact, the hosts file is where "localhost" is defined. You can make modifications for pranks, convenience, or even spam blocking.
This works on most operating systems. Here's the corresponding locations.
- Windows NT/2000/XP/Vista: %SystemRoot%system32driversetc is the default location, which may be changed.
- Windows 95/98/Me: %WinDir%
- Linux and other Unix-like operating systems: /etc
- Mac OS 9 and earlier: System Folder: Preferences or System folder (format of the file may vary from Windows and Linux counterparts)
- Mac OS X: /private/etc (uses BSD-style Hosts file)
This word make the domain www.google.com redirect to your local ip. To edit it, just drag it into a text editor. If you have apache running, you could make a fake hacked by you page to fool your friends. Redirecting a spam pack to an invalid IP is also a good idea. You could also use it to redirect myspace to an educational page if you're a controlling paranoid parent.
Hosts file spam block list
This site has a great spam blocking hosts file that gets rid of tons of ads. Clicking the bat file will install it automatically on windows. If you don't have windows you can just edit the hosts file from the locations specified above.
Tags: spam block hosts file, redirect domains to ips, block domains windows, block sites, mac linux, osx, prank
More OMFG-Good LinksSee all Posts in the Funny Pictures category.
Download mp3s faster than limewire using google.
I've made 100+ free video tutorials.
See the best of the internet today on one page.