How the web work Web Server Web browser DNS Server 1 2 3 4.

3
How the web work Web Server Web browser DNS Server 1 2 3 4

Transcript of How the web work Web Server Web browser DNS Server 1 2 3 4.

Page 1: How the web work Web Server Web browser DNS Server 1 2 3 4.

How the web work

Web Server

Web browser

DNS Server1

2

34

Page 2: How the web work Web Server Web browser DNS Server 1 2 3 4.

Web server• Software installed on the operating system.• Most popular web server : IIS (Internet Information Services)

for Windows XP and Windows 2000 ,2003 Server.• Installing IISInstalling IIS

– Control panel Add/Remove programs Add/Remove windows components IIS

• Configuring IISConfiguring IIS– Control panel Administrative tools Internet

Information Services• After installing IIS the folder InetpubInetpub is installed along with

the O.S.• The inside folder wwwrootwwwroot have the web site (Home

directory).• Physical pathPhysical path : the path referenced to the machine itself.• Virtual pathVirtual path : the path referenced to the home directory of

the IIS.

Page 3: How the web work Web Server Web browser DNS Server 1 2 3 4.

• ExampleExample : – physical path : C:\Inetpub\wwwroot– virtual path : /

• ExampleExample : – physical path : C:\Inetpub\wwwroot\ images– virtual path : / images

• Viewing web site• ExampleExample 1 : http:// Server_Name /• ExampleExample 2 : http://Server_Name/images• Server_Namerver_Name :

• Localhost in your machine• From computer properties computer name

• Example 1 : http://Localhost• Example 2 : http://Localhost/images• Default Web page : the page opened when connecting to the

web server ( index.htm,default.htm).• Web sharing. http://Localhost/Alias_name