Skip to main content
Home
badllama.com
  • Search
  • Log In

How to Set up a ProxyPass for Confluence in cPanel

cpeters's picture

Sun, 01/10/2016 - 17:52 by cpeters

  1. Create a subdomain in cPanel using the "subdomains" tool
  2. Create the following directory path using a command prompt:
  3. /usr/local/apache/conf/userdata/std/2_2/[cPanel user]/[sub domain]/
  4. create a *.conf file in the directory. I called it "kb.frankenweb.net.conf"
  5. Place the following in the config file:
    ServerName kb.frankenweb.net
        ProxyRequests On
        
            Order deny,allow
            Allow from all
        
        ProxyPass / http://frankencloud.co.uk:8090/
        ProxyPassReverse / http://frankencloud.co.uk:8090/
        
            Order allow,deny
            Allow from all
        
    
  6. Test that the config file is picked up by cPanel, and implement the change:
    /scripts/verify_vhost_includes --show-test-output
    /scripts/verify_vhost_includes --commit /scripts/ensure_vhost_includes --all-users
    /usr/local/cpanel/bin/apache_conf_distiller --update
    /scripts/rebuildhttpdconf
    
  7. Use WHM to restart Apache
Powered by Backdrop CMS