User`s guide
Chapter 4 Initial Server Setup 115
Setting Up Web Service
You can use the Apache HTTP Server that comes with Mac OS X Server to host server
and individual user websites.
If you turned on web service in Server Assistant, your server is ready to serve HTML
pages from the general server and individual user sites folders.
 To view the main server site, open a web browser on any computer with access to
the server and type the server’s IP address or domain name.
 To view a user site, add a slash (/), a tilde (~), and the user’s short name after the
server address. For example, type
http://192.268.2.1/~someuser
To turn on web service if it’s not running:
1 If you already have the HTML files for your main site, copy them into the Documents
folder in the /Library/WebServer/ directory. If the files that make up your site are
organized in folders, copy the entire folder structure to the Documents folder.
For a user site, the files go into the Sites folder in the user’s home directory.
Make sure the files and folders you want web service to present are readable by user
www. If you plan to enable WebDAV, make sure the appropriate files and folders are
writable by user www.
If you don’t have your own HTML files yet, you can still turn on web service to see how
it works using the default start pages provided with Mac OS X Server.
2 Open Server Admin.
3 In the list beneath the server of interest, click the button for web service.
4 If it isn’t running, click the Start Service button in the toolbar.