Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Jira mod_proxy subdomain

Discussion in 'General Discussion' started by Jake B., Dec 15, 2015.

  1. Jake B.

    Jake B. Member

    Joined:
    Oct 21, 2015
    Messages:
    11
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    I'm trying to create an apache proxy subdomain for Jira so I can have jira.domain.com instead of domain.com:port. I've tried adding the proxy configurations to the pre virtualhost include file, but it didn't do anything. Just curious if anyone's managed to do this, or something similar :)
     
  2. Jake B.

    Jake B. Member

    Joined:
    Oct 21, 2015
    Messages:
    11
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    Ended up getting this to work by putting this into pre_virtualhost_2.conf:

    Code:
    <VirtualHost IP:80>
      ServerName jira.domain.com
    
        ProxyRequests Off
        <Proxy *>
            Order deny,allow
            Allow from all
        </Proxy>
    
        ProxyPass / http://s1.domain.com:9000/
        ProxyPassReverse / http://s1.domain.com:9000/
        <Location />
            Order allow,deny
            Allow from all
        </Location>
    </VirtualHost>
    
    :)
     
    Ahmed Bibars likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,696
    Likes Received:
    1,789
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am happy to see you were able to determine a solution. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice