1 / 26

CSI 227

CSI 227. Configuring Web Sites and Servers. Configuring Web Sites & Servers. Web site properties can be set at several levels Global defaults – apply to all web sites on a particular server Site defaults – apply to all pages and directories that comprise a single web site

umeko
Download Presentation

CSI 227

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSI 227 Configuring Web Sites and Servers

  2. Configuring Web Sites & Servers • Web site properties can be set at several levels • Global defaults – apply to all web sites on a particular server • Site defaults – apply to all pages and directories that comprise a single web site • Directory defaults – apply to one particular directory

  3. Naming & Identification • Intranets use names that resolve locally (e.g., intranet) and are reachable only through the local network • Internet web sites use FQDNs and are accessible outside the hosting organization • Host headers allow single IP addresses and port assignments to serve multiple sites

  4. Naming & Identification • Each web server (system) must be assigned a unique IP address (whether or not this IP address is associated with web sites running on that system) • Web servers (systems) may have multiple IP addresses

  5. 196.11.20.10 196.11.20.11 Multiple IP addresses – one system

  6. 196.11.20.10 Multiple systems – reachable via one IP address

  7. www.badhairday.org (196.11.20.10) DNS resolution

  8. Internal IP address 10.11.20.10 www.badhairday.org (196.11.20.10) Address translation

  9. 10.11.20.10 196.11.20.10 Address translation

  10. 10.11.20.10 196.11.20.10 10.11.20.11 10.11.20.12 10.11.20.13 Load balancing – big sites

  11. www.waxmakers.org www.toowarm.net Multihoming – smaller sites

  12. (www.waxmakers.org) 66.96.131.84 (www.toowarm.net) 66.96.131.84 Multihoming – smaller sites

  13. Web Site Identity • System name • IP address • Port number • Host header

  14. Hosting multiple sites on one system • Advantage – you install and manage one system • All your web sites are managed from a single interface

  15. Hosting multiple sites on one system • Multiple IP addresses or • Multiple ports or • Unique host headers (FQDNs)

  16. Hosting one site on multiple systems • Advantage: reliability – one or more systems can be down with no discernable affect on the site

  17. System Configuration

  18. System Configuration

  19. Easiest IIS Setup • Populate the default web site with a minimum set of files • The default site is configured and running when the software is installed • In IIS 6.0, the web server is also fairly secure out of the box

  20. Directories • Home Directories (Document Root) • Required for each WWW or FTP site • Central location of published pages • Mapped to server or domain name • Virtual Directories • Directory not included in home directory, but appearing to client browsers as such • Appear as gear/wheel icon

  21. Access Control (ACLs) • Used to control what users have what type of access • Administrators and authors should have write access to a website • Public should have read access but usually not write • Requires NTFS formatted volume to work correctly

  22. IP Addresses & Ports • All unassigned • Specific IP address • Port 80 or other

  23. Home Directory • Directory on your local drive or other system

  24. Configuring Keep Alives • Original HTTP opened a new connection for every file retrieved • Keep alives, new with HTTP 1.0, allow multiple files (e.g., all the components of a single web page) to be retrieved in a single connection • The start up and closing of a connection requires system resources

  25. Physical & Virtual Directories • Physical directories are housed within the home directory of the particular web site • Virtual directories are not

  26. Access Permissions • Read – read documents, e.g., html • Run scripts (such as asp and perl) • Execute (such as ASAPI & CGI) • Write – upload files, e.g., w FrontPage • Browse – view directory listing if no default page is present

More Related