Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Using the Windows OS's host file to redirect an URL to an invalid one, e.g., will help me to stop that URL in Internet Explorer and Firefox but not in Google Chrome.

How can I do that in the Chrome browser?

share|improve this question
And why do you need to do this? I don't see a point in having Chrome installed unless you're going to use it to browse the web. That is what it's for, anyway. – ephilip Apr 25 '11 at 14:43
@kokbira Will uninstall your comment first if possible ^_^ – Nam G VU Apr 25 '11 at 17:26
@ephilip I want to test my website my friend! My website has different UI based on which urls are accessible or not. – Nam G VU Apr 25 '11 at 17:27
Are you putting "http://" or "https://" before hostname in URL bar? According to @thecoolestguy in… it can be the problem... Another note: the question would be better if you change from "How to make a web inaccessible from Chrome?" to "How to make a web inaccessible from Chrome for an address?" or "How to redirect an url to an invalid one on Chrome?".. – kokbira Apr 25 '11 at 19:12
Ohh, I'm sorry. I was a bit mislead by your title. It wasn't clear enough. I thought you wanted to make the whole web inaccessible. I suggested an edit to make your title clearer. – ephilip Apr 25 '11 at 20:30

Try clearing the cache in Chrome.

  1. Browse to chrome://settings/advanced.
  2. Click the Clear browsing data... button.
  3. Check only the Empty the cache checkbox.
  4. Click the Clear browsing data button.
share|improve this answer
In IE & Firefox, I don't need to clear any cache... – Nam G VU Apr 25 '11 at 17:26
@NamGiVU Chrome has an internal DNS prefetcher & cache. – Sathya Apr 25 '11 at 17:51
it is as Nalorin's solution… . try that :) – kokbira Apr 25 '11 at 19:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .