What is server
What you will learn here about Server:
- What is server
- Types of servers
What is Server
The server is nothing but the piece of code which is responsible for accepting client request and sending the response. The server also provides a run time environment.
Generally, we call a computer or laptop or system as the server on which server program or server application is running. The server helps us to access images, videos, files, data, webpages, etc. from the remote location or from another system. Without server it is not possible to access images, videos, files, data, webpages, etc. from the remote location or from another system. Whatever content or website we visit on the internet is running on the server.
The internet works on client server architecture which is shown below. The client is the one who requests the information or resources i.e webpages, images, videos, files, etc. and the server is the one who accepts the request and sends a response.
Types of servers
Each server is responsible for performing the specific works. Based on the work there are different types of servers.
An application server is the one on which we host or deploy an application that people can access from remotely. We can also deploy web pages on the Application server. For example, Apache Tomcat is an application server. Please click on the below link for installing Apache Tomcat.
The web server is the one on which we can deploy only webpages but we can not deploy or host applications. Apache2 is a web server and Apache tomcat is an Application server.
The proxy server is an intermediate between Client and Server. To know in detail about the proxy server please click on the below link.
Please click on the below link to install a Proxy server on Google cloud.
The mail server is responsible for Accepting the Email and sending the Email to the desired receiver.
Telnet Server allows the user to access another computer from the remote place. Please click on the below link to install Telnet server on Raspberry pi.
The database server allows a user to connect with the database. Please click on the below link to know how to install MySQL database server on raspberry pi.