Multi-Site in Open Source edition

23 views
Skip to first unread message

David Rawling

unread,
Jan 10, 2023, 9:04:59 AM1/10/23
to dotCMS User Group
Hi all

I'm currently evaluating dotCMS as a replacement for an old CMS for a few tiny hobby websites. The intent would be to host using the Open Source edition, because $50K a year for a set of hobby sites is a bit OTT.

I've successfully deployed the Docker version, but when I attempt to enable a second site using the documented process (https://www.dotcms.com/docs/latest/multi-site-management), it doesn't work - seemingly at all.

I have:
  • Created the DNS aliases (CNAMEs) for site-a.example.com and site-b.example.com pointing to the docker host
  • Applied site-a.example.com to the list of aliases for the default site
  • Verified that both sites load (default site should of course load for both names)
  • Created a new Site (using the Blank site option) with Site Key "siteb" and with alias site-b.example.com
When I do this, there's no indication that the operation has failed. I can successfully choose between the two sites using the drop-down list on the Site Manager > Browser page, or the Content Types page. However, there's only the default site shown at the top of the Browser folder tree, regardless of whether I choose default or siteb, and the list of Content Types matches the default site regardless of site selection.

Is this expected in the Open Source edition, or am I doing something incredibly stupid (probably the latter)?

Thanks

Will Ezell

unread,
Jan 10, 2023, 1:02:29 PM1/10/23
to dot...@googlegroups.com
No, this should work.  I don't know what version you are running but you might need to refresh your browser after you change your site selector - there was an issue with it in older versions.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/20801e73-2964-4b28-b36e-3ae27f85f1efn%40googlegroups.com.


--



382 NE 191st St #92150
Miami, Florida 33179-3899
Main: 
305-900-2001 | Direct: 978.294.9429

David Rawling

unread,
Jan 10, 2023, 10:13:17 PM1/10/23
to dotCMS User Group
Thanks Will. I'm on 22.12 (the dotAdmin logon page suggests it is "PRIME EDITION: 22.12 - DECEMBER 07, 2022"). I did try Shift+F5, and an InPrivate session, but I'll have another crack at it a little later.

Dave.

David Rawling

unread,
Jan 14, 2023, 1:00:46 AM1/14/23
to dotCMS User Group
OK confirming, it works as expected within a Guest/InPrivate session so I'm guessing I have some caching shenanigans to tune. Thanks Will.

Dave.
Reply all
Reply to author
Forward
0 new messages