Introduction to Web and Web servers
Before we deep dive into web servers, first, let's understand the basics of web pages, web site and web servers
Web Page
A document that can be displayed in web browsers such as Google, Firefox, Microsoft Edge, and apple's safari is called a pages
In simple words, a page from the book, which has contents, images, headings, paragraph
Web Site
A collection of pages that are grouped is called web site, mostly web site pages are grouped based on the relevance of content
Example: A novel that has many individual pages which are printed together to make a perfect novel
Web Server:
A server is nothing but a computer that hosts a website on the internet
Web servers can have website's component files such as HTML, images, CSS and javascript files
A web server connects to the Internet and supports physical data interchange with other devices connected to the web.
We are going to discuss a famous server called Apache Web server
Apache Web server
The basic function of any server is to accept requests from the client(user's computer) and send a response to the request
Apache is free and open-source software that allows users to deploy their websites on the internet, it is not a physical server, but rather a software that runs on an HTTP server
It supports all kinds of the operating system, just by downloading apache software and runs on any operating machine
Let's take a look in simple terms
I have created a website for a hotel that display menu items and their prices with pictures
My first step would be writing HTML code to display the contents of a web page which has menu items and images.
Now web site is ready on the local machine, it's time to host HTML and other components into a server called apache, once the website is hosted it will be designated to an IP address and corresponding names can be created using DNS(Domain Name Space)
Subscribe to my newsletter
Read articles from Goudham directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Goudham
Goudham
I am a senior consultant