Web Servers and Web Clients.

Hello Readers,

You may have the clear idea about internet and the web sites. This is the thing we use regularly in our day to day life. We use the web sites for various purposes but do we actually know how exactly it works at backend. No problem, this tutorial may help you understand the concept. Consider, we have to visit any site, then what steps we will follow. First of all we will open the browser and then write the name of the site ( Domain Name to be precised šŸ˜‰ ). Then everything will happen itself. This much we have to do to view ant page on web site. But how actually this happens is because of what we called is web servers and client servers.

A web server is a computer program that delivers the content, such as web pages, using the Hypertext Transfer Protocol (HTTP), over the World Wide Web. The term web server can also refer to the computer or virtual machine running the program. The primary function of a web server is to deliver web pages to clients. This means delivery of HTML documents and any additional content that may be included by a document, such as images, style sheets and JavaScripts.

A Web Server is something that takes the request from the user (Client) and gives him response in required form.

When a user inserts the Domain Name or click on any link on the page then it means that he is requesting the server for that resource. This request is followed by the web server and accordingly it respondsĀ  and completes the request by responding to the request positively. Sometime that resource may be a document file, an image or even a media file, web server responds accordingly. Unless the resource is not there or server can’t find it, where it expects to be, the server flashes the user with the error 404, i.e. page not found.

When we say Server then it means either a physically placed machine (hardware) or the Application server (Software). Following image will clarify the things….

Now moving to web client.

Web Client is similar to the user/client. Actually we can say that most of the work of the user is done by web client. Now to communicate with the remote web server the user have to use either of the web browser. Now user cannot directly connect with the server, for doing so he has to use browser. Now this browser takes the user requests and send it to the web server for the response. And these browsers act as the web-clients. In other words we can say that a web-client is the application web browser that performs the tasks according to the user’s request. Following scenario will help you to understand more clearly.

Hope this tutorial have fulfilled your search.

Thanks and Regards,

Nikhil Naoghare.