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:///www.google.co.uk/ they redirect to my local web server.
In your router you will have a route like this: destination 0.0.0.0 gateway 22.214.171.124 (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.