DEV Community

Cover image for What is a web server ?
Pancharas Shubham
Pancharas Shubham

Posted on

What is a web server ?

Web server refers to both hardware and software.

A web server is not like a supercomputer or any other large machine.

** Basically web server is another computer that acts as a host to store webpage files and software. **

A web server is like a special computer that stores all the parts of a website, like the text, images, and styles. It connects to the Internet so people can visit the website from their own devices.

The web server also has software that knows how to handle requests when someone types a web address (URL) in their browser. It understands these requests and sends back the right content from the website to the person’s device so they can see the webpage.

A web server is a computer that helps people visit websites. It has special software called an HTTP server that understands website addresses (URLs) and uses a language called HTTP to show pages in your browser. When you type a website's address, the server sends the right pages to your device so you can see them.

When your browser asks for a file from a web server, it sends a request using HTTP. The server then finds the file and sends it back to your browser so you can view it. If the file isn't there, the server tells you with a β€œ404 error,” which means the page can’t be found.

Top comments (1)

Collapse
 
jagedn profile image
Jorge

Well, http is more a protocol (last P in the name) than a language