Thanks for responses:
I did have a hosts file in my Drivers/etc so here it is. I added the 199.9.9.99
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
199.9.9.99   devSite

That is not of course the IP of my machine, I just made it up.

Then I updated my server.xml file like so:
<Engine name="Catalina" defaultHost="localhost">
     <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
            resourceName="UserDatabase" />

     <Host name="localhost" appBase="webapps">

     </Host>

     <Host name="devSite" debug="0" appBase="/dev"
        unpackWARs="true" autoDeploy="true">
            <Context path="" docBase=""
                 debug="5" reloadable="true" crossContext="true" />

      </Host>
   </Engine>

But when I hit [http://devSite], I get a timeout error?
Any ideas? I also tried http://199.9.9.99 but nothing?



On 12/13/06, EDMOND KEMOKAI <[EMAIL PROTECTED]> wrote:
nice to know that.

On 12/13/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
>
> On 12/13/06, EDMOND KEMOKAI <[EMAIL PROTECTED]> wrote:
> > How do expect that it will resolve the name dev without DNS?
>
> DNS is not the only name resolution mechanism :-)
>
> For desktop development use, just put all the alias hostnames you
> want in your own /etc/hosts file (or for those stuck on Windows, in
> something like c:\WINDOWS\system32\drrivers\etc\hosts).
>
> An easy and convenient way to separate projects that each need
> (or expect) their own ROOT context.
>
> FWIW,
> --
> Hassan Schroeder ------------------------ [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to