Skip to main content

WEB SERVER AND BROWSER INTERACTION


At one time or the other, you may have used or heard such expressions as “Downloading file from server”, “server is slow”, “Authentication required for server access”, and so on. These are everyday expressions used in the present Information Age. Now let us take a closer look at what a server really is, with emphasis on the type of server that makes it possible for access to the Information Superhighway – the Internet, known as Web Servers, as well as what actually happens when an internet user tries to access a website via a Web Browser by sending a (Hyper-Text Transfer Protocol) HTTP request to the web server.

WHAT IS A SERVER?
A server is basically a computer program that serves some sort of content to a client using a specified protocol. The term server also refers to the computer or virtual machine running the server program, which in fact is the most common use and understanding of the term. Today, most enterprise organisations with computer network infrastructure do host their servers internally, running services such as Web, Mail, Directory service (e.g. Microsoft Active Directory), Domain Name Resolution (DNS), Dynamic Host Configuration Protocol (DHCP), File services and so on.

WEB SERVER
A Web Server is a computer program that serves content (web pages) to clients, using a common protocol known as the Hyper-Text Transfer Protocol (HTTP). In order to have access to a web server to view contents of a website, a client software known as Web Browser is used.

WEB BROWSER
Client application software used to communicate with a web server in order to display the contents of a website, using the Hypertext Transfer Protocol (HTTP). There are several browsers such as the popular and open source Mozilla Firefox browser (my favourite browser), Internet Explorer, Chrome, Safari, Opera, etc.

HOW THE WEB SERVER INTERACTS WITH THE WEB BROWSER
When an internet user types a website address, otherwise known as Uniform Resource Locator (URL), e.g. www.it-cruisers.blogspot.com on the browser address bar, an “HTTP request” is constructed and forwarded to the appropriate destination server, which responds accordingly via an “HTTP response”. This response is then formatted by the browser and presented in a user-friendly view, which could be the website homepage. Below is a graphical illustration;

Web Server/Browser interaction








A SIMPLE HTTP (WEB) REQUEST FROM A WEB BROWSER TO A WEB SERVER
The general format for an HTTP request sent from a web browser to a web server is as shown;
GET:     /path/file.html
HOST:  www.xyz.com
Example:
GET:     /ossy.tony/notifications

COMMON WEB SERVER STATUS CODES/ERROR MESSAGES
Certain useful messages are generated in the form of status codes by web browsers/servers in the course of their interaction. Here are the most commonly encountered status codes and their meanings;
Ø  404 – “Not Found”
Ø  400 – “Bad Request”
Ø  503 – “Service Unavailable”
Ø  502 – “Bad Gateway”
Since the World Wide Web (WWW) has become the most widely used resource on the internet, and gaining popularity by the day even in this era of social networking, the importance of familiarity with web server/browser interaction cannot be over-emphasized.

Comments

Popular posts from this blog

INTERNET PENETRATION - Nigeria Top Three in Global Online Search

Over the years Internet penetration has greatly improved across the developing countries of the world especially Nigeria which now has over 92 million internet users. Finding information online has become a common practice as people comfortably search for information using web search engines, especially Google  and get relevant search results that answers their questions and further provides them insight to related articles, events, photos, news and even map locations. Thanks to Google Map Local Guides like myself who diligently contribute to improve the map by sharing knowledge of the local environment. The mobile internet revolution has made it possible for people even in the rural areas to have access to internet on their mobile devices. During my University days, precisely in the year 2008, I carried out a questionnaire research on the topic: "How Effectively Do You Utilize Your Mobile Phones For Internet Access", the responses were amazing as people were alrea

MOBILE NETWORK PORTABILITY (MNP) COMING SOON IN NIGERIA

What is Mobile Network Portability (MNP)? Mobile Number  Portability allows mobile telephone users to migrate from one service provider to another and still retain their telephone numbers. It provides a platform whereby a subscriber on any of the existing GSM and some of the CDMA networks can switch from one service provider to another and still retain their phone numbers. For instance, with your current MTN line you can decide to migrate to ETISALAT or vice-versa, and still retain your "stable and popular" phone number. How MNP Works For instance, subscriber A whose original service provider is network P, might wish to change or port to network Q. This can be achieved by subscriber A sending a porting request to network Q, network Q sees the request coming from a user on network P and then contacts them accordingly to setup the process of exchange and transference of subscriber details, this is the most common and it is known as "Recipient-led" porting. Once a