The following table lists recommended directories for users,
depending on their ftp, e-mail, shell, and Web privileges. (Users having shell
access will have all other privileges as well.)
|
Directory Description |
Directory Path |
|
E-mail account home directory |
/home/username |
|
Web account directory |
/home/username/www |
|
Virtual hosted account directory
(required for FrontPage) |
/home/username/domain |
|
Non-anonymous FTP home directory |
/home/username |
|
Your choice |
/usr/local/apache/some_directory |
iManager
iManager is an easy-to-use point and click utility.
Users and Virtual Hosting
In this layered hierarchy of domains and users, it is
important that you understand some terms: primary domain, virtual host, subhost,
root user, Administrative user, and user.
The primary domain owns the server account and the IP address.
It is the host, and its domain is the hostname. This is important to remember
when your users configure their e-mail accounts. Depending on the mail program
they configure, users might be prompted for the “hostname,” and should type the
primary domain.
The primary domain hosts additional domains known as
virtual hosts, or subhosts. The following graphic illustrates the relationship
of the primary domain to its virtual hosts. All domains on a VPS v2 Virtual Server resolve to
the same IP address.
|
|
|
|
|
|
|
|
 |
grizzles.biz
virtual host of IP
123.456.789.10
grizzles.biz
virtual host of IP
123.456.789.10
|
|
|
someFamily.org
virtual host of IP
123.456.789.10
someFamily.org
virtual host of IP
123.456.789.10
|
|
|
schleppers.info
virtual host of IP
123.456.789.10
schleppers.info
virtual host of IP
123.456.789.10
|
|
Consider the users associated with VPS v2 Virtual Server 123.456.789.10.
Each user needs an account (directory), located under /home/username unless otherwise assigned. Users
having FTP and e-mail privileges can send and receive e-mail and upload files
to their own home directories /home/username.
The server makes no distinction between users and the
domains they are actually associated with. Only privileges (access to services)
and permissions (access to directories and files) determine the range of a
user’s access.
If you ordered a VPS v2 Virtual Server, you have root access to the entire
file system. As the root user, you can edit all files on the server. You can
also log in using SSH, SFTP, and iManager. By default—for security reasons—the
root user cannot use Telnet, FTP, POP or IMAP. Set up your own user account
with these privileges, or su to the
Administrative User account, who has these privileges by default.
As the Administrative User, you can receive all e-mail
destined for root. You can also su to
root. Likewise, you can use sudo to
perform certain tasks as root, such as installing applications, creating
specific directories, and editing specific files. See “Users, Privileges, and
Switching Users”
Add a Virtual Host (subhosted domain)
It is important when setting up new subhosted accounts, to
associate the Virtual Host (subhosted domain) with a real user account on your VPS v2 Virtual Server.
This user account might be the name of the administrator, or it might be the
generic 'vhost' user (which vaddhost
creates the first time you run it without specifying a user).
By segregating your subhosted account in this way, you
insulate yourself and the other accounts that might be hosted on your VPS v2 Virtual Server,
from one another.