My ISP has given me 1 static IP address, however, I need to run multiple internal IP addresses (from VPS's) under that 1 public IP address. I have enough network connections to my router, but not public IP's.
So, basically have something that forwards all traffic from certain domains to the specific internal ip address.
From my searches on ServerFault, I've found the following to solve my problem for apache purposes:
<VirtualHost *:80>
ServerName www.example.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyPass / http://192.168.254.197/
ProxyPassReverse / http://192.168.254.197/
</VirtualHost>
<VirtualHost *:80>
ServerName www.other_example.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyPass / http://192.168.254.198/
ProxyPassReverse / http://192.168.254.198/
</VirtualHost>
But this only forwards web requests, not everything (such as FTP, SSH, email, etc).
There has got to be something out there that can solve this!
I'm using CentOS 5.