Step 1: The Firmware
-If you aren't currently using dd-wrt, I highly recommend it; basically it adds enterprise level functions to your cheapo router (not all routers are compatible, but many popular ones are)
Step 2: Find Ip Address
Step 3: Setup
- click the 'services' tab, enter your password if neccesary
- scroll down to DNSMasq, and make sure it is enabled
- Under 'Additional DNSMasq Options' enter: address=/www.your_site.com/ip_address
ex (redirects www.youtube.com to instructables): address=/www.youtube.com/126.96.36.199
- scroll down and click apply. thats it!
Step 4: Some Thoughts
I researched how to do this because this is trivial to do to a friend with a PC by editing their hosts file while they are gone, but seeing as all my roomates have Macs, their host file is password protected.
This was my first instructable, hopefully everyone enjoyed it.