<VirtualHost *:80>
ServerName domain.com
ProxyRequests On
ProxyPreserveHost On
ProxyPass / http://192.168.0.50/DIR/
ProxyPassReverse / http://192.168.0.50/DIR/
</VirtualHost>
<VirtualHost *:80>
ServerName example.com
ProxyRequests On
ProxyPreserveHost On
ProxyPass / http://192.168.0.100/
ProxyPassReverse / http://192.168.0.100/
</VirtualHost>