What is a web server?

The term ‘web server’ is commonly used to refer both to the physical computer on which the websites are stored and to the software that actually delivers such data.

Web Server ( Computer )

Every website is hosted on a computer usually called server or web server, hardware configuration can be extremely simple or extremely complicated, consisting of groups of multiple servers ( clusters ) sharing the load of requests.

A web server can be a computer very similar to your home computer ( Tower Servers ), or a computer with a case specific for data center usage ( Rack Servers ). These servers can be easily mounted inside racks to optimize space. These servers are usually wide, deep and very thin. The width is 19 inches, it’s standard so that servers can be mounted in any server rack. Servers can be different in height. The base unit used to measure web server space is the Rack Unit, commonly referred to as U, 1.75 inches. Most common sizes for servers are 1U, 2U and 4U depending on the size and number of the components used inside the server.

Web Servers

In the image above you see the difference between tower servers on the left and rack servers on the right ( the black ones, 2U each in this example ).

Actually there’s no difference for you between the two types of servers, the difference can only be measured in terms of space used inside the server farm.

Web Server ( Software )

When we refer to a web server as a software we mean that program that actually delivers the content of your website. It’s a piece of software that waits for requests of web pages and, when such requests arrive, retrieves the page and sends the content to the browser from which the request has been made. In case of static websites the task of the web server is merely serving the static content, instead if the website is dynamic the web server software uses additional modules and functions to deliver the content. What does it mean? It’s easier to explain with an example.

Let’s say we have a database of events with dates and cities, and a dynamic page events.php written in PHP: the visitor sends a request ( clicking a link or submitting a form ) searching for events in Boston on Dec 18, let’s assume that the resulting url from this request is www.yourdomain.com/events.php?city=boston&month=12&day=18 ( understanding this url is out of the scope of this guide, you’ll learn more about this as soon as you decide to learn a scripting language ): the web server receives this request and executes the php program written in the page events.php; this program retrieves the events in Boston on December 18 and format such events in HTML. Done that the web server sends the resulting HTML code to the browser.

The most popular web servers are Apache on unix/linux based systems, Microsoft IIS on Windows systems.

In these guides, when you find the term ‘web server’ we usually refer to the computer on which your website is stored, and not the software that is actually delivering the content.

In the next part of this guide on the basics of web hosting you’ll learn more about domain names.

What is a domain name? ( this guide will be published shortly, subscribe via rss or email using the top left buttons to be notified when it’s online )

Related Related content you might want to read:
  1. What is MySQL

If you found this article interesting subscribe to WebHostingNerds via RSS, Email or Twitter and receive updates and new articles as soon as they're published!

Review your host and get a link to your website!

Categories: Guides
Tags: computer server server server web web hosting server web server web server hosting webserver what is a web server Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Learn more about Web Hosting


Beginners guide to Web Hosting
Is this the first time you deal with a website? This basic guide composed by several in depth articles will clear all your doubts: domain names, web servers, web hosting, plans features, website requirements and much more. If you're feeling confused this is where you should start!

Web Hosting Glossary
Don't know the meaning of one or more technical terms? Check out the web hosting glossary where you'll find all the terminology explained in simple words. Topics: web hosting, servers, dns, connectivity, web development, networking, software.

Static Website vs Dynamic Website
Not sure if your website should be static or dynamic? Check out the differences, pros and cons of both options in the short and long term in order to make the right choice.

What is Green Web Hosting
Heard about Green Web Hosting but don't understand what it is? Check out this article to understand what it is, why some companies are going green and how important their choice is.
MochaHost Web Hosting
Don't miss MochaHost special deal with plans starting at $2.63/mo including unlimited traffic, storage and $100 in free marketing credits!
HostGator Web Hosting
Host Unlimited websites with no monthly transfer or storage limits, all for $7.95/mo! We currently host more than 2,200,000 domains!
FatCow Web Hosting: $88 Plan FatCow Web Hosting
Concerned about the environment? Buy hosting from FatCow powered by 100% wind energy for only $66/year!
Host 6 Domains on 1 Account BlueHost Web Hosting
Need to host more than one website? Check out our simple plan, all you need is included, all for an unbeatable price!
Confused about web hosting? Don't know where to start from? Check out our web hosting guides! We'll guide you through common problems and help you learn the basics.