Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't know how to explain that but I want to do the same like if I got in my hosts file any host to resolve but in a network scope. when the try to access to some website like http:/// they redirect to my local web server.

share|improve this question
Do you mean that for any device on your network, if someone tries to go to, they instead go to your webserver? Would this be for all sites, or just a few? – Paul Feb 25 '13 at 23:10

In your router you will have a route like this: destination gateway (your network may be different). Change the destination address to the local webserver you want your traffic to point at. Keep in mind this change will keep any traffic from leaving your local network, effectively cutting internet access to your network. This may or may not be possible on your router depending on how advanced it is. In the end you are changing your routers default route.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.