[opencms-dev] Struggling to get multiple sites working with OpenCms 13 on Debian 11

Hawke R hawkenterprising at gmail.com
Sun Oct 2 20:22:07 CEST 2022


Greetings,

Can anyone point me to an actually working up to date guide for hosting
multiple domains / websites on one OpenCMS 13 install? Everything I'm
finding is for ancient versions 6, 7, & 9, and following those instructions
has not lead to a working multi-site setup.
And directions for version 13 hiding somewhere?

Goal (there will be many more sites, but start with just the OpenCMS
administrative site, and then 2 other sites
Admin site: opencms.<domain>.<.tld>:8080/opencms/workplace
<domain1>.<tld> on ports 80 and 443 working with letsencrypt, serving up
opencms website1
<domain2>.<tld> on ports 80 and 443 working with letsencrypt, serving up
opencms website2

Thanks for any suggestions!


More information below if needed:
I am new to OpenCMS, and hoping to move a lot of our sites over to it.
I have picked a couple of guinea sites to start.
I can easily get the default site up and running, with access via port 8080.
I can add Apache (or nginx) and reverse_proxy to hide the port 8080.
However, when I try to add a second site, I keep running some issues I'm
struggling to work through:
1. Setup 2 sites, but only the first site is shown for both domains
or
2. 2 sites, each different, but get loopback issues if I try to use the
example templates.

So I blew away both nginx and apache, and have been trying to just use
Tomcat on ports80 and 443 native, and skip the reverse proxy and added
server layers. I can get that to work to serve up one site or the other,
but not both. And when I do so, I can no longer get to the administrative
interface on 8080.

I've reset the entire system 4 or 5 times now, trying to figure out what
I'm missing. I've tried a range of tutorials (mostly only available for
older versions regarding the multisite features).

OpenCMS version: 13
OS version: Debian GNU/Linux 11 (bullseye), Debian 5.10.140-1 kernel
Tomcat version: 9.0.43
Node version: 12.22.12
MariaDB: 15.1 Distrib 10.5.15
Any other version information that would be helpful?
Thanks kindly!
--
-Hawke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20221002/823813c7/attachment.htm>


More information about the opencms-dev mailing list