If you are using windows you could try added a line like the following
to the c:\WINDOWS\system32\drivers\etc\hosts file.
127.0.0.1 www.virtualhost1.com
Then open www.virtualhost1.com in your web browser. the same this
should be possible from linux but i dont have my linux hat on at the
On 9/21/06, Samsamoddin Rajaei [EMAIL PROTECTED] wrote:
I am trying to test my virtual hosts and my tomcat configuration on my
local pc (Windows XP).
When I start tomcat they are no exceptions and everything seems to be ok.
When I call the page http://127.0.0.1:9080/; I see the defaultHost
Thank you,
it should be the answer. I must only find which service or program uses
the file hosts, because I can not modify it (it is not read only)!
Sam
If you are using windows you could try added a line like the following
to the c:\WINDOWS\system32\drivers\etc\hosts file.
127.0.0.1