Hello everyone!
I just had a question and was hoping to get some feed back.
The situation is that i have one physical server with one NIC that's running 3 virtual servers. Those virtual servers are a mixture of Ubuntu Linux and CentOS. Each server runs flawlessly with no problems.
On Server A i have LAMP installed hosting wordpress sites.
On Server B i have LAMP installed hosting some Drupal sites.
On the physical server I have Apache installed and am using it as a reverse proxy to send traffic from specific URLS to Server's A and B all from the same public IP address.
I really just wanted to get some advice and suggestions if this is the best way to go about setting up Apache for this situation.
Just for some additional information this is the config file on physical Apache doing the reverse proxy.
<virtualhost *:80>
ServerAdmin webmaster@web.com
ServerName exmaple.com
ProxyRequests off
ProxyPreserveHost on
<proxy *>
Order deny,allow
Allow from all
</proxy>
ProxyPass /SiteRoot ProxyPassReverse /SiteRoot ProxyPass /SiteRoot2 ProxyPassReverse /SiteRoot2 </VirtualHost>
On Server A and B have their config files for the respective sites as virtual hosts.
Thanks for you feedback greatly appreciate it!
I just had a question and was hoping to get some feed back.
The situation is that i have one physical server with one NIC that's running 3 virtual servers. Those virtual servers are a mixture of Ubuntu Linux and CentOS. Each server runs flawlessly with no problems.
On Server A i have LAMP installed hosting wordpress sites.
On Server B i have LAMP installed hosting some Drupal sites.
On the physical server I have Apache installed and am using it as a reverse proxy to send traffic from specific URLS to Server's A and B all from the same public IP address.
I really just wanted to get some advice and suggestions if this is the best way to go about setting up Apache for this situation.
Just for some additional information this is the config file on physical Apache doing the reverse proxy.
<virtualhost *:80>
ServerAdmin webmaster@web.com
ServerName exmaple.com
ProxyRequests off
ProxyPreserveHost on
<proxy *>
Order deny,allow
Allow from all
</proxy>
ProxyPass /SiteRoot ProxyPassReverse /SiteRoot ProxyPass /SiteRoot2 ProxyPassReverse /SiteRoot2 </VirtualHost>
On Server A and B have their config files for the respective sites as virtual hosts.
Thanks for you feedback greatly appreciate it!