Pelina
Posts: 1
Joined: Fri Dec 04, 2015 10:56 pm

Web Server

Fri Dec 04, 2015 11:04 pm

Hi everyone,

I would like to know if its possible to create 2 different web server clusters to host 2 different sites instead of doing virtual hosting on one cluster so that both websites would be on separate servers ?

And if I host 2 sites on the same cluster would it overload the Pis? (I think depending on the throughput of request)

Thanks guys.

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Web Server

Mon Dec 07, 2015 8:51 pm

yes, no.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

User avatar
rpdom
Posts: 17172
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Web Server

Mon Dec 07, 2015 8:57 pm

What do you mean by "clusters" in this context?

It is possible for one web server to pass requests on to another (local) webserver via the Apache Proxy service.

cil8
Posts: 179
Joined: Tue Feb 14, 2012 10:47 am

Re: Web Server

Tue Dec 08, 2015 9:19 pm

I don't understand what you mean by "cluster". As long as you want serve more than one domain from the same IP address/port, you must rely to virtual hosts. You can serve different virtual host with different web servers (even on different devices), using a reverse proxy like Nginx.

The overload limit of a web server running on a RPi is due mainly to volume of requests it receives than the number of sites.

Return to “Networking and servers”