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

Simply put, I want to redirect to

I put this in the hosts file on windows, saved it, and flushed the DNS cache:

But when I try to visit, I get a timeout error, and it's not redirecting me to


It's not a web browser cache issue, as I've tried with multiple browsers (Firefox, Chrome)

share|improve this question
up vote 2 down vote accepted

When you do a dig you also get, same as dig So probably all pages are actually accessed through the same IP. The webserver figures out which page to serve to you depending on the Host field in the HTTP-Request headers. (See apache's virtual hosts for example). To change which page is requested you'd have to modify the Http headers. This is probably best done with a browser plugin of some sort.

Edit: There doesn't seem to be a premade tool for changing http headers only on certain domains. But maybe you could use this: Firefox Redirector?

share|improve this answer
Thanks! That would explain a lot. – vemacs Jan 14 '13 at 3:14

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.