how to change confluence port to used one

hi

i installed Conf 3.4.7 and the default port is 8090 - http://servername:8090but i need to redirect to address http://servername/confluence, how i can do this ?

2 answers

0 votes

Hi Shiomi,


You can run Confluence behind a proxy server and direct your application to port 80. Here's the document which explain the detaile step to achieve this.


Cheers,

Jing Hwa

hi

thanks you for the reply , could you please give more details i am not familiar to work with apache.

BTW : the Conf server run on Win2008R2 , i am using Conf 5.4

thanks for your answer i think , i found other option for redercation on Win server 2008 R2

http://ashrafhossain.wordpress.com/2010/09/20/how-to-configure-iis-7-and-tomcat-redirection-on-windows-server-2008-64-bit/

could you please take a look ? it will do the job ?

thanks

Shlomi

The document Jing Hwa has pointed to covers it all. Install apache, set it up as instructed. It is actually generic - it's not just Confluence you would do this for, but any web application you want to relocate.

We can't hold your hand through this - you need to follow the documentation and learn for yourself - if you don't understand it because someone has done it for you, then you can't support it or repeat the installation. Give the document a proper try and ask specific questions if you get stuck, by all means, but you need to try!

There are other options though. In this case, Apache is being used as a basic front-end for relocating Confluence.

  • You don't have to use Apache. Nginx is a good candidate for the job and there are other web-servers that can front it.
  • As you're on Windows, you may have access to (And expertise with) IIS, which can do it too. If you know IIS better than Apache, I'd recommend that.
  • You could change the Tomcat to listen on port 80 instead of 8090. This is only suitable if Confluence is the *only* web service running on the machine though

Yes, that's been written by someone who followed Atlassian's instructions on using IIS to do it, as I mentioned.

What about you just forward the port 80 to 8090?

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8090 #On Linux

This way, when you perform maintenance on Confluence, you can redirect port 80 to a static page saying "We'll be back in x minutes".

They're on a Windows box - no iptables installed by default. Might as well use IIS or Apache, as you're going to have to install something there to make it work.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,187 views 4 6
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