Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th November 2009, 18:59
linuxisp linuxisp is offline
Junior Member
 
Join Date: Jan 2009
Location: Oslo
Posts: 6
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via Yahoo to linuxisp Send a message via Skype™ to linuxisp
Default Http forwarding to another internal IP

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: 192.168.15.3 - Centos 5.4 with ISPConfig 3.0.1.6 (not yet installed, though)
Server2Virtual):IP: 192.168.15.8- 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 / http://domain.com" (with domain.com defined as 192.168.15.8 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 by linuxisp; 9th November 2009 at 19:12.
Reply With Quote
Sponsored Links
  #2  
Old 10th November 2009, 10:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,422 Times in 4,264 Posts
Default

I think a redirect might not work. Better you use mod_proxy for that.

The setup is basicaly something like this:

http://www.howtoforge.com/apache_rev...roxy_ispconfig

but the target is your second server and not the ispconfig system on port 81
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
linuxisp (15th December 2009)
  #3  
Old 10th November 2009, 15:24
linuxisp linuxisp is offline
Junior Member
 
Join Date: Jan 2009
Location: Oslo
Posts: 6
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via Yahoo to linuxisp Send a message via Skype™ to linuxisp
Default

Thanks a billion. I'll try this!
Reply With Quote
  #4  
Old 15th December 2009, 15:36
linuxisp linuxisp is offline
Junior Member
 
Join Date: Jan 2009
Location: Oslo
Posts: 6
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via Yahoo to linuxisp Send a message via Skype™ to linuxisp
 
Default

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

<VirtualHost *:80>
ServerName www.yourdomain.com
DocumentRoot /var/www/
ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://192.168.1.102/
ProxyPassReverse / http://192.168.1.102/
</VirtualHost>


Quote:
Originally Posted by till View Post
I think a redirect might not work. Better you use mod_proxy for that.

The setup is basicaly something like this:

http://www.howtoforge.com/apache_rev...roxy_ispconfig

but the target is your second server and not the ispconfig system on port 81
Reply With Quote
The Following User Says Thank You to linuxisp For This Useful Post:
till (16th December 2009)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig: from http to https & from https to http Hans Tips/Tricks/Mods 13 12th March 2013 23:22
Statistics not compiling. thevinster Installation/Configuration 137 11th November 2010 10:54
Postfix + DKIM - Error in log donb01 Server Operation 2 24th July 2008 17:59
HTTP POST request over GPRS doesn't work. hiharsh Technical 2 23rd July 2008 16:52
Help Forwarding Incoming Requests to Other Internal Machines (not the web server) jkrell Installation/Configuration 16 27th October 2006 23:46


All times are GMT +2. The time now is 18:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.