Sounds like the easiest solution would be to update your router to point to the other machine for requests to kpax.mydomain.com:80.
Barring that, if you are using Apache to serve the static content of your sites, you may be able to use mod_rewrite to achieve the desired result. Check out the mod_rewrite users guide for some ideas: http://www.engelschall.com/pw/apache/rewriteguide/#ToC2 -August --- "Campano, Troy" <[EMAIL PROTECTED]> wrote: > But what if the machine is a PHYSICAL separate machine? > > My router tells anything requesting a web page on port 80 to go to > www.mydomain.com. SO even through kpax.mydomain.com is a separate > machine, > it goes to www.mydomain.com because the router directs and on port 80 > there. > > > > If this doesn't work, anyone have a good example with Apache 1.3.x > and > Tomcat 4.0.1 with mod_jk? > > > I've looked everywhere and can't find any examples that work. > > > Thanks again! > > -----Original Message----- > From: felix [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 03, 2001 2:23 PM > To: Tomcat Users List > Subject: Re: Tomcat Virtual/Named Hosts? > > > > perhaps: > > <Host name="mydomain.com" > > <Context path="" > docBase="/home/royal/public_html" /> > </Host> > > <Host name="www.mydomain.com" > > <Context path="" > docBase="/home/royal/public_html" /> > </Host> > > <Host name="kpax.mydomain.com" > > <Context path="" > docBase="/home/royal/public_html" /> > </Host> > > > > > From: [EMAIL PROTECTED] > > Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > > Date: Mon, 3 Dec 2001 11:04:57 -0500 > > To: [EMAIL PROTECTED] > > Subject: Tomcat Virtual/Named Hosts? > > > > Would anybody be able to help me out with this? > > > > > > I have a TOMCAT server at www.mydomain.com <www.mydomain.com> and > > it's working on the regular port 80. I was wondering if there is a > way > > I could set it up so, if I get a request to kpax.mydomain.com that > it > > would go to that server. > > > > Right now all requests to anything.mydomain.com all go to that > > www.mydomain.com <www.mydomain.com> web server. > > > > > > Is there any type of configuration I could to map kpax.mydomain.com > to > > that server? > > > > > > > > Any help would be appreciated. > > > > > > Thank you! > > > > > > > > > > [:==> Troy Campano <==:] > > > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
