Two servers behind and IP

Discussion in 'Installation/Configuration' started by arcsistemes, Apr 10, 2019.

  1. arcsistemes

    arcsistemes New Member

    Hi:
    I have one public IP and I have my old webserver and the new one with ISPConfig.
    How can I do for beeing able to display pages from both servers.
    I have tried with proxy directives but it doesn't work.
    Could you help me please ?
    Thx
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Using proxy directives is the right approach.
     
  3. arcsistemes

    arcsistemes New Member

    I know, but I can't get the solution, could you show me which directtives and where I have to write them ?
    Thx
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This should probably work when the first server is an apache:

    Code:
    ProxyPreserveHost On
    ProxyPass / http://192.168.0.2/
    ProxyPassReverse / 192.168.0.2/
    <Location />
    Order deny,allow
    Allow from all
    </Location>
    and make sure that you enabled the proxy modules in apache.
     
    ahrasis likes this.
  5. arcsistemes

    arcsistemes New Member

    Hi,

    I have enabled the proxy, I have write this in Apache Directives in options of the site, but no success, I get the ISPConfig intro page.

    I don't know what I have to do !! arggg

    Regards
     

Share This Page