0% found this document useful (0 votes)
18 views12 pages

#03 Web Server and Directories

Uploaded by

sudaisjarar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views12 pages

#03 Web Server and Directories

Uploaded by

sudaisjarar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

WEB SERVER AND

DIRECTORIES
By Zeeshan Hussain (Software Engineer)

zeeshan hussain (software engineer)


WEB SERVER
• A web server is a computer that hosts web pages, making them
accessible online. When a user loads a site, the web server will
retrieve the relevant files and send them to the browser so the user
can interact with them.
• The main job of a web server is to display website content through
storing, processing and delivering webpages to users.

zeeshan hussain (software engineer)


MAIN COMPONENTS OF A WEB SERVER
• Let’s break down the main components of a web server:
• Software. The web server software controls how users access hosted
files.
• Hardware. It stores web server software and its files, such as static
HTML documents, JavaScript files, and CSS.
• The web server hardware also connects to the internet, enabling data
exchange with other physical devices.

zeeshan hussain (software engineer)


HOW DOES A WEB SERVER WORK ?
• Web servers use Hypertext Transfer Protocol (HTTP) when
responding to user requests via the World Wide Web. HTTP is a
protocol used to exchange information between computers.
• Through the HTTP request process, servers can deliver the
site’s HTML document to the user’s web browser, like Google
Chrome.

zeeshan hussain (software engineer)


OVERVIEW OF THE WHOLE PROCESS
• When someone wants to load a website, the browser will look for the web server
hosting the site’s files.
• To achieve this, the web browser translates the site’s domain name into an IP
address via the Domain Name System (DNS). If the site is frequently visited, the
web browser will search through its file cache.
• After finding the corresponding web server, the browser sends an HTTP
request to retrieve site content.
• The web server receives and processes the HTTP request through its HTTP server.
Once the HTTP server accepts the request, it will search through the database to
obtain the relevant data.
• Finally, the server returns the files to the web browser and delivers them to users.
• When the HTTP server fails to find or process the requested files, it will send
an HTTP error status code to the browser.

zeeshan hussain (software engineer)


WEBSITE
• A collection of web pages which are grouped together and usually
connected together in various ways. Often called a "website" or a
“site”.
• A document which can be displayed in a web browser such as Firefox,
Google Chrome, Opera, Microsoft Edge, or Apple Safari. These are
also often called just "pages."

zeeshan hussain (software engineer)


HOW TO ACCESS WEBSITE ?
• When we type a certain URL in a browser search bar, the browser requests
the page from the Web server and the Web server returns the required
web page and its content to the browser.

• HTTP and HTTPS Protocols: HTTP stands for Hypertext Transfer Protocol. It
is the protocol that enables communication between different systems,
transferring information and data over a network.
• On the other hand, HTTPS stands for Hypertext Transfer Protocol Secure.
Although it functions similarly to HTTP, HTTPS works to protect
communication between web servers and browsers when transporting
data.
zeeshan hussain (software engineer)
TYPES OF WEBSITE
• There are different types of websites on the whole internet, we had
chosen some most common categories to give you a brief idea.
• Blogs.
• E-commerce.
• Portfolio.
• New and magazines
• Social media.
• Educational.
• Portal.

zeeshan hussain (software engineer)


STATIC VS DYNAMIC WEB SERVERS (Types)
• Static Web Server: A static web server, or stack, consists of a
computer (hardware) with an HTTP server (software). We call it
"static" because the server sends its hosted files as-is to your browser.
• Dynamic Web Server: A dynamic web server consists of a static web
server plus extra software, most commonly an application server and
a database. We call it "dynamic" because the application server
updates the hosted files before sending content to your browser via
the HTTP server.

zeeshan hussain (software engineer)


WEB DIRECTORY
• Web Directory is a database of websites, arranged in such a way that
they facilitate navigation. These links to web addresses are classified
according to specific criteria, such as alphabetical order.
• This helps users search for information in a specific way. Before
search engines appeared, web directories were the only way to
search for websites on the internet.

zeeshan hussain (software engineer)


IF ANY QUESTION, YOU CAN
ASK!

zeeshan hussain (software engineer)


THANK YOU!

zeeshan hussain (software engineer)

You might also like