Jahia in English > Tomcat issue

0 (0 Good)
0 (0 Bad)

Tomcat issue

by  kerrang »  2013/07/16 10:05

Hello all,

I have no experience with tomcat, but have been playing around with apache httpd for some time. The virtual site features of Jahia are very intriguing, but what is the best way to set up your system if you have e.g. mysite1.com and mysite2.com and would want them to map onto two different virtual sites in jahia?

The only thing I can come up with is putting apache httpd in front of the tomcat server and setup virtual sites for mysite1.com and mysite2.com there that would then direct their requests to the appropriate tomcat urls. Is there an easier way to do this with standalone tomcat?

Thanks wink

  • Tomcat issue
    2013/07/16 10:07

    kerrang <p> Hello all,<br /> <br /> I have no experience with tomcat, but have been playing around with apache httpd for some time. The virtual site features of Jahia are very intriguing, but what is the best way to set up your system if you have e.g. mysite1.com and mysite2.com and would want them to map onto two different virtual sites in jahia?<br /> <br /> The only thing I can come up with is putting apache httpd in front of the tomcat server and setup virtual sites for mysite1.com and mysite2.com there that would then direct their requests to the appropriate tomcat urls. Is there an easier way to do this with standalone tomcat?<br /> <br /> Thanks <a href="http://www.vixena.pl"><img alt="wink" height="20" src="https://www.jahia.com/modules/assets/javascript/ckeditor/plugins/smiley/images/wink_smile.gif" title="wink" width="20" /></a></p>

  • Number of messages  1
    Registration date Jul 16, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Tomcat issue

    by  gkrost »  2013/07/18 10:51

    The only thing I can come up with is putting apache httpd in front of the tomcat server and setup virtual sites for mysite1.com and mysite2.com there that would then direct their requests to the appropriate tomcat urls. Is there an easier way to do this with standalone tomcat?

    That is excactly what we're doing, except we use nginx instead of apache httpd. Fronting tomcat gives you more flexibility (SSL, Load-Balancing, redirects when the upstream tomcat is down, ...). I would not recommend exposing tomcat (jahia) to the web directly.

      (gkrost)

    Number of messages  12
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page