Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Using the Windows OS's host file to redirect an URL to an invalid one, e.g. 127.0.0.1, 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 google.com/support/forum/p/Chrome/… 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
add comment

1 Answer

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
3  
@NamGiVU Chrome has an internal DNS prefetcher & cache. –  Sathya Apr 25 '11 at 17:51
    
it is as Nalorin's solution google.com/support/forum/p/Chrome/… . try that :) –  kokbira Apr 25 '11 at 19:06
add comment

Your Answer

 
discard

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.