Confluence with AWS Elastic Load Balancer



I recently installed Confluence on EC2, and I have an ELB in front of it which which translates port 80 through to the confluence port. The ELB in turn has a DNS CNAME through which we access. The confluence server is configured to only allow traffic to and from the ELB.

Pretty much everything works fine - URLs are rendered as expected, I can create content and links work correctly, except in a couple of places I've spotted:

1) If I go to the Spaces Directory page, all the Spaces links do not work as they are trying to use the underlying confluence server IP rather than the elb and cname.

2) Same with some of the links in Notifications - links to the modified pages are using the underling IP, but links for Stop Watching, Reply and Like are all rendered correctly.

Is there some additional configuration that needs to be done on the confluence server? I've found a few similar posts here on AWS ELB, but none with any definitive answers.



1 answer

1 accepted

0 votes
Answer accepted

Managed to find the server base url setting in general config, switched this to the external host and all seems to be working great now.

Hi Pete,

I am also trying to install Confluence on EC2, and we also have an ELB in front of it which translates through port 80 through to the confluence port. the installation works fine on terminal but when it redirects us to web page of confluence installation and after setting up database connection successfully and clicking on next page, it gets wrecked and shows JMX and spring context error. 


Please let me know if you could help on installing confluence behind AWS ELB.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

259 views 2 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you