No I don't own a domain.I just want to configure an application in LAN.But want that other person don't need to type the IP address.I want to type a predefined url.For that reason I want the virtual host.Also I have written earlier that I am new to JBoss, so I dont know how to configure AccessLogValve.
Suddhasattwa Mukherjee wrote:Can you please tell me where to find hosts file?
On *nix Operating system its under /etc/hosts. For Windows its unders system32/drivers/etc/hosts (if i remember correctly). A system search will show up the file.
Also can it not be possible to have the url without the Ip address?
Sorry, i did not understand this question. Which IP address are we talking about?
Joined: May 28, 2008
I found the host file at the location C:\system32\driver\etc\.For the second question I was wrong.I want to have url where no port will be visible.
Joined: May 14, 2008
There is always a port, but the browser just hides it from the user if its the standard HTTP port (80). You can either configure the Tomcat/JBossWeb connector in server.xml to use port 80, or you can use a load balancer that is configured to use port 80. The load-balancer can be hardware or software (such as Apache/IIS using mod_jk or mod_proxy to point to JBoss).