Web Technology Seminar: Deepak Kakkar Final Year - IT 21305205007
Web Technology Seminar: Deepak Kakkar Final Year - IT 21305205007
Deepak Kakkar
Final Year – IT
21305205007
Accessing Web Servers
• REQUESTING DOCUMENTS
– Must know machine name on which Web server
resides
– Through local Web servers or remote Web servers
– Through domain name or Internet Protocol (IP)
address
• LOCAL WEB SERVER
– Resides on users’ machines
– Requests documents in two ways
• Machine name
• localhost
– Host name that references local machine
2
Accessing Web Servers Cont..
• REMOTE WEB SERVER
– Resides on different machines
• DOMAIN NAME
– Represents group of hosts on Internet
– Combines with how name (www) and top-level domain to
from fully qualified host name
• TOP-LEVEL DOMAIN (TLD)
– Describes type of organization that owns domain name
• .com or .org
• FULLY QUALIFIED HOST NAME
– Provides user friendly way to identify site on Internet
3
Accessing Web Servers Cont..
• IP ADDRESS
– Unique address for locating computers on
Internet
• DOMAIN NAME SERVER (DNS)
– Maintains database of host names and
corresponding IP addresses
– Translates fully qualified host name to IP address
• Known as DNS lookup
4
Microsoft Internet Information
Services (IIS)
• IIS 5.0
– Enterprise-level Web server
– Included with Windows 2000
– Allows computer to serve documents
• Internet Services Manager
– Open Control Panel, double click Administrative
Tools icon, then double click Internet Services
Manager icon
– Administration program for IIS
– Place documents to be requested in default directory or
virtual directory
• Default: C:\Inetpub\Wwwroot
• Virtual: alias for existing directory on local machine
5
Microsoft Internet Information
Services (IIS) Cont..
6
Microsoft Internet Information
Services (IIS) Cont..
• Default FTP Site and Default Web Site
– Permit transferring documents between computer
and server
– HTTP used frequently to request documents
• Default SMTP Virtual Server
– Allows for creation of mail server
• Create virtual directory in Default Web Site
– Most Web documents reside in Webpub directory
• Right click Webpub, select New, then Virtual Directory
• Initiates Virtual Directory Creation Wizard
– Guides user through virtual directory creation process
7
Microsoft Internet Information
Services (IIS) Cont..
8
Microsoft Internet Information
Services (IIS) Cont..
• Virtual Directory Alias
– Enter name for virtual directory
• Name should not conflict with an existing virtual directory
• Web Site Content Directory
– Enter path of directory containing Web documents
• Access Permissions
– Presents security level choices
– Select access level appropriate for Web document
9
Microsoft Internet Information
Services (IIS) Cont..
10
Microsoft Internet Information
Services (IIS) Cont..
11
Microsoft Internet Information
Services (IIS) Cont..
• Access Permissions
– Presents security level choices
– Select access level appropriate for Web document
– Read allows users to read and download files
– Run Scripts allows scripts to run in directory
– Execute allows applications to run in directory
– Write allows Web page to accept user input
– Browse allows users to navigate between documents
– Read and Run Scripts selected by default
12
Microsoft Internet Information
Services (IIS) Cont..
13
Apache Web Server
• Apache
– Maintained by Apache Software Foundation
– Currently most popular Web server
• Stable
• Efficient
• Portable
14
Apache Web Server Cont..
• Leading UNIX Web Server
• High Performance “httpd” Server (Demon)
– Demon: UNIX background P/S to implement a
server side of protocol.
• It comes in Source form & can be compiled on many platforms like
AIX, HPUX, IRIX, Linux, SCO UNIX, SunOS, NeXT, BSDI, FreeBSD &
Solaris.
• It is also available for OS/2 & Windows NT
15
Apache Web Server Cont..
• Home Page Address
http://www.apache.org/
• Software Download Address
http://www.apache.org/dist
• Binary Distribution of Apache
http://www.apache.org/dist/binaries
• Register for Modules @
http://modules.apache.org/
16
Apache Web Server Cont..
TO START APACHE WEBSERVER SERVICE:
17