SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows 7

(Solved) - Use host file to redirect Win7

(5 posts)
  • Started 1 year ago by eprunty
  • Latest reply from eprunty
  • Topic Viewed 582 times

eprunty
Posts: 5

Hello! I am trying to use the host file in Windows 7 to redirect specific URLs and have not been having any luck. I'm not even 100% sure that this is possible. This is what I am trying to do:

I want to redirect some.site.com/something/somethingelse to 127.0.0.1
I still need to have access to some.site.com
I am able to redirect some.site.com/something/somethingelse by using some.site.com 127.0.0.1, but again I still need access to some.site.com.

Does anyone know if this will work? Or maybe if there is a better way to do this? Any feedback will be greatly appreciated. Thanks!!

Posted 1 year ago
Top
 
StringJunky
Posts: 2454

I think you can only block whole websites as you can only use the IP to describe it which doesn't subdivide to it's component pages...could be wrong though.

I tried in Restricted Sites of IE9 but that only works for the whole website and not just a section as well.

Posted 1 year ago
Top
 
eprunty
Posts: 5

That's what I was thinking too. Any other ideas from anyone else?

Posted 1 year ago
Top
 
vistamike
Posts: 10945

http://www.howtogeek.com/howto.....osts-file/

Posted 1 year ago
Top
 
eprunty
Posts: 5

So I guess it is not possible. Thank you.

Accepted Answer · Posted 1 year ago
Top
 



Topic Closed

This topic has been closed to new replies.