kojok
17-02-2010, 19:21
I am looking for method to redirect http requests made from hosts connected to router to another address.
For example:
If somebody tries to open page foo.com or foo.com/baz etc., then it should be redirected to bar.com/example
I know that similar efect could be done with DNS, but it would result in redirection from 'foo.com' to 'bar.com' or 'foo.com/baz' to 'bar.com/baz', and not from 'foo.com/baz' to 'bar.com/example'.
For example:
If somebody tries to open page foo.com or foo.com/baz etc., then it should be redirected to bar.com/example
I know that similar efect could be done with DNS, but it would result in redirection from 'foo.com' to 'bar.com' or 'foo.com/baz' to 'bar.com/baz', and not from 'foo.com/baz' to 'bar.com/example'.