Welcome to the WWW-Server-Tips homepage.


To download a copy of this document, please select one of the following:


Previous Next Table of Contents

WWW Server Setup Tips

Donnie Barnes, djb@redhat.com

V1.0, March 27, 1996


Previous Next Table of Contents Previous Next Table of Contents

5. Starting up a Web Site

Now you're ready to start adding pages to your WWW server. Just move any HTML files, graphics, etc. you want to appear on your server into the /home/httpd/html directory. You can create subdirectories in here as well. Make sure that any files intended for public viewing are set to be world readable:

chmod a+r (name-of-file)

The file named index.html will be loaded by default if no file name is specified in the URL; that is,

http://yourhost.com/index.html

is the same as

http://yourhost.com/

So, you should name the main home page of your server as index.html.

You should be all set to go now; to start up the server, just type as root:

httpd

(The next time you boot your system, the server will start automatically.)

Try using a WWW browser to access your server. From X you could use:

arena http://localhost/

If you get your home page, you're all set! If not, you may get some errors. These are common:


Previous Next Table of Contents Previous Next Table of Contents

6. Further Reading

You now have a basic WWW server running. There are several books that can help you do more advanced things like use CGI to process forms, use imagemaps, etc. ``Managing Internet Information Services'' by Liu, Peek, Jones, Buus, and Nye (O'Reilly, 1994) has several chapters on WWW servers, and also covers FTP, Gopher, and other services you may wish to provide.


Previous Next Table of Contents Previous Next Table of Contents

7. Copyright Notice

This document is Copyright (C) 1996 by Red Hat Software. Redistribution of this document is permitted as long as the content remains completely intact and unchanged. In other words, you may reformat and reprint or redistribute only.


Previous Next Table of Contents