Virtual Private Server User Guide
The Apache Web Server
Contains all configuration directives for a virtual
host
DocumentRoot The location from which Web pages are served for the
virtual host
ServerName The name your VPS account should take when requests come
addressed to the virtual host
ServerAlias Any additional domain or canonical that points to the main
domain (ServerName) of the virtual host
ServerAdmin The e mail address of the virtual host s administrator, which
appears on error pages generated at the virtual host s Web site
LogFormat The format of the virtual host s log files
ErrorLog The location of the virtual host s error_log file
TransferLog The location of the virtual host s access_log file
HostNameLookups Enables DNS lookups so that host names can be
logged. Because it is network intensive, it is recommended that you keep
HostNameLookups turned off unless you need this information.
Contains the location and configuration directives
for directories associated with the virtual host, including the virtual host s
Document Root and cgi bin directory (if enabled)
There are many additional configuration options that you can use with virtual
hosting. Many of the configuration directives listed at the Apache Web site can be
included in a Virtual Host entry:
http://www.apache.org/docs/mod/core.html
Virtual Hosting and User Accounts
Your VPS server allows you to provide FTP, Samba and/or Shell access to your
clients so that they can maintain their own Web site without requiring your
intervention.
The easiest way to give these users access to manage these files is to make them
a member of the user group that the vaddvhost command automatically creates
for the virtual host.
To do so, use the vuserpriv command or the User Administration tool in the
VAdmin Web interface. This section will focus on using the vuserpriv command.
Information about performing user administration through VAdmin can be found in
the VAdmin User Guide.
The vuserpriv command allows you to make users members of both the special
user groups and the groups for virtual host management. The following is an
example of adding a user to a virtual host group so that he can manage the Web
content of that virtual host.
>
vuserpriv
1) Webadmin
Technical Training Department
August 2004
6 17