Case: Use an external commenting system for a public site

Let's say we want to:

  • Make one or more Confluence spaces publicly viewable on a custom host name, and

  • Allow guest visitors to comment the content using an external commenting system like Disqus or Livefyre.

This is easy to do with Domain Booster - there's a live sample on

Host name: (Note that you can use any domain under your control)

Spaces: P (where P is Confluence space key with public access rights)

Options enabled:

  • Limit Confluence search to listed Spaces

  • Update canonical link in documents to point to this host

  • Hide Confluence Comments

  • Hide Confluence Likes

Home Page Path: /wiki/display/P/

Forbidden Paths for Anonymous Users:


Page Content Outer End

<div id="disqus_thread"></div>
var pageUrl = AJS.$('link[rel=canonical]').attr('href');
var pageId = AJS.Meta.get("page-id");
if(pageUrl && pageId) {
var disqus_config = function () { = pageUrl; = pageId;
(function() {
var d = document, s = d.createElement('script');
s.src = '//'; // IMPORTANT: Update with hostname defined in Disqus
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
<noscript>Please enable JavaScript to view the <a href="">comments powered by Disqus.</a></noscript>

HTML Body End - we're using it to load Disqus JavaScript

<script id="dsq-count-scr" src="//" async></script>

comments powered by Disqus