Web Server Administration Chapter 6 Configuring a Web Server.

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
Advertisements

1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
Web Server Administration
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 13: Administering Web Resources.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 13: Administering Web Resources.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Chapter 2: Application Layer
Web Server Administration
Layer 7- Application Layer
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Hands-On Microsoft Windows Server 2003 Administration Chapter 7 Administering Web Resources in Windows Server 2003.
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
Configuring a Web Server. Overview  Understand how a Web server works  Install IIS (Internet Information Services) and Apache Web servers  Examine.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.
Introduction 2: Internet, Intranet, and Extranet J394 – Perancangan Situs Web Program Sudi Manajemen Universitas Bina Nusantara.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
Internet Basics.
APACHE SERVER By Innovationframes.com »
Linux Operations and Administration
2440: 141 Web Site Administration Web Server Configuration Instructor: Enoch E. Damson.
Module 1: Installing Internet Information Services 5.0.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
The Linux Operating System Lecture 5: Apache Tonga Institute of Higher Education.
Web Servers Web server software is a product that works with the operating system The server computer can run more than one software product such as .
Configuring a Web Server. Overview Overview of IIS Preparing for an IIS Installation Installing IIS Configuring a Web Site Administering IIS Troubleshooting.
Human-Computer Interface Course 5. ISPs and Internet connection.
1 Web Server Administration Chapter 9 Extending the Web Environment.
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
FTP (File Transfer Protocol) & Telnet
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Understand the components of a browser and a server Understand.
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 13: Administering Web Resources.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Microsoft Internet Information Services 5.0 (IIS) By: Edik Magardomyan Fozi Abdurhman Bassem Albaiady Vince Serobyan.
Web Services CSCI N321 – System and Network Administration Copyright © 2007,2008 by Scott Orr and the Trustees of Indiana University.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Course ILT Internet/intranet support Unit objectives Use the Internet Information Services snap-in to manage IIS, Web sites, virtual directories, and WebDAV.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
Internet Information Server © N. Ganesan, Ph.D. All Rights Reserved.
1 Apache and Virtual Sites and SSL Dorcas Muthoni.
Application Services COM211 Communications and Networks CDA College Theodoros Christophides
LinuxChix Apache. Serving Webpages The layer 7 protocol (HTTP) is what our browsers talk to get us the websites we can't seem to live without. HTTP is.
WWW: an Internet application Bill Chu. © Bei-Tseng Chu Aug 2000 WWW Web and HTTP WWW web is an interconnected information servers each server maintains.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
1 Chapter Overview Creating Web Sites and FTP Sites Creating Virtual Directories Managing Site Security Troubleshooting IIS.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
CITA 310 Section 5 Virtual Hosts and Virtual Directories (Selected Topics from Textbook Chapter 6)
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
BZUPAGES.COM WEB SERVER PRESENTED TO: SIR AHMAD KAREEM.
CITA 310 Section 4 Apache Configuration (Selected Topics from Textbook Chapter 6)
Web Server Administration Chapter 6 Configuring a Web Server.
APACHE Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache Web server.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web and Proxy Server.
Chapter 7: Using Windows Servers
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 13: Administering Web Resources.
SUBMITTED BY: NAIMISHYA ATRI(7TH SEM) IT BRANCH
IIS.
الخطوات المطلوب القيام بها قبل انشاء الموقع
IS 4506 Server Configuration (HTTP Server)
Configuring Internet-related services
The University of Akron College of Applied Science & Technology Dept
APACHE WEB SERVER.
Information Retrieval and Web Design
Presentation transcript:

Web Server Administration Chapter 6 Configuring a Web Server

Overview Understand how a Web server works Install Apache Web servers Examine the Apache properties Host multiple Web sites Configure new Web sites in Apache Understand virtual directories

How a Web Server Works HTTP (Hypertext Transfer Protocol) defines how information is passed between a browser and a Web server The two most popular Web servers are Apache from Apache Software Foundation Internet Information Services (IIS) from Microsoft Almost two-thirds of all Web servers use Apache Netcraft.com

How a Web Server Works As is true with other servers such as DNS, Web servers listen for communication at a port The default port is 80 You can also create Web servers at port numbers greater than 1023 Each Web server has a root, which is where you store the HTML documents

Understanding HTTP The current version of HTTP is 1.1 Virtually no browsers are so old that they do not support 1.1 Version HTTP 2 has been worked on since 2006 HTTP is a stateless protocol, each Web page sent is independent of every other Web page shopping cart application uses programming

Understanding HTTP HTTP 1.1 supports persistent connections This allows the browser to receive multiple files in one TCP connection This can speed up communication Although you see a single page in your browser, it can be composed of many text and image files

Understanding HTTP When the browser sends a request to a Web server, it looks like: GET /hello.htm HTTP/1.1 Host: The above requests the hello.htm file from the root of the Web server It specifies the host of There could be multiple hosts at the IP address

Understanding HTTP Using a browser You type: Browser contacts DNS to resolve IP address IP address sent back to browser Browser composes a message using IP address to port 80 (notice it includes the host name) GET /hello.htm HTTP/1.1 Host:

Understanding HTTP Server responds to browser – header contains page info HTTP/ OK Server: Microsoft-IIS/8.5 Content-Type: text/html Last-Modified: Fri, 17 May :21:25 GMT Content-Length: 43 Hello, World

Features in Apache Apache released 1/29/2015 Apache can also be used as a proxy server A proxy server isolates your real Web server from the Internet Apache 2.0+ has (Apache Project)Apache Project Better support for Windows Support for IPv6 Simplified configuration Unicode support in Windows Multilanguage error responses Apache supports many programming languages such as Perl and PHP

Features in IIS IIS versions associated with Windows versions Windows Server 2003 – IIS 6.0 Windows 2008 – IIS 7.0 Windows 2012 – IIS 8.0 Windows 2012 R2 – IIS 8.5 SMTP can be easily added so you can send from your Web pages

Features in IIS 5.0 Web Distributed Authoring and Versioning (WebDAV) Allows a server to share Web-based files Named virtual hosting Multiple Web sites can share a single IP address Per Web site bandwidth throttling Control bandwidth by Web site Kerberos authentication Secure Sockets Layer 3.0 Encrypted communication

Features in IIS 6.0 Increased security Default permits only HTML documents Expanded language support Can use XML and SOAP Support for IPv6 Increased dependability Kernel-mode HTTP service Self-healing mechanism

Components in IIS File Transfer Protocol (FTP) server To transfer files between user and server FrontPage 2000 Server Extensions Used by programs to transfer files to and from a Web site NNTP Service Used to create user forums SMTP Service World Wide Web Server

IIS recent versions Wiki info Microsoft IIS

Installing Apache Apache can be installed when you install Linux Using yum install newest version: yum –y install httpd mod_ssl

Starting Apache By default, Apache does not start after you install it The following table has a list of commands apachectl – apache control ProcedureCommand Start Apache /usr/sbin/apachectl start Stop Apache /usr/sbin/apachectl stop Restart Apache /usr/sbin/apachectl restart

Minimal Apache Configuration Add a ServerName in /etc/httpd/conf/httpd.conf Find: #ServerName Add: ServerName your_domain.edu:80 Add apachectl start to /etc/rc.d/rc.local /usr/sbin/apachectl start

Apache Properties 3 Sections Global Section – Controls server overall operation Main Section – Configuration of default server Virtual Hosts Section – Settings for the virtual hosts

Apache Properties- Global Environment ServerRoot (“/etc/httpd”) Directory location of server files KeepAlive – (on) Indicates whether Apache should maintain a persistent connection Listen – (80) Determines the port number for the server Default is 80

Apache Properties- Main Server Configuration User (apache) Shows the user name that Apache employs when someone requests a Web page The default is apache ServerAdmin address of administrator ServerName (www domain:80) DNS host name or IP address of server DocumentRoot (“var/www/html”) Directory where the Web pages are stored

Hosting Multiple Web Sites by Port Number Associate each new Web site with a port above 1023 To retrieve a Web page from a site at port Because it requires a user to add the port number, it is not a popular method

Hosting Multiple Web Sites by IP Address You can create multiple IP addresses on a single NIC Referred to as virtual IP addresses Useful for flexibility because if each domain has its own unique IP address, you can easily move the domain to a different Web server It is getting more expensive to get multiple IP addresses from an ISP

Hosting Multiple Web Sites by Host Name Multiple host names can be associated with a single IP address Getting a single IP address from your ISP is relatively inexpensive You can host an almost unlimited number of domains with a single IP address It is the most common method of hosting

Configuring a Virtual Host Based on an IP Address in Apache In /etc/rc.d/rc.local, add an IP address such as: /bin/ifconfig eth0: In the Virtual Host section of httpd.conf ServerName research.technowidgets.com DocumentRoot /var/www/research

Configuring a Virtual Host Based on a Host Name in Apache NameVirtualHost defines the common IP address Multiple configurations repeat the same IP address and define unique ServerName settings NameVirtualHost ServerName DocumentRoot /var/www/html ServerName web1.technowidgets.com DocumentRoot /var/www/web1

Configuring a Virtual Directory in Apache The following associates the virtual directory called prod with the location of the directory Alias /prod/ “/var/www/prod/” Then it configures the directory AllowOverride None Order allow, deny Allow from all

Summary Web servers use HTTP to send HTML documents IIS is from Microsoft while Apache is from Apache Software Foundation IIS modifications are made through property pages Apache modifications are typically made by changing /etc/httpd/conf/httpd.conf

Summary You can create multiple Web sites on a single computer by adding port numbers, IP addresses, and/or host names Virtual directories are directories that appear to be located beneath the root, yet are physically located elsewhere