D
D
dzvtr2015-04-24 12:44:56
System administration
dzvtr, 2015-04-24 12:44:56

Is it possible to broadcast multiple web servers through one web server?

Suppose you have a web server that is broadcast to the Internet, and there are three computers on the local network with web servers that also need to be broadcast to the Internet. Is it possible to broadcast these three web servers through one web server, and if so, how?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
mureevms, 2015-04-24
@dzvtr

This is a proxy function.
An example Apache config for proxying requests to a host within the network:

<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>

A
AlexLIn, 2015-04-24
@AlexLIn

Yes, you can and often do.
Google apache / nginx proxy tags

Z
zvl, 2015-05-01
@zvl

https://www.digitalocean.com/community/tutorials/h... - a good howto for apache
more often for such tasks use ngnix
google reverse proxy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question