Virtual IP to admin some Virtualmin

Hi boys,
I mounted a balanced firewall, that has an Apache (in reverse proxy mode) with Mod_security to defend all hostings that are in other servers. I have some domains in server A and other domains in server B (both with virtualmin), can I determine 1 virtual IP for attack all http transactions? With this form, each domain goes to his server…¿?

In other words… How Apache knows what domains are in server A and in server B? This work can do Virtualmin?

thx.<br><br>Post edited by: jnavarro, at: 2009/04/30 06:27

I answer myself. The work is for Apache, no Virtualmin. I dont delete this entry because maybe util for someone:


NameVirtualHost 10.10.3.168 ------> IP of virtualhost
DocumentRoot "/usr/htdocs"
ProxyRequests off
ProxyPreserveHost On
ProxyVia Full
<VirtualHost 10.10.3.168>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://10.10.3.170/ —> IP of Virtualmin1
ServerName www.gandalf.com ----> Domains of Virtualmin1
ServerName www.bilbo.com
ServerName www.frodo.com
</VirtualHost>
<VirtualHost 10.10.3.168> ------> IP of virtualhost
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://10.10.3.171/ —> IP of Virtualmin2
ServerName www.mordor.com ----> Domains of Virtualmin2
ServerAlias www.saruman.com (Attention, now we use ServerAlias!)
ServerAlias www.radagast.com
</VirtualHost>