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

This widget could not be displayed.

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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

288 views 2 4
Join discussion

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