Jake B.

Member
Oct 21, 2015
11
4
3
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 :)
 

Jake B.

Member
Oct 21, 2015
11
4
3
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>
:)
 
  • Like
Reactions: Ahmed Bibars

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

I am happy to see you were able to determine a solution. Thank you for updating us with the outcome.
 
Thread starter Similar threads Forum Replies Date
S Domain Management 0
Similar threads
mod_proxy via subdomains..