On my local development machine (Windows 7), I am using IIS and XAMPP to develop websites. Because it is unclear when I have multiple websits running, I am tried to rewrite the hosts file (C:\Windows\System32\drivers\etc). I added this following line of code
127.0.0.1/joomla joomla
Navigating my browser (I tried it with IE and FF) to 127.0.0.1/joomla works fine, but just typing in "joomla" won't work. I get immediately redirected to Google (i.e. http://www.google.com/search?q=joomla&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a). Also specifying other ports doesn't work (for example: "localhost:8080 someproject" for IIS).
Is there a reason why it won't work? Are there other solutions which also accomplish my "problem" (easier handling with dozen of local running websites, i.e. "more readable URLs")?