I've successfully installed JIRA on my server and I can get it to load nicely at http://myserver.com:8080/. I went through the steps at https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html but it still won't load at http://jira.myserver.com(I get ERR_NAME_NOT_RESOLVED).
Additionally, I am on Apache version 2.4.25 and here is my vhost.conf file contents (XXX.XXX.XXX.XXX is my actual IP address):
<VirtualHost XXX.XXX.XXX.XXX:80> ServerName jira.myserver.com ProxyRequests Off ProxyVia Off RemoteIPHeader X-Forwarded-For <Proxy XXX.XXX.XXX.XXX> Require all granted </Proxy> ProxyPass / http://myserver.com:8080/ ProxyPassReverse / http://myserver.com:8080/ </VirtualHost>
And here is my server.xml Connect code:
<Connector port="8080" maxThreads="150" minSpareThreads="25" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true" proxyName="jira.myserver.com" proxyPort="80" scheme="http" />
I'm getting an "ERR_NAME_NOT_RESOLVED" error on my server if I go to jira.myserver.com. If I go to myserver.com:8080, I can't go past my Agile boards in each of my project pages and my gadgets shows a DNS error message.
On top of that, if I go to server.myserver.com, I can load my JIRA installation. server.myserver.com and jira.myserver.com are the on the same line in my /etc/hosts/ file and server.myserver.com is defined in my httpd.conf file, which says I shouldn't edit it, for all unbound IP addresses.
I've tried tweaking it so much, what else can I try to fix this?
I had to add a DNS entry for jira.myserver.com. I tried to do it manually in /etc/hosts and /named et cetera but it was easiest to just create the subdomain from my cPanel and then restart apache servers to grab that new subdomain and proxy it correctly.
David I am thinking of installing Jira your way, using cPanel to create a Jira.myserver.com and a Confluence.myserver.com for remote access URLs for my team.
My httpd.conf DocumentRoot is /home/myusername/public_html
Does your Jira.myserver.com point to /home/myusername/public_html/Jira?
Did you have to create a directory such as /var/www/html/jira and /var/www/html/confluence and link to those using cPanel subdomains? Are these the "install directories" Jira and Confluence setup routines will ask for?
Did you have to do anything to add VirtualHost entries for reverse proxy?
I know this is a lot of questions and I appreciate any help at all - thanks!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does nslookup resolve myserver.com and jira.myserver.com to the right IP address?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't and I've added jira.myserver.com entries to /named/myserver.com.db. Am I missing another step to adding a domain to the DNS listing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, you need to have the server (and other machines) be able to find the JIRA server via the urls you are using. I can't really help you with your network setup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I fixed this yesterday by replacing the "*" with my server's actual IP address (xxx.xxx.xxx.xxx) but today it isn't working. What would have changed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.