Andoni, I didn't set anything in virtual hosts in server.xml. The only thing there is the default one, localhost.
I just want to use server's hostname, not a domain name of the server. such as http://servername:8080/ accessed by other computer which is connected in our company's network. I don't think i need to set up virtual host in xml in my case. Also I found i don't get response from the server if i ping the server's hostname from other machine which is connected in our company's network. But i can ping the server by using the server's IP address. I think I might to resolve ping the se host name first. ----- Original Message ----- From: "Andoni" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, December 03, 2004 11:51 AM Subject: Re: Tomcat 5 + hostname > Post your server.xml (or at least the relevant parts) with no HTML comments > and I'll have a look. > > Failing that, read the documentation, it shows how to set up virtual hosts > in tomcat. > > Andoni. > > ----- Original Message ----- > From: "Eberle Martin" <[EMAIL PROTECTED]> > Newsgroups: gmane.comp.jakarta.tomcat.user > Sent: Friday, December 03, 2004 3:31 PM > Subject: AW: Tomcat 5 + hostname > > > Same problem here ... can't get tomcat with domain name running :( > > > -----Ursprüngliche Nachricht----- > Von: Lei Lin [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 3. Dezember 2004 15:44 > An: [EMAIL PROTECTED] > Betreff: Tomcat 5 + hostname > > Hi folks, > > We installed Tomcat 5 on Redhat Linux 9 server. In order to run our > servlet, we need to use http://hostname:8080 instead of using our server's > IP address URL eg: http://177.23.6.2:8080. The IP address URL works for our > server, but not the hostname url. Any idea? > > Thanks > > Lei > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]