What is a Web Server?

Whenever you open your browser, type a URL and then click enter. Basically, you are requesting the contents of that URL. Ever wondered where the content are? Yes, you’re right those are contents placed on remote computers which, after accepting your request, send the contents of that URL back as a response.

Web Servers are computers that deliver the requested web pages. Every web server has an IP address and domain name. 

Let us understand web servers as an example.

You open your favorite browser and type www.w3wiki.org/c-plus-plus and click enter to see resources on C++. In the above URL, www.w3wiki.org is the domain name, and /c-plus-plus is the page you want to see.  

So www.w3wiki.org will route your request to the webserver and that will, in turn, see the file system that you’re requesting. In our case, it is /c-plus-plus. 

Image for illustration

What is Nginx (Web Server) and how to install it ?

Similar Reads

What is a Web Server?

Whenever you open your browser, type a URL and then click enter. Basically, you are requesting the contents of that URL. Ever wondered where the content are? Yes, you’re right those are contents placed on remote computers which, after accepting your request, send the contents of that URL back as a response....

What is Nginx?

It is open-source software designed for maximum performance and stability. Let’s see basically why we need it basically see how we can benefit from this....

How to install Nginx?

Steps to follow are:...