Proxy reverse

Discussion in 'General' started by rasco, Aug 5, 2017.

  1. rasco

    rasco New Member

    Hi guys is it possible to use ISPCONFIG 3 to point a sub-domain to a different internal IP address?

    this use too work for me but for some reason is not working anymore after update.
    <VirtualHost *:80>
    ServerName support.domain.com
    ProxyRequests Off
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    ProxyPreserveHost On
    ProxyPass / http://192.168.100.3:80/
    ProxyPassReverse / http://support.domain.com

    </VirtualHost>
     
  2. rasco

    rasco New Member

    Ok guys i finaly got it to work!

    here is my solution if ever some of you need it.

    nano /etc/apache2/sites-available/000-default.conf
    all the way at the END

    PASTE:

    <VirtualHost *:80>
    ServerName support.domain.com
    ProxyRequests Off
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    ProxyPreserveHost On
    ProxyPass / http://192.168.100.3:80/
    ProxyPassReverse / http://support.domain.com

    This work for me.
     

Share This Page