Cosa determina se un PC è in grado di essere un server Web o no?

Sommario:

Cosa determina se un PC è in grado di essere un server Web o no?
Cosa determina se un PC è in grado di essere un server Web o no?

Video: Cosa determina se un PC è in grado di essere un server Web o no?

Video: Cosa determina se un PC è in grado di essere un server Web o no?
Video: Personalizzare Windows 10 in modo PERFETTO! (Clean Setup) - Ecco come ho fatto! [ITA] - YouTube 2024, Marzo
Anonim
Se stai pensando di creare un server web, hai bisogno di un computer appositamente progettato per questo scopo o puoi usare un tipo di computer più comune? Il post di Q & A di SuperUser di oggi ha la risposta alla domanda di un lettore curioso.
Se stai pensando di creare un server web, hai bisogno di un computer appositamente progettato per questo scopo o puoi usare un tipo di computer più comune? Il post di Q & A di SuperUser di oggi ha la risposta alla domanda di un lettore curioso.

La sessione di domande e risposte di oggi ci viene fornita per gentile concessione di SuperUser, una suddivisione di Stack Exchange, un raggruppamento di domande e risposte basato sulla comunità.

La domanda

Il lettore SuperUser VincentTheonardo vuole sapere cosa determina se un PC è in grado di essere o meno un server web:

I have some questions about using a computer as a web server. Why can certain computers act as a web server and what features make them able to do so? Are there any cases where a computer is unable to act as a web server?

Cosa determina se un PC è in grado di essere un server web o no?

La risposta

Il collaboratore di SuperUser David ha la risposta per noi:

Pretty much any computer can be used as a web server, provided it can connect to a network and run web server software. Since a web server can be quite simple and there are free and open source web servers available, in practice, any device can act as a web server.

The bigger problem is the networking side. In order for a system to act as a server, other machines need to be able to access it. If it is just for use in a LAN setup, there are no concerns. However, if it is for use with the wider Internet, then data needs to be routed to it. This requires either a static IP address associated with the server (or port-forwarded through a router) or an external service which can map a domain name/subdomain to a changing dynamic IP address.

For what it is worth, you can buy $10 computers that are capable of acting as a basic web server. Of course, while any device can act as a web server, the functionality of websites can vary hugely, and a cheap device (or slow connection) may not be able to keep up with the demand depending on what the specific website is.

Note that everything above talks about web servers, but the same can be said for pretty much any type of server.

Hai qualcosa da aggiungere alla spiegazione? Audio disattivato nei commenti. Vuoi leggere più risposte dagli altri utenti di Stack Exchange esperti di tecnologia? Controlla la discussione completa qui.

Immagine di credito: Mike Shelby (Flickr)

Consigliato: