Question : How to redirect browser URL entries?

Here is an example...if your default search provider is Google..and you go to your browser and type "shoes" by default it goes to Google site and searches for shoes..
Likewise, how do i redirect my requests..as required below..
If I type "site1" in the browser, it should take me to the site "http://localhost/site1"
likewise for all other sites..."site2" should take me to "http://locahost/site2"
consider that site 1 and site 2 are hosted locally on the machine.

Is this even possible?

Answer : How to redirect browser URL entries?

Random Solutions  
 
programming4us programming4us