virtual host in tomcat

i dont know if it is the right forum but i will try

for demo purpose i need to set up 2 virtual hosts in tomcat

its closed network , not connected to the internet

now i tried like million times to fallow simple tutorials about setting up virtual host but with no success

for example i like to set virtual host that will point to tomcat : webapps\tomcat-docs\appdev\sample\web

now this is what i did :

<Host name="www.my.com" appBase="webapps"><Context path="" docBase="/tomcat-docs/appdev/sample/web"/> </Host>

but when i try to serf in IE with www.my.com

its not going noware .... what todo? or what im doing wrong here ?

do i need configure something else ?

maybe on the pc im working on?

help me im getting crazy ...

[918 byte] By [Meirya] at [2007-11-26 14:40:02]
# 1
Since you are using IE I assume you are on Windows. Try adding the following line to your C:\WINDOWS\system32\drivers\etc\hosts file:127.0.0.1www.my.com
tolmanka at 2007-7-8 8:21:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...