SlideShare a Scribd company logo
1 of 23
Download to read offline
<   Web Server             />
      By Touhid Arastu
      http://ara stu .ir
Web Server
      Refer To
Software & Hardware
Web Server
                In common
          helps to deliver content
that can be accessed through the Internet.
• NeXTSTEP Create in Next
  company


• Tim Berners-Lee Develop
  First Web Server In Cern
In 1989
the world's first web server
later known as CERN httpd
  which ran on NeXTSTEP.
How to work?
Web Server Application Run As Process In OS




         Web server
                                              OS
Web Server Listen To Special Port, ex 80




             Web Server              80
When Request Received, Handle It.




                      Web Server

                       Handel       Response
                       Request
Request
Create Response And Sent Back It To Client




                       Web Server

                        Handel       Response
                        Request
Request
HandlePath Translation
       Request
Web servers are able to
   map the path component of a Uniform Resource Locator (URL)




• a local file system resource         => •Static Request
• an internal or external program name => •Dynamic request
URL Structure
scheme://domain:port/path?query_string#fragment_id

     http://arastu.ir/slides/ilug/web_server.pdf
Web Server Append The Given Path To The Path Of
              Its Root Directory




Root Directory Specified With Web Server Configs
http://arastu.ir/slides/ilug/web_server.pdf




/home/arastu/www/arastu.ir/slides/ilug/web_server.pdf
Based On Web Server Configs, Create
Response Dynamically Or Return Static file.
     If Error acquired, Return Error.




Dynamic Content Create With Server Side
        Programming language
Handle Connections
When Request Received Web Server:




• Create A New Process In Os
• Fork A New Thread
• Use One Thread For All
Connection
Comparison Use Server resource




Start Process > Fork New Thread > One Thread for All Connection
Comparison Using Web Server In Internet, March 2011



  Product       Vendor       Web Site Hosted   Percent
  Apache        Apache        179,270, 332     60.31%
     IIS       Microsoft       57,644,692      19.34%
   Nginx       Igor Sysoev     22,806,060      7.65%
    GWS          Google        15,161,530      5.09%
   Lighttp       Lighttp        1,796,471      0.60%
Other   Common Feature
Virtual Hosting
Large file support
Any Question?
          Download This Slide At:
http://arastu.ir/slides/ilug/web_server.pdf

More Related Content

What's hot (20)

Server Side VS Client Side
Server Side VS Client SideServer Side VS Client Side
Server Side VS Client Side
 
Apache web server
Apache web serverApache web server
Apache web server
 
Web servers
Web serversWeb servers
Web servers
 
Web ,app and db server presentation
Web ,app and db server presentationWeb ,app and db server presentation
Web ,app and db server presentation
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
 
IIS
IISIIS
IIS
 
Web server
Web serverWeb server
Web server
 
What is a Server
What is a ServerWhat is a Server
What is a Server
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
Client side scripting and server side scripting
Client side scripting and server side scriptingClient side scripting and server side scripting
Client side scripting and server side scripting
 
Introduction to Web Hosting.
Introduction to Web Hosting.Introduction to Web Hosting.
Introduction to Web Hosting.
 
HTTP request and response
HTTP request and responseHTTP request and response
HTTP request and response
 
Web Server And Database Server
Web Server And Database ServerWeb Server And Database Server
Web Server And Database Server
 
wamp.ppt
wamp.pptwamp.ppt
wamp.ppt
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
INTRODUCTION TO IIS
INTRODUCTION TO IISINTRODUCTION TO IIS
INTRODUCTION TO IIS
 
Client and server side scripting
Client and server side scriptingClient and server side scripting
Client and server side scripting
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
Nodejs presentation
Nodejs presentationNodejs presentation
Nodejs presentation
 

Viewers also liked

Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and softwareVikram g b
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Softwarewebhostingguy
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and softwareHumma Rashid
 
2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study
2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study
2009 - Microsoft IIS Vs. Apache - Who Serves More - A StudyVijay Prasad Gupta
 

Viewers also liked (6)

Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
 
Web server
Web serverWeb server
Web server
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study
2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study
2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study
 
Web Engineering
Web EngineeringWeb Engineering
Web Engineering
 

Similar to Web server

05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebservertarensi
 
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt20521742
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowSpiffy
 
A Byte of Software Deployment
A Byte of Software DeploymentA Byte of Software Deployment
A Byte of Software DeploymentGong Haibing
 
Itp web application development
Itp web application developmentItp web application development
Itp web application developmentShibu S R
 
Nginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse ProxyNginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse ProxyAmit Aggarwal
 
Introduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to ChefIntroduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to ChefNathen Harvey
 
Add a web server
Add a web serverAdd a web server
Add a web serverAgCharu
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NETSharePointKE
 
Type of Web server.pdf
Type of Web server.pdfType of Web server.pdf
Type of Web server.pdfHost It Smart
 
A Tale of 2 Systems
A Tale of 2 SystemsA Tale of 2 Systems
A Tale of 2 SystemsDavid Newman
 
Servlet and JSP
Servlet and JSPServlet and JSP
Servlet and JSPGary Yeh
 
Welcome to Web Services
Welcome to Web ServicesWelcome to Web Services
Welcome to Web ServicesShivinder Kaur
 
PowerPoint Presentation
PowerPoint PresentationPowerPoint Presentation
PowerPoint Presentationwebhostingguy
 

Similar to Web server (20)

05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
 
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should Know
 
A Byte of Software Deployment
A Byte of Software DeploymentA Byte of Software Deployment
A Byte of Software Deployment
 
Itp web application development
Itp web application developmentItp web application development
Itp web application development
 
slides (PPT)
slides (PPT)slides (PPT)
slides (PPT)
 
Webapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh guptaWebapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh gupta
 
Nginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse ProxyNginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse Proxy
 
App fabric introduction
App fabric introductionApp fabric introduction
App fabric introduction
 
Introduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to ChefIntroduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to Chef
 
Add a web server
Add a web serverAdd a web server
Add a web server
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
Philly Tech Fest Iis
Philly Tech Fest IisPhilly Tech Fest Iis
Philly Tech Fest Iis
 
Type of Web server.pdf
Type of Web server.pdfType of Web server.pdf
Type of Web server.pdf
 
A Tale of 2 Systems
A Tale of 2 SystemsA Tale of 2 Systems
A Tale of 2 Systems
 
Servlet and JSP
Servlet and JSPServlet and JSP
Servlet and JSP
 
Welcome to Web Services
Welcome to Web ServicesWelcome to Web Services
Welcome to Web Services
 
PowerPoint Presentation
PowerPoint PresentationPowerPoint Presentation
PowerPoint Presentation
 

Web server