Jump to content

Recommended Posts

Posted

I've been playing around with load balancing and port sharing using mod_proxy, which may help you out here too?

 

I'd recommend testing it out before sticking it in production use!

 

Assuming you've set up either a CNAME or A record for the support sub domain you want to point it to your server, you'd append something like this to your httpd.conf file:

<VirtualHost 10.1.0.101:80>  
    ServerAdmin admin@domain.com
    ServerName support.domain.com

    ProxyRequests off
    <Proxy *>
            Order deny,allow
            Allow from all
    </Proxy>
   <Location />
            ProxyPass http://blesta.domain.com:80/client/plugin/support_manager/client_main/
            ProxyPassReverse http://blesta.domain.com:80/client/plugin/support_manager/client_main/
   </Location>
</VirtualHost>  

Which would proxy [forward] http://support.domain/something to http://blesta.domain.com:80/client/plugin/support_manager/client_main/something

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...