tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EDMOND KEMOKAI" <ekemo...@gmail.com>
Subject Re: Host element question
Date Wed, 13 Dec 2006 15:57:26 GMT
How do expect that it will resolve the name dev without DNS? you can try
using an IP address if you don't have DNS server.

On 12/13/06, Jim Reynolds <jim.jreynold@gmail.com> wrote:
>
> Hello,
>
> Every new install of Tomcat always has a <Host name of localhost> and
> that is good.
>
> If I do not have a DNS entry, can I create another <Host> and use a
> name of something bogus? Something for me to play with on my local PC?
>
> I tried something like this:
> <Host name="localhost" appBase="webapps">
>
>       </Host>
>
>       <Host name="dev" debug="0" appBase="devme"
>          unpackWARs="true" autoDeploy="true">
>              <Context path="" docBase=""
>                   debug="5" reloadable="true" crossContext="true" />
>
>        </Host>
>
> And if I hit http://localhost all is happy
> But if I hit http://dev nothing pops up?
>
> Anyone?
>
> Thanks,
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
"talk trash and carry a small stick."
PAUL KRUGMAN (NYT)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message