stefan2902
New Member
Tomcat Apache2 mod_jk virtueller Host
Hallo,
auch ich bin neu in der Serveradministration und habe ich eine Frage.
Hintergrund
Ich habe einen V-Server von Strato wie folgt eingerichtet, da ich WebApps mit Java deployen und auf einzelne "de-domainen" umleiten möchte:
- Ubuntu 10.04
- Apache2
- Tomcat7
- mod_jk
- MySql
- PHPMYAdmin
Das scheint auch alles gut prima zu funktionieren. Apache2 hört auf Port 80, Tomcat7 hört auf Port 8080.
Mein Problem oder eher Frage lautet:
Ich habe eine weitere "de-domäne" registriert und möchte diese auf eine WebApp aus dem Tomcat Verzeichnis umleiten. Sowas wie:
www.meinedomaene.de auf /usr/share/tomcat7/webapps/meineapp.
Ich habe im Internet ein wenig referchiert und denke ich muss VirtualHosts einrichten?! Ich habe das von folgender Seite: http://diegobenna.blogspot.de/2011/01/connect-tomcat-7-with-apache2-modjk-and.html
Da ich jedoch nicht meine ganze Installation gefähren möchte, habe ich mich gefragt, ob mir jemand sagen kann, was ich im Minimum tun muss, um das zu erreichen? Muss ich z.B. auch meine /etc/hosts anpassen? Wäre toll, wenn mir jemand damit weiterhelfen könnte.
Gruß
Stefan
Hallo,
auch ich bin neu in der Serveradministration und habe ich eine Frage.
Hintergrund
Ich habe einen V-Server von Strato wie folgt eingerichtet, da ich WebApps mit Java deployen und auf einzelne "de-domainen" umleiten möchte:
- Ubuntu 10.04
- Apache2
- Tomcat7
- mod_jk
- MySql
- PHPMYAdmin
Das scheint auch alles gut prima zu funktionieren. Apache2 hört auf Port 80, Tomcat7 hört auf Port 8080.
Mein Problem oder eher Frage lautet:
Ich habe eine weitere "de-domäne" registriert und möchte diese auf eine WebApp aus dem Tomcat Verzeichnis umleiten. Sowas wie:
www.meinedomaene.de auf /usr/share/tomcat7/webapps/meineapp.
Ich habe im Internet ein wenig referchiert und denke ich muss VirtualHosts einrichten?! Ich habe das von folgender Seite: http://diegobenna.blogspot.de/2011/01/connect-tomcat-7-with-apache2-modjk-and.html
Da ich jedoch nicht meine ganze Installation gefähren möchte, habe ich mich gefragt, ob mir jemand sagen kann, was ich im Minimum tun muss, um das zu erreichen? Muss ich z.B. auch meine /etc/hosts anpassen? Wäre toll, wenn mir jemand damit weiterhelfen könnte.
Gruß
Stefan
Last edited by a moderator: