Virtual IP to admin some Virtualmin

2 posts / 0 new
Last post
#1 Thu, 04/30/2009 - 06:12
jnavarro

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

Mon, 05/04/2009 - 02:38
jnavarro

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 ------&gt; IP of virtualhost
DocumentRoot &quot;/usr/htdocs&quot;
ProxyRequests off
ProxyPreserveHost On
ProxyVia Full
&lt;VirtualHost 10.10.3.168&gt;
ProxyRequests Off
&lt;Proxy *&gt;
Order deny,allow
Allow from all
&lt;/Proxy&gt;
ProxyPass / http://10.10.3.170/ ---&gt; IP of Virtualmin1
ServerName www.gandalf.com ----&gt; Domains of Virtualmin1
ServerName www.bilbo.com
ServerName www.frodo.com
&lt;/VirtualHost&gt;
&lt;VirtualHost 10.10.3.168&gt; ------&gt; IP of virtualhost
ProxyRequests Off
&lt;Proxy *&gt;
Order deny,allow
Allow from all
&lt;/Proxy&gt;

ProxyPass / http://10.10.3.171/ ---&gt; IP of Virtualmin2
ServerName www.mordor.com ----&gt; Domains of Virtualmin2
ServerAlias www.saruman.com (Attention, now we use ServerAlias!)
ServerAlias www.radagast.com
&lt;/VirtualHost&gt;
...

Topic locked