Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence Questions set up like answers.atlassian.com

Hi,

We'd like to have a similar page set up like answers.atlassian.com using Confluence Questions.

The requirements are:

  • separate domain from Confluence (eg. answers.xy.com while Confluence is wiki.xy.com) - not a simple redirect
  • SSO using crowd

Well, that's it. Is this possible? What do I need to do to have a setup like that?

 

1 answer

If you cannot live with a redirect, it will have to be a separate installation of Confluence. That will mean a separate license too. 

Thanks for the answer.

A simple url redirect would be, well, not the desired solution.

Is it possible to setup some Apache magic maybe (or something similar) to serve /questions on a different domain? I'm also fine with the services being xy.com/wiki and xy.com/answers if this makes it easier.

Yes, it won't be a simple redirect. It will be done by Apache or something similar. That should be possible. Unfortunately, I do not have any code to share.

There is no problem in using Apache as a proxy and whatever domain you wish (I believe it is not fully supported meaning if you have problems concerning that part of the setup, you may get support, but it is not guaranteed). Confluence uses a server base url (https://confluence.atlassian.com/conf510/configuring-the-server-base-url-829078159.html) which might cause problems if you intend to serve the same instance from different urls.

That being said, here's a sample Apache configuration so you can find out by yourself. I've changed and removed a lot of lines, so treat this only as an example:

<VirtualHost APACHE_IP:80>
  ServerName answers.domain.com 
  
  ErrorLog "/var/log/apache2/answers_error.log"
  TransferLog "/var/log/apache2/answers_access.log"
  
  ProxyTimeout 30
  ProxyRequests Off
  ProxyPreserveHost On
  
  <Location />
    Order allow,deny
    Allow from all
    ProxyPass  http://CONFLUENCE_IP:8090 ttl=5 timeout=300 retry=0
    ProxyPassReverse  http://CONFLUENCE_IP:8090
  </Location>
</VirtualHost>

Proxying to /questions is something I don't know how to solve since css, js and other files seem to be fetched relative to the context path provided in the server.xml and not the full Base URL.

PS. I personally use AJP instead of HTTP for the proxy https://confluence.atlassian.com/adminjiraserver071/configuring-apache-reverse-proxy-using-the-ajp-protocol-802593042.html.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

246 views 2 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you