Copyright ©1996, Que Corporation. All rights reserved. No part of this book may be used or reproduced in any form or by any means, or stored in a database or retrieval system without prior written permission of the publisher except in the case of brief quotations embodied in critical articles and reviews. Making copies of any part of this book for any purpose other than your own personal use is a violation of United States copyright laws. For information, address Que Corporation, 201 West 103rd Street, Indianapolis, IN 46290 or at support@mcp.com.

Notice: This material is excerpted from Running A Perfect Web Site with Apache, ISBN: 0-7897-0745-4. The electronic version of this material has not been through the final proof reading stage that the book goes through before being published in printed form. Some errors may exist here that are corrected before the book is published. This material is provided "as is" without any warranty of any kind.

Chapter 03 - Setting Up a Presence on the World Wide Web

This chapter discusses the first steps you need to take to create a presence on the Web: getting the connection to the Internet itself, and selecting a system to host your presence. You can follow two basic paths to put your site on the Internet: the first part of this chapter discusses the benefits and costs of each. The second part of the chapter discusses the choices you'll need to make when building the Web server itself. Even if you're setting up an internal Web server with no connection to the Internet, take a look through the section about building the perfect Web server.

Setting up an Internet Web server can be quite a complex undertaking, and the detailed knowledge required would fill far more than just a single book. This chapter describes important parts of the process and outlines the choices you need to make.

In this chapter, you learn:

  • The advantages and disadvantages of hosting your own site or leasing space from a provider
  • What kind of Internet connections are available and the hardware they require
  • How to select the operating system and hardware for your Web server

Establishing a Presence

There are two basic ways to create a presence on the Web - hosting the site on an Internet service provider's machine or somewhere outside your machine, or hosting it on your own machine and managing the bandwidth and hardware/software issues yourself. Each method has its own benefits and costs; the method you choose depends on your needs.

Key Considerations

Putting information on the Web requires HTTP server software (as provided on the CD accompanying this book) and a system to host that information. The first choice you need to make is whether to support that system yourself - including tending the hardware, configuring and monitoring the server, and installing all the information or services you want to provide to the world - or to lease Web space from your Internet provider and let your provider do all the nitty-gritty of running the server. It may sound like a simple choice - after all, why not just sit back and let someone else do all the dirty work? But actually, the choice is a little more complex. The main trade-offs you make when you decide whether to have your provider host your Web site or whether you host the site yourself are cost and control.

Reviewing and Comparing the Alternatives

When your provider hosts your Web site, the provider takes care of obtaining the hardware, maintaining the system, worrying about security, and may even be able to design and produce your Web pages. Depending on the complexity of your Web site, creating a Web site can be a considerable effort, especially if you need to integrate it with an existing network. Having your provider do all the work can certainly be very convenient. It can, however, also be costly, depending on the number of conveniences you require and the rates your provider charges for his services. There are really no standards when it comes to Web site hosting, so costs and services vary wildly. This isn't to say there aren't some really good groups out there doing commercial Web hosting services in a very professional manner, however. When you rely totally on the provider, aside from the content of the information you supply for the Web, you often have less control over your Web site. Your provider may not allow things such as access counters (the "you are visitor number so-and-so" that appears at the bottom of many Web pages) or other on-the-fly page customizations because of system concerns or capabilities. Your provider takes care of all the hardware, including a high-speed 24-hour-a-day connection to the Internet, but if your provider's system goes "off the air," there's nothing you can do about restoring your Web presence.

When you host your own Web site, you have total control over all aspects of your site; its features, its services, its hours of operation. You also have total responsibility for its operation (or lack thereof if you run into problems). The highest costs are in setting up the server and the network connection; once the server is up and running, all you'll need to pay will be your Internet connection charge and whatever fees are involved in making the physical connection between your system and the Internet. Your initial cost can be very low - after all, your most crucial software, including the Web server itself, is included on the CD-ROM with this book - or quite high, if you have complex security requirements.

There are a few other factors to consider. If you already have a full-time Internet connection for other purposes (such as FTP or e-mail), you should host your own Web site - most of the hard work of integrating the Internet and your internal network will already have been done. If your needs are very simple - for example, if you just want to host a few pages, want to run the Web server only for limited hours, or if you don't want to connect your Web server to an internal network - you're also a good candidate for your own Web site. Once you have a connection established, setting up the Web server itself is simple.

Finally, you need to consider what kind of information your server might gather as well as what kind it will distribute. If you want to collect sensitive or confidential information (for example, credit card numbers or customer names and addresses), your provider must support secure Web transactions. More importantly, you must be able to trust your provider to keep your confidential information secret. If you don't want to trust your provider with your secrets, you'll need to operate the secure server yourself, which is not a small undertaking.

Here's a summary of the advantages and disadvantages to hosting your own Web site.

Issue Your Own Server Leased Space
Cost Low to moderate, depending on bandwidth needs Varies widely
Control You have total control Control is an option
Features Your site has any features you want Your site only has features they allow
Security You must configure They do it for you
Setting up the server software Simple to moderately difficult They do it for you
Setting up the hardware Can be very complicated, especially the Internet connection They do it for you


There are a couple happy media between having your provider do all the work at his own server and setting up a Web site by yourself. Some providers (or other specialists) can assist in the initial setup of the server, including designing Web pages. You can then take over server operations. Alternately, some Internet access providers will let you locate your machine at their machine room for a monthly fee, essentially giving you as much bandwidth as they themselves have without having to deliver that bandwidth to your door. You can still control everything on that server, hardware, and software, it's just sitting in a locked cage somewhere else. This is called server co-location.

The next few sections cover some of the details involved in getting the Internet connection. Leasing space from a provider is explained more fully, but the hardware you'll need to make the connection to the Internet yourself is described.

Leasing Space

Leasing space is a popular, easy way to get your presence on the Web quickly. The greatest appeal of leased space is that your provider gives you a high-speed Internet connection, all day, every day. However, your provider's charge for this service may be as much as, or more than, what it would cost you to provide a satisfactory Internet connection, but with the added flexibility that your own server provides.

Working with Leased Space

When you have a leased Web site, you either tell your provider how you want your pages set up, or you create them yourself and send them to your provider, most frequently via FTP.

As was mentioned earlier, a leased Web site can only provide those services that your provider allows. Will your provider allow you to use the forms and scripts you want to use to collect information or provide services? Some don't, for security reasons. Will your provider allow you to use programs (called server-side includes) or implement new content types like Java or VRML?

Finding a Provider

Finding a provider today is extremely simple, just by using the Internet itself. A search of the Yahoo Web site for "Internet Providers" yields a dizzying array of Internet access providers, Web page designers, and network specialty firms, in every locale and every price range. Some firms provide browser forms for price quotes, or just descriptions of services; others provide full pricing schedules.

Table 3.1 WWW Service Providers

Name and URL Services Speed Area
Computer Solutions by Hawkinson
http://www.mhv.net/
HP T1 914
Telerama Public Access Internet
http://www.lm.com/
HCSP T1 412
Quantum Networking Solutions
http://www.gcr.com
HC 14K
Internet Presence & Publishing, Inc.
http://www.ip.net/
HCSP T1 804
Computing Engineers, Inc.
http://www.wwa.com/
HCSP 56K 312, 708
South Valley Internet
http://www.garlic.com
CS 56K 408
Branch Information Services
http://branch.com
HCSP T1 313
APK, Public Access UNI*.
http://www.wariat.org
HS 216
Internet Distribution Services, Inc.
http://www.service.com/
HCSP T1 415
Cyberspace Development, Inc.
http://marketplace.com
HS T1
BEDROCK Information Solutions, Inc.
http://www.bedrock.com/
HCS T1
Electric Press, Inc.
http://www.elpress.com
HCSP T1
Quadralay Corporation
http://www.quadralay.com/home.html
HCSP T1
Downtown Anywhere Inc.
http://www.awa.com/
HCSP frac. T1
Internet Marketing Inc.
http://cybersight.com/cgi-bin/imi/s?main.gmml
HCS T1
The New York Web
http://nyweb.com
HCSP T1
The Sphere Information Services
http://www.thesphere.com
HC 56K
The Computing Support Team, Inc.
http://www.gems.com/
HCS T1
The Internet Group
http://www.tig.com/
HCS T1
Lighthouse Productions
http://netcenter.com
HP 115K
Catalog.Com Internet Services
http://www.catalog.com
T1

Great Basin Internet Services
http://www.greatbasin.net/
HCSP 56K 702
Net+Effects
http://www.net.effects.com
HCSP 14K
XOR Network Engineering
http://plaza.xor.com/
HCS

BizNet Technologies
http://www.biznet.com.blacksburg.va.us/
HCSP T1
Sell-it on the WWW
http://www.electriciti.com/
H T1
RTD Systems & Networking, Inc.
http://www.rtd.com/
HCP T1 602
Atlantic Computing Technology Corporation
http://www.atlantic.com/
HCSP 56K
InterNex Information Services, Inc.
http://www.internex.net/
HCS T1 510, 415, 408
Teleport, Inc.
http://www.teleport.com
56k 503, 206
QuakeNet
http://www.quake.net/
H T1 415
Internet InformationServices, Inc.
http://www.iis.com
HCSP T1 301, 410, 703
CyberBeach Publishing
http://www.gate.net/
HCSP T1 305, 407, 813, 904
Primenet
http://www.primenet.com/
HCP T1 602
TAG Systems inc.
http://www.tagsys.com/
HC 56K
Internet Information Systems
http://www.internet-is.com/
HCS frac. T1
Stelcom, Inc.
http://www.webscope.com
HC frac. T1
Coolware Inc.
http://none.coolware.com/
HCS 56K
IDS World Network InternetAccess Services
http://www.ids.net
HCSP T1 401, 305, 407, 914
SenseMedia Publishing
http://www.picosof.com
H T1 408
Home Pages, Inc.
http://www.homepages.com
HCSP 128K
TeleVisions Inc.
http://www.tvisions.com
H T1
Internet Services Corporation
http://www.netservices.com/
HCSP T1
EarthLink Network, Inc.
http://www.earthlink.net
HC T1 213, 310, 818
New Jersey Computer Connection
http://www.njcc.com
H 56K 609
CTS Network Services
http://www.cts.com
HCSP T1 619
The Tenagra Corporation
http://arganet.tenagra.com/Tenagra/tenagra.html
HCS T1

H=htmL Authoring/Web Application Development

C=CGI Script Processing

S=WAIS or other search capabilities offered

P=Prebuilt applications

Speed=Speed of service provider's connection to the Internet

Area=Area code(s) served in part or in whole by local dial-up access. If no area code is listed, provider either offers national dial-up access or none at all.

Costs

The recent competition for Internet services, and the (relatively) low cost of the necessary technology, has lowered the prices and raised the quality of Internet service in general, but prices and services vary widely from provider to provider. For example, one provider offers a wide range of prices, from an extremely low rate for very small businesses (a little over $200 setup charge and around $30 per month) to a high rate for large, high-volume sites (almost $6,000 setup and nearly $2,000 per month). Some providers have fixed rates; others charge by the number of page accessed or by the amount of data the server transmits. Providers also have a range of "package deals" with varying degrees of flexibility and services, ranging from a simple "you upload it, we publish it" to page design and application programming.


It definitely pays to shop around for Internet services, even for simple personal access. A savings of even $20 per month adds up quickly. And don't be afraid to look outside your geographical area for low-cost services. Remember, it's the World Wide Web, and if you have local Internet access yourself, you can FTP your pages to a provider's server in another state as easily as you can to one across the street.

Concerns and Advantages

Leasing your presence on a provider's Web server provides an easy way to establish your presence on the Web, but one with many constraints and one that may not be cost-effective for your needs. If you don't want to hassle with network connections, server security, and system maintenance, and don't mind giving up control of your Web presence, this is definitely the way to go. If you already have the Internet connection, or can't find a provider package that suits your needs or your budget, consider running your own server.

Connecting Your Own Web Server

If you decide to host your own Internet server, you will need to provide your own Internet connection. Again, this is something that is best done by professionals, and a good Internet access provider will be able to do most of the dirty work for you. This section is intended to give you an overview of some of your choices.

All Internet connections have several costs, all of which add up alarmingly quickly:

  • The hardware required to make the connection itself - ranging from a simple plug-in modem to multiple routers and other network connectivity devices
  • The provider's setup cost (sometimes includes the service charge for installing equipment at your site, sometimes doesn't)
  • The cost of the Internet service itself
  • The price of the physical connection to the Internet - ranging from an ordinary phone line to special data lines

Of course, the faster and the more complex the connection, the more expensive it will be.

Connection Types: Switched versus Leased

There are two basic types of Internet connection: switched connections, which use some sort of intermediary technology between your system and the Internet, and leased lines, a direct network connection to the Internet itself.

Leased lines are the method of choice for anyone needing full-time high-speed connections. Leased lines are the fastest type of Internet connection - they are also the most expensive. Connecting a high-speed leased line to your system is probably the single-most complicated operation in the entire Web server setup process, and you will need to budget plenty of time and money to make that connection.

A slow leased line (56 kbps, about twice as fast as a standard 28.8 kbps modem) provides more than enough bandwidth for e-mail and news, but is not much faster than a regular home dial-up connection when transmitting heavy graphics.

The most common leased-line connection is a T1, which has a very respectable data rate of 1,544 kbps (more than 50 times faster than a 28.8 kbps modem). T1s provide enough bandwidth for dozens of Web servers, so several users can each use only a part of the T1, sharing the bandwidth as well as the cost. A full T1 connection costs between $1,000 and $3,000 per month, not including the cost of the leased line (which can be as much again as the Internet access charge). Many providers offer fractional T1 lines in 256 kbps increments. Even higher up the bandwidth food chain are T3 connections (also sometimes called OC3 connections), which are a very respectable 45 megabits per second speed. Typically, these are reserved for sites with very heavy loads - unless you are planning on being one of the top 50 Web sites in terms of traffic, this is probably overkill for you. T3 line and Internet access charges can be as high as $25,000 per month.

Leased lines can't just be plugged into a network card on the back of your computer; they require additional hardware, the most important being a router, a device that controls the flow of data between the Internet and your local network or system. Cost for routers (not always including installation and support) range from $1,000 to $4,000. Routers can be crucial components in your network security system, and the more protection your internal network requires, the more important your routers become.

Leased lines also require a Channel Service Unit/Data Service Unit (CSU/DSU or just CSU) installed between the leased line and the router. CSUs run from around $300 to around $3,000, depending on the speed you require. T3 DSU's and routers can run you well into $80,000 before you're done.


Leave a little "room to grow" when you purchase your router and CSU; you can often save upgrade costs later by spending a little more up front for higher speed equipment.

If you want to run a high-volume server with heavy graphics, you will probably need a leased line of some kind. However, in addition to these traditional solutions, there are several alternative technologies that you might explore if you don't require leased lines' ultra-high speeds (or can't afford leased lines' high costs).

Table 3.2 Leased Line Providers in the United States

The following information is taken from the InterNIC Leased Line Providers List that is published by the InterNIC, a project of the National Science Foundation, and is reprinted here with permission. Some of the entries have been modified to reflect new information and addresses.
InterNIC Information Services
info@internic.net
General Atomics (GA)
Phone: (619) 455-4600
P.O. Box #85608
Fax: (619) 455-4640
San Diego, CA 92186-9784
Updated: 94/11/7

InterNIC Internet Service Providers List: Leased Line Only (United States)
Permission for noncommercial distributions is granted, provided that this file is distributed intact, including the acknowledgment, disclaimer, and copyright notice found at the end of this document.

Adhesive Media, Inc.
Eden Matrix Online Service
John Herzer
adhesive-media@eden.com
Texas
(512) 478-9900 x200 (PHONE)
(512) 478-9934 (FAX)
AlterNet
alternet-info@uunet.uu.net
US and International
(800) 4UUNET3 (PHONE)
American Information Systems
Josh Schneider
schneid@ais.net
Illinois
(708) 413-8400 (PHONE)
(708) 413-8401 (FAX)
ANS
Sales and Information
info@ans.net
http://www.ans.net
US and International
(800) 456-8267 (PHONE)
(703) 758-7717 (FAX)
APK Public Access
Zbigniew Tyrlik
support@wariat.org
Ohio
(216) 481-9428 (PHONE)
BBN BARRNet, Inc
John Toth
info@barrnet.net
California, Nevada
(415) 528-7111 (PHONE)
(415) 934-2665 (FAX)
Beckemeyer Development
Sales
info@bdt.com
California
(510) 530-9637 (PHONE)
(510) 530-0451 (FAX)
CCnet Communications
Information
info@ccnet.com
California
(510) 988-0680 (PHONE)
(510) 988-0689 (FAX)
CERFnet
CERFnet Hotline
sales@cerf.net
Western US and International
(800) 876-2373 (PHONE)
(619) 455-3990 (FAX)
CICnet
Marketing and Sales Dept.
info@cic.net
Midwestern United States
(800) 947-4754
(313) 998-6703 (PHONE)
(313) 998-6105 (FAX)
Clark Internet Services
ClarkNet Office
info@clark.net
Northeastern United States
(800) 735-2258
(410) 254-3900 (PHONE)
(410) 730-9765 (FAX)
Cloud 9 Internet
Scott Drassinower
scottd@cloud9.net
New York
(914) 682-0626 (PHONE)
(914) 682-0506 (FAX)
Supernet, Inc
Anthony Rael
info@csn.net
www.csn.net
Colorado
(303) 296-8202 x124 (PHONE)
(303) 296-8224(FAX)
Connix
Jim Hogue
office@connix.com
Connecticut
(860) 349-7059 (PHONE)
CRL Network Services
Sales
sales@crl.com (or) info@crl.com
California
(415) 837-5300 (PHONE)
CTS Network Services
Sales
support@cts.com
California
(619) 637-3637 (PHONE)
(619) 637-3630 (FAX)
CyberGate, Inc
Dan Sullivan
sales@gate.net
Florida
(305) 428-4283 (PHONE)
(305) 428-7977 (FAX)
DFW Internet Services, Inc
Jack Beech
sales@dfw.net
Texas
(817) 332-5116 (PHONE)
(817) 870-1501 (FAX)
DIGEX
Sales
sales@ digex.net
United States/International
(800) 99DIGIX (PHONE)
(301) 847-5215 (FAX)
EarthLink Network, Inc.
Sky DaytonBR>info@earthlink.net
California
(213) 644-9500 (PHONE)
(213) 644-9510 (FAX)
Edge Internet Services
Tim Choate
info@edge.net
tchoate@edge.net
Tennessee
(615) 726-8700 (PHONE)
(615) 726-0665 (FAX)
Escape (Kazan Corp)
Sales
info@escape.com
New York
(212) 888-8780 (PHONE)
(212) 832-0344 (FAX)
Evergreen Internet
Phil Broadbent
sales@libre.com
Arizona
(602) 230-9330 (PHONE)
(602) 230-9773 (FAX)
Florida Online
Jerry Russell
jerry@digital.net
Florida
(407) 635-8888 (PHONE)
(407) 635-9050 (FAX)
HoloNet
HoloNet Staff
support@holonet.net
North America
(510) 704-0160 (PHONE)
(510) 704-8019 (FAX)
Global Internet Network Services
Network Information Center
info@gi.net

(800) 682-5550 (PHONE)
(402) 436-3030 (FAX)
Global Enterprise Services
Sergio Heker, President
market@jvnc.net
US and International
(800) 35-TIGER (PHONE)
(609) 897-7310 (FAX)
IACNet
Devon Sean McCullough
info@iac.net
Ohio
(513) 887-8877 (PHONE)
ICNet
Ivars Upatnieks
info@ic.net
Michigan, Ohio
(313) 998-0090 (PHONE)
IDS World Network
Information
info@ids.net
Northeastern US
(800) IDS-1680 (PHONE)
Innovative Data Services
Sales
Salesinfo@id.net
Michigan
(810) 478-3554 (PHONE)
(810) 478-2950
INTAC Access Corporation
Sales
info@intac.com
New Jersey
(201) 944-1417 (PHONE)
(201) 944-1434 (FAX)
InterAccess
Lev Kaye
info@interaccess.com
Illinois
(800) 967-1580 (PHONE)
(708) 498-3289 (FAX)
The Internet Access Company
Sales
info@tiac.net
Massachusetts
(617) 276-7200 (PHONE)
(617) 275-2224 (FAX)
Internet Atlanta
Dorn Hetzel
info@atlanta.com
Georgia
(404) 410-9000 (PHONE)
(404) 410-9005 (FAX)
Internet Channel, Inc.
Tony Walters
sales@internet-channel.net
U.S./Worldwide
(803) 722-7900 (PHONE)
(803) 722-4488 (FAX)
Internet Express
Customer Service
service@usa.net
Colorado
(800) 592-1240 (PHONE)
(719) 592-1201 (FAX)
Internet On-Ramp, Inc
Sales
sales@on-ramp.ior.com
Washington
(509) 624-RAMP (PHONE)
(509) 323-0116 (FAX)
Internetworks
Internetworks, Inc
info@i.net
ftp.i.net:/pub/internetworks
United States and Pacific Rim
(503) 233-4774 (PHONE)
(503) 614-0344 (FAX)
Interport Communications Corp
Sales and Information
info@interport.net
http://www.interport.net
New York
(212) 989-1128 (PHONE)
IQuest Network Services
Robert Hoquim
info@iquest.net
Indiana
(800) 844-UNIX
(317) 259-5050 (PHONE)
(317) 259-7289 (FAX)
Kaiwan Corp
Rachel Hwang
sales@kaiwan.com
California
(714) 638-2139 (PHONE)
(714) 638-0455 (FAX)
LI Net, Inc
Michael Reilly
questions@li.net
New York
(516) 265-0997 x101 (PHONE)
Lightside, Inc
Fred Condo
lightside@lightside.com
http://www.lightside.net/
California
(818) 858-9261 (PHONE)
(818) 858-8982 (FAX)
Los Nettos
Joe Kemp
los-nettos-info@isi.edu
http://www.isi.edu/ln
Southern California
(310) 822-1511 (PHONE)
(310) 823-6714 (FAX)
netMAINE, Inc,
Andy Robinson
sales@maine.net
Maine
(207) 780-6381 (PHONE)
(207) 780-6301 (FAX)
MCSNet
Karl Denninger
info@mcs.net
Illinois
(312) 248-8649 (PHONE)
(312) 248-9865 (FAX)
MichNet/Merit
Recruiting Staff
info@merit.edu
Michigan
(800) 682-5550 (PHONE)
(313) 764-9430
(313) 747-3185 (FAX)
Minnesota Regional Network (MRNet)
Dennis Fazio
info@mr.net
Minnesota
(612) 342-2570 (PHONE)
(612) 342-2873 (FAX)
MSEN
Owen S. Medd
info@msen.com
Michigan
(313) 998-4562 (PHONE)
(313) 998-4563 (FAX)
MV Communications
Sales
info@mv.mv.com
New Hampshire
(603) 429-2223 (PHONE)
NEARNET
NEARNET Information Hotline
nearnet-join@near.net
Northeastern US
(617) 873-8730 (PHONE)
(617) 873-5620 (FAX)
NetAxis
Luis Hernandez
luis@eliza.netaxis.com
Connecticut
(203) 969-0618 (PHONE)
(203) 921-1544 (FAX)
NETCOM On-line Communications
Services
Business or Personal Sales
info@netcom.com
United States
(800) 353-6600
(408) 983-5950 (PHONE)
(408) 241-9145 (FAX)
netILLINOIS
Peter Roll
info@illinois.net
Illinois
(708) 866-1804 (PHONE)
(708) 866-1857 (FAX)
Network Intensive
Sales and Information
info@ni.net
http://www.ni.net/
California and New Mexico
(714) 450-8400 (PHONE)
(800) 273-5600
(714) 450-8410 (FAX)
New Mexico Technet, Inc
Marianne Granoff
granoff@technet.nm.org
New Mexico and Navajo Reservation (incl: AZ, UT, CO Reservations)
(505) 345-6555 (PHONE)
(505) 345-6559 (FAX)
New York Net
Bob Tinkelman
sales@new-york.net
New York
(718) 776-6811 (PHONE)
(718) 217-9407 (FAX)
Northcoast Internet
support@northcoast.com
California
(707) 443-8696 (PHONE)
(707) 441-0321 (FAX)
NorthWest CommLink
Garlend Tyacke
gtyacke@nwcl.net
Washington
(206) 336-0103 (PHONE)
(206) 336-2339 (FAX)
Northwest Nexus, Inc
Information
info@nwnexus.wa.com
support@halcyon.com
Washington
(206) 455-3505 (PHONE)
(206) 455-4672 (FAX)
NorthwestNet
Member Relations
info@nwnet.net
Northwestern US
(206) 562-3000 (PHONE)
(206) 562-4822 (FAX)
NYSERNet
Sales
info@nysernet.org
New York
(315) 453-2912 (PHONE)
(315) 453-3052 (FAX)
OARnet
Larry L. Buell
info@oar.net
Ohio
(614) 728-8100 (PHONE)
(614) 728-8110 (FAX)
Old Colorado City Communications
L.S. Fox
thefox@oldcolo.com
Colorado
(719) 528-5849 (PHONE)
(719) 528-5869 (FAX)
Panix
New User Staff
info-person@panix.com
New York City, Nassau Cty in Long Island, Jersey City, New Jersey
(212) 741-4400 (PHONE)
(212) 741-5311 (FAX)
Ping
Brett Koller
bdk@ping.com
Georgia
(404) 399-1670 (PHONE)
(404) 399-1671 (FAX)
Pioneer Global
Craig Komins or Brian Breen
sales@pn.com
http://www.pn.com
Massachusetts
(617) 375-0200 (PHONE)
(617) 375-0201 (FAX)
Planet Access Networks
Fred Laparo
fred@planet.net
http://www.planet.net
New Jersey
(201) 691-4704 (PHONE)
(201) 691-7588 (FAX)
PREPnet
nic@prep.net
Pennsylvania
(412) 268-7870 (PHONE)
(412) 268-7875
Primenet
Clay Johnston
info@primenet.com
Arizona
(602) 870-1010 x109 (PHONE)
(602) 870-1010 (FAX)
PSINet
PSI, Inc
info@psi.com
United States and International
(800) 82PSI82
(703) 709-0300 (PHONE)
(800) FAXPSI1 (FAX)
QuakeNet
Sales
info@quake.net
California
(415) 655-6607 (PHONE)
(415) 377-0635 (FAX)
The Rabbit Network, Inc
Customer Liaison Services
info@rabbit.net
Michigan
(800) 456-0094 (PHONE)
(810) 790-0156 (FAX)
Red River Net
Craig Lien
lien@rrnet.com
Minnesota, North and South Dakota
(701) 232-2227 (PHONE)
Rocky Mountain Internet, Inc
Rick Mount
info@rmii.com
Colorado
(800) 900-RMII (PHONE)
(719) 576-0301 (FAX)
Scruz-Net
Matthew Kaufman
info@scruz.net
California
(800) 319-5555
(408) 457-5050 (PHONE)
(408) 457-1020 (FAX)
SeaNet
Igor Klimenko
igor@seanet.com
Seattle
(206) 343-7828 (PHONE)
(206) 628-0722 (FAX)
Sibylline, Inc
Dan Faules
info@sibylline.com
Arkansas
(501) 521-4660 (PHONE)
(501) 521-4659 (FAX)
SIMS, Inc
Natalie Carrigan
info@sims.net
South Carolina
(803) 853-4333 (PHONE)
(803) 722-4488 (FAX)
South Coast Computing Services, Inc
Sales
sales@sccsi.com
Texas
(713) 917-5000 (PHONE)
(713) 917-5005 (FAX)
SprintLink
SprintLink
info@sprintlink.net
US and International
(800) 817-7755 (PHONE)
(703) 904-2680 (FAX)
SURAnet
Kimberly Donaldson
kdonalds@sura.net
Southeastern US, South America, Puerto Rico
(301) 982-4600 (PHONE)
(301) 982-4605 (FAX)
Synergy Communications
Sales Department
info@synergy.net
United States
(402) 346-4638 (PHONE)
(402) 346-0208 (FAX)
Telerama Public Access
Peter Berger
sysop@telerama.lm.com
Pennsylvania
(412) 481-3505 (PHONE)
(412) 481-8568 (FAX)
THEnet (Connectivity for education and government in Texas)
Frank Sayre
f.sayre@utexas.edu
Texas
(512) 471-2444 (PHONE)
(512) 471-2449 (FAX)
ThoughtPort Authority Inc
David Bartlett
info@thoughtport.com
National
(314) 474-6870
(800) ISP-6870 (PHONE)
(314) 474-4122 (FAX)
UltraNet Communications, Inc
Sales
info@ultranet.com
Massachusetts
(508) 229-8400
(800) 763-8111 (PHONE)
(508) 229-2375 (FAX)
US Net, Inc
Services
info@us.net
Eastern United States
(301) 572-5926 (PHONE)
(301) 572-5201 (FAX)
VERnet
James Jokl
net-info@ver.net
Virginia
(804) 924-0616 (PHONE)
(804) 982-4715 (FAX)
ViaNet Communications
Joe McGuckin
info@via.net
California
(415) 903-2242 (PHONE)
(415) 903-2241 (FAX)
VNET Internet Access, Inc
info@vnet.net
National
PO Box 31474
Charlotte, NC 28231
(800) 377-3282 (PHONE)
WestNet
Lillian or Chris
staff@westnet.com
Western United States
(914) 967-7816 (PHONE)
WiscNet
Network Information Center
wn-info@nic.wiscnet.net
Wisconsin
(608) 262-4241 (PHONE)
(608) 262-4679 (FAX)
WLN
Rushton Brandis
info@wln.com
Washington
(800) DIAL-WLN
(206) 923-4000 (PHONE)
(306) 923-4009 (FAX)
WorldWide Access
Kathleen Vrona
support@wwa.com
Illinois
(708) 367-1870 (PHONE)
(708) 367-1872 (FAX)
XMission
Support
support@xmission.com
Utah
(801) 539-0852 (PHONE)
(801) 539-0853 (FAX)
Acknowledgment and Disclaimer

This material is based on work sponsored by the National Science Foundation under Cooperative Agreement No. NCR-9218749. The Government has certain rights in this material. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation, General Atomics, AT&T, or Network Solutions Inc.

Copyright© 1994 General Atomics

Frame Relay

Frame relay is an interesting new technology that attempts to maximize the way systems use communications bandwidth. Here's an extremely simplified example of how frame relay works. Imagine a typical telephone conversation: at some point in the conversation, you pause a moment to collect your thoughts. While you're not speaking, the phone line is still dedicated to your conversation; while you're silent, your telephone is still sending data (it's just silent data, if you will).

In a frame relay system, while you were pausing to think, the system "loans" your phone line to another conversation, and restores your connection as soon as you began talking again. This way, the phone circuits can be kept busy, even while you're not using them. Now imagine that instead of waiting for a long pause in the conversation, the frame relay system was able to "borrow" the phone line between the sentences, even the words, of your conversation. By switching rapidly during the pauses between several conversations, the same phone line can carry several conversations at once, while maintaining the integrity of each conversation.

Frame Relay systems are fast and efficient, and can run between 56 kbps and 512 kbps (equivalent to about half a T1). Some of its proponents claim that frame relay can support speeds up to 50 Mbps, about the same speed as the Internet backbone itself.


For more information about frame relay technology, see the Frame Relay Forum's Web site at:
http://frame-relay.indiana.edu/

Hardware/Software

Frame relay is a cooperative system; not only do you need the appropriate frame relay access equipment, but your provider must be able to support the system. To use a frame relay system, you'll need a router and possibly other hardware. Some routers are frame-relay compliant, as are some network switches. You don't need any additional network software on your server machine besides your Windows network package.

Costs

Costs vary significantly, as do pricing schemes, ranging from fixed price for a particular amount of service, or a per-data-transmitted price. Initial costs can run to more than $5,000; the frame relay connection fee itself can vary from around $200 to $1,000, depending on the provider and the speed of the connection you select - and of course, there's also the cost of the physical frame relay line, which varies from region to region.

Concerns

Frame relay is becoming a stable and reliable alternative to leased-line technology. The major concern working with frame relay is whether your provider supports it, and whether you can support its cost.

ISDN

Unlike the other technologies discussed so far, ISDN (Integrated Services Digital Network) is a dial-up service. The technology has been around for years, but it is recently becoming popular, especially for users that need a high-speed on-demand Internet connection. ISDN service provides two channels, each of which can be used for voice or data. By combining both channels, it's possible to achieve a total data rate of 128 kbps (about four times faster than an ordinary 28.8 kbps modem).

Hardware/Software

ISDN requires a special ISDN modem, but not necessarily a special line; usually, an ordinary phone line will work. The ISDN modem replaces the ordinary modem, and plugs right into your system.

Costs

ISDN modems cost significantly less than router systems - you can get ISDN modems for between $200 and $300. There is a monthly charge for the ISDN service, and a charge per minute. Essentially, ISDN service is just an extremely expensive phone call, and is billed as such.

Concerns

ISDN is extremely cost-effective for brief, high-speed connections, but a poor choice for full-time Web servers. A 24-hour ISDN connection would run charges up quickly. At just $2 per hour, ISDN costs $48 per day, $336 per week, $1,344 per month - which turns out to be about as much as the initial set-up charge for some leased-line services. If you want to operate your server for just a few hours a day, ISDN may be a good idea - if you plan to keep the connection open longer than that, you should probably investigate a leased-line solution. ISDN is also not a universally offered service, even by the major providers.

Analog Modem

The analog modem is the workhorse of the typical Web user; fast, inexpensive analog modems have made the wide audience of the Web possible. And, yes indeed, you can run a Web server with just a basic analog modem - but at a price of performance.

Hardware/Software

Modems are extremely inexpensive for their capabilities. Prices being as low as they are, you should get the fastest modem you can: 28.8 kbps. Most UNIX operating systems these days have fairly robust dial-up access packages, Linux and BSDI probably providing the most stable packages.

Costs

Fast analog modems at this writing were available in the $200-300 range, some even down to $140. If you are selecting a modem for a Web server, don't pay extra for voice mail or fax capabilities - you won't be using them.

Given the popularity of the home and home-business Web server, some providers are beginning to offer 24-hour SLIP/PPP access, as low as $50-60 per month. A single dedicated phone line is usually very inexpensive, but you might want to speak to your phone company about whether a special rate is available for 24-hour calls.

Concerns

The single greatest concern of the modem-based server is speed. How many times have you sat watching the download counter on your personal Internet account, wishing that your 28.8 kbps modem was faster? You may be able to run a very simple text-only Web site over a 28.8 kbps modem, but if you intend to offer high graphics or multimedia-like image maps, an ordinary modem is just too slow.

Building the Perfect Server

If you're going to host your own Web site (whether on an internal network or on the Internet), you will need a system to run the server and to store whatever Web pages you want to provide. If you've done any computer shopping recently, you know that getting the "latest and greatest" can run up costs in a hurry. However, with careful shopping - and careful consideration of your needs, you can obtain a more-than-satisfactory system at a very reasonable price.

There are two main considerations in building a server system:

  • How much traffic do you expect to support?
  • Can your system grow as your needs grow?

The capacity of your system must be matched to the amount of traffic you expect to support. If you're running an Internet server, response to customer's requests is crucial; a slow server makes a poor impression. You must also look at your future needs, and select a path you can follow if you need to upgrade to a larger system.

So which platform and operating system should you buy? The answer to that question is so tinged with religion in the UNIX community that making a recommendation here would do nothing but alienate some fraction of readers, if not all of them. By and large there is really no operating system or platform that is a bad choice for a Web server, so your choice should be based on considerations like:

  • What operating system do you currently use and enjoy?
  • What other kinds of software do you want to run - commercial databases?
  • What can you afford?

As mentioned earlier, the URL http://www.windows95.com/ is running on a Pentium with BSDI and handles 2 million hits a day without a problem. Anecdotal evidence from elsewhere suggests Sparc 2's capable of handling 500,000 hits/day without much problem either. You should choose whatever platform you are most comfortable on, that you know the most about and trust the most. Even Linux on a 386 runs more than one moderately busy Web server!

One of the biggest things that can skew the capacity of the server, though, is if you plan on using CGI scripts, particularly computationally intensive CGI scripts. The heavier the script, the more processing power you'll need. This is a tricky thing to try and gauge, but you should be aware of it. More details to come in a later chapter.

The important considerations in choosing the hardware, though, are:

  • Memory requirements. While Apache and other Web servers are pretty easy on the system in terms of CPU (when tuned right), they can be pigs when it comes to memory. A moderately busy Web server running on Intel hardware should be given about 32 megabytes of memory, at least. An equally busy server on a RISC-chip-based platform should be given 64 megabytes. This is all presuming that the only thing this box will be used for is the Web server - if not, then this is the amount of extra memory you should add over and above the amount used for the other processing.
  • Disk speeds. Since so much of what a Web server does is related to shoving files around, Web servers are often very demanding on the I/O systems. You should make sure that whatever system you get has the best internal "bandwidth" possible. On Intel platforms, for example, this means making sure you get a PCI motherboard and a PCI SCSI-3 disk controller, with SCSI-3 disks. This internal bandwidth is probably much faster than your bandwidth to the Internet, but servers do a lot of processing internally so that extra headroom is essential.
  • Ethernet cards. There is a surprising amount of variance between good and bad EtherNet cards. Don't skimp in this department, or you may find your output to your network to be very poor.

These are the essential considerations. All the UNIX vendors are aware of this; their operating systems were punished over the last year or two by high performance systems, and just about all of them have since made performance tuning a priority. But as noted earlier, for the common case (just dishing out flat files), extremely cheap hardware can go an extremely long way.


QUE Home Page

For technical support For our books And software contact support@mcp.com

Copyright © 1996, Que Corporation


Table of Contents

02 - Introduction to Web Servers

04 - Getting Started with Your Web Server