User manual
Table Of Contents
- Web Technologies Administration
- Contents
- Web Technologies Overview
- Managing Web Technologies
- Managing Websites
- Using Server Admin to Manage Websites
- Changing the Access Port for a Website
- Improving Performance of Static Websites (PerformanceCache)
- Enabling Access and Error Logs for a Website
- Setting Up Directory Listing for a Website
- Connecting to Your Website
- Enabling WebDAV on Websites
- Enabling a Common Gateway Interface (CGI) Script
- Enabling Server Side Includes (SSI)
- Viewing Website Settings
- Setting Server Responses to MIME Types and ContentHandlers
- Enabling SSL
- Enabling PHP
- User Content on Websites
- WebMail
- Secure Sockets Layer (SSL)
- Working With Open-Source Applications
- Installing and Viewing WebModules
- Solving Problems
- Where to Find More Information
- Glossary
- Index

24 Chapter 3 Managing Websites
To set up the Documents folder for your website:
1 Open the Documents folder on your web server.
If you have not changed the location of the Documents folder, it’s in this directory:
/Library/WebServer/Documents/.
2 Replace the index.html file with the main page for your website.
Make sure the name of your main page matches the default document name you set in
the General pane of the site’s Settings window. See “Setting the Default Page for a
Website” on page 25 for details.
3 Copy files you want to be available on your website to the Documents folder.
Enabling a Website on a Server
Before you can enable a website, you must create the content for the site and set up
your site folders.
To enable the website:
1 In Server Admin, click Web in the list for the server you want.
2 Click Settings in the button bar.
3 In the Sites pane, click the Add button to add a new site or click the Enabled button for
the site in the list that you want to enable. (If the site is already listed, you’re finished.)
4 In the General pane, type the fully qualified DNS name of your website in the Name
field.
5 Enter the IP address and port number (any number up to 8999) for the site.
The default port number is 80. Make sure that the number you choose is not already in
use by another service on the server.
Important: In order to enable your website on the server, the website must have a
unique name, IP address, and port number combination. See “Hosting More Than One
Website” on page 10 for more information.
6 Enter the path to the folder you set up for this website.
You can also click the Browse button and browse for the folder you want to use.
7 Enter the file name of your default document (the first page users see when they
access your site).
8 Make any other settings you want for this site, then click Save.
9 Click the back button at the top right side of the editing window.
10 Click the Enabled box next to the site name in the Sites pane.
11 Click Save.
Web service restarts.
LL2350.book Page 24 Friday, August 22, 2003 2:32 PM