User manual

Table Of Contents
2
13
2 Managing Web Technologies
Use Server Admin to set up web technologies initially
and to manage web settings and components.
If you are familiar with web servers and their content, you can use these summary
steps to get your web server started. If you’d like more detailed instructions for these
tasks, see the similar topics in “Using Server Admin to Manage Your Web Server” on
page 15 and Chapter 3, “Managing Websites,” on page 23.
Setting Up Your Web Server for the First Time
Step 1: Set up the Documents folder
When your server software is installed, a folder named Documents is set up
automatically in the WebServer directory. Put any items you want to make available
through a website in the Documents folder. You can create folders within the
Documents folder to organize the information. The folder is located in the directory
/Library/WebServer/Documents.
In addition, each registered user has a Sites folder in the users own home directory.
Any graphics or HTML pages stored in the users Sites folder will be served from the
URL server.example.com/~username/.
Step 2: Create a default page
Whenever users connect to your website, they see the default page. When you first
install the software, the file index.html in the Documents folder is the default page.
You’ll need to replace this file with the first page of your website and name it
index.html. If you want to call the file something else, make sure you add that name to
the list of default index files and move its name to the top of the list in the General
pane of the site settings window of Server Admin. See “Setting the Default Page for a
Website on page 25 for instructions on specifying default index file names.
For more information about all website settings, see Chapter 3, “Managing Websites,”
on page 23.
LL2350.book Page 13 Friday, August 22, 2003 2:32 PM