| Author |
Two domain names to Two applications in same server
|
Tokai Moshai
Greenhorn
Joined: May 24, 2006
Posts: 16
|
|
Hello, here is what want to do. I have one machine running tomcat 5.0.28 on FC3. I have two web applications running there: appone and apptwo I have two domain names: www.domainappone.com www.domainapptwo.com what I want is, when I type www.domainappone.com, it goes straight to appone, and http://www.domainappone.com/ is shown on browser address bar. Same is true for 2nd one: when typed www.domainapptwo.com, it goes to apptwo and http://www.doaminapptwo.com/ is shown on the browser address bar. Q 1: is it possible to do it with one tomcat server running? Q 2: If one is true, how? some general directons would be good enough Q 3: if 1 is false, can I run two instances of tomcat on FC3? Q 4: if 3 is true, how? again, some general directions would be fine. Thanks a lot.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
Yes, look up the concept of "virtual host".
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Tokai Moshai
Greenhorn
Joined: May 24, 2006
Posts: 16
|
|
|
Thanks Sheriff. I'll take it from there.
|
 |
 |
|
|
subject: Two domain names to Two applications in same server
|
|
|