Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Virtual Hosts Different Ports

We have an Apache WordPress site running on port 80 and a Tomcat JIRA site running on port 8090 on the same Windows 2008 server.  We are trying to use two different URL's to connect to both applications without using the port number.  The Apache URL is newsletter.company.com and the JIRA is jira.company.com.  DNS points to the same server for both URL's.  How can I modify the Httpd.conf file to include virtual host entries to accomplish this?

1 answer

This depends on your apache version. On 2.4 you have a /etc/{httpd,apache2}/conf.d/-dir that will be included in httpd.conf that points to individual configs for each virtual host. Depending on if you terminate SSL on apache this configs will differ greatly. Apaches own docs are great for this:

https://httpd.apache.org/docs/2.2/vhosts/name-based.html

https://httpd.apache.org/docs/2.4/vhosts/name-based.html

 

 

 

 

 

Thanks for responding Jonas. We have Apache 2.4. Here is what we have that is partially working. The only problem here is that all URLS get redirected to localhost:8090. newsletter.company.com never goes to localhost:80 <VirtualHost jira.compan.com:80> ProxyPass / http://localhost:8090/ ProxyPassReverse / http://localhost:8090/ </VirtualHost> <VirtualHost newsletter.company.com:80> ProxyPass / http://localhost/ ProxyPassReverse / http://localhost/ </VirtualHost>

Any progress on this? I am facing the same issue

Have another look at the docs Jonas pointed to - they show you how to set up the proxies correctly.

I can't see what is wrong with Kenneth's config, but it does talk about redirection, which you don't need to do, so it suggests there's something else in the apache config that we can't see,  that is doing an unwanted redirect.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,998 views 11 5
Join discussion

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