Pointing domain to your application
- From: Gamefaqs Philippines <gamefaqsph (at) yahoo.com>
- Date: Thu, 3 Aug 2006 01:58:21 -0700 (PDT)
Hi guys, I've read about the tomcat connectors. I haven't finished doing it but I know more or less what will happen. Well... I have two domains, for simplicity sake I will use the domain names domain1.com and domain2.com which can be accesed by invoking http://www.domain1.com in your browser respectively. I need those domains to point to a particular application in a single tomcat server running on a single server/machine.
http://www.domain1.com -> xxx.xxx.xxx.xxx:8080/myapp1
http://www.domain2.com -> xxx.xxx.xxx.xxx:8080/myapp2
where xxx.xxx.xxx.xxx are two different IP addresses used by a single server/machine
I read that there's a way for apache and tomcat to communicate with mod_jk module(I'm in the process of configuring this), but I think mod_jk will probably just point to my default tomcat app which is xxx.xxx.xxx.xxx:8080. I need those domains to point to my applications. My apache web server listens on port 80 and tomcat on port 8080. They are also running on a single machine. Thank you.
---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.