How to add hardcoded hosts

jeden

Regular Contributor
For example let's say I want potato.com to resolve to 123.123.123.123 whilst I'm in my LAN. How can I do that? I tried adding it to etc hosts and it did not work.
 

Wuffles

Occasional Visitor
Rather than start a new thread asking exactly this question (which I am happy to do if people would rather), I've tried doing the above and it's not working for me. I expect it's a formatting error, so is there an example hosts.add file knocking about? Tried searching, can't seem to find it.

Many thanks.
 

ColinTaylor

Part of the Furniture
hosts.add is in exactly the same format as the hosts files, e.g.
Code:
192.168.1.55 donaldduck.com
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top