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 know you can use the hosts file to redirect requests from a certain domain to a different domain (adding would make all requests from instead go to I want to know if there is a way to do this only on certain directories instead of the whole domain. For example, lets say I only want requests from to go to, but I want requests to other parts of google to go normally, to the website. Can I do this with a hosts file? If not, can I do it with a proxy? If so, I would like specific directions on how to do it.

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.