Http forwarding to another internal IP

Discussion in 'Installation/Configuration' started by linuxisp, Nov 9, 2009.

  1. linuxisp

    linuxisp New Member

    Hi all
    first of all i have to thank A LOT to all and specially Till, Falko & Hans for sharing such valueable knowledge with us!!!
    Vielen, vielen, Danke!

    I've a physical server (Centos 5.4) running several virtual servers (Xen)
    My quest is regarding 2 of the servers:
    Server1(Virtual):IP: - Centos 5.4 with ISPConfig (not yet installed, though)
    Server2:(Virtual):IP: Ubuntu 9.04 with Apache, Drupal etc

    How do i most effiently serve 1 or more web pages on Server2 via Server1 which receives all the request for port 80 behind the router?
    I want to avoid installing ISPconfig on Server2 which my friend is gonna be administering.

    I've been Googling a lot about this topic today, and found the following:
    Use of "Redirect /" (with defined as in /etc/hosts on Server1)
    Use of mod_rewrite and mod_proxy on Server1

    Every answer is much appreciated!
    Thank you very much in advance :)
    Last edited: Nov 9, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. linuxisp

    linuxisp New Member

    Thanks a billion. I'll try this!
  4. linuxisp

    linuxisp New Member

    Works like a charm!!! Thanks a lot!!!
    Here is the vhost set up to use reverse proxy:

    <VirtualHost *:80>
    DocumentRoot /var/www/
    ProxyRequests Off

    <Proxy *>
    Order deny,allow
    Allow from all

    ProxyPass /
    ProxyPassReverse /


Share This Page