What is wrong with two domains? i.e.

www.domain1.com points to webapp1
www.domain2.com points to webapp2

Both domains need to be pointing at the same IP address i.e. the IP address
of where the webapps are hosted. Then just use virtual hosting using Apache
or Tomcat to redirect.

If you are using tomcat on its own then i think you will need to configure
virtual hosting. If you are using tomcat with apache then you will need
apache virtual hosting with the AJP connector.


On Sat, Nov 14, 2009 at 3:37 PM, Hassan Schroeder <
hassan.schroe...@gmail.com> wrote:

> On Sat, Nov 14, 2009 at 7:29 AM, Henry Loke <fsl...@yahoo.com> wrote:
> >
> > Which method is good to support 1 WebServer with Multiple Web App
> project?
> >
> > Method 1: domain Changes
>
> > Method 2 : using same domain but append different file structure
>
> > May I know what the keyword/term used in Apache Tomcat to decribe method
> 1
> > and Method 2?
>
> #1 is "virtual hosts", #2 is just the standard deployment for a single
> host.
>
> No need to google, both are covered by the Tomcat docs.
>
> --
> Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to