Specifications

33
Use this chapter to create and manage websites that are
hosted on your web server.
With Web service congured and your web server running, you can create websites.
You create and modify websites on your server with Server Admin. Creating a website
establishes the framework that you use to provide web hosted content in various formats.
Website Setup Overview
Here is an overview of the basic steps for setting up a website.
Step 1: Congure your web server.
The default conguration works for most web servers that host a single website, but
you can congure all basic features of Web service and websites using Server Admin.
For more information, see Chapter 2,Working with Web Service,” on page 19.
For more advanced conguration options, see Chapter 5,Working with Open Source
Applications.”
To host user websites, you must congure at least one website.
Step 2: Set up the web folder.
When your server software is installed, a folder located in /Library/WebServer/
Documents/ is set up in the le system. Put items you want to make available
through a website in the web folder. You can create subfolders in the web folder to
organize the information, and it is generally recommended that you do so if you
create additional virtual hosts.
In addition, each registered user has a Sites folder in the users home folder.
Graphics or HTML pages stored in the user’s Sites folder are served from
http://server.example.com/~username/.
For more information, see “Setting Up the Web Folder on page 36.
3
Creating and Managing Websites