HP-UX Remote Access Services Administrator's Guide

Figure 2-2 Structure of an FTP Server Hosting Two Virtual Domains
ftp.domain.com
ftp.animals.com
(Virtual Domain 1)
ftp.flowers.com
(Virtual Domain 2)
(FTP Server)
In Figure 2-2, a user connected to the FTP server ftp.domain.com through the domain
ftp.animals.com receives a different banner and directory than a user who is
connected to the same server through the domain ftp.flowers.com.
Setting up Virtual FTP Support
The configuration file /etc/ftpd/ftpservers contains a set of virtual domain
names that the FTPD server can use for each virtual domain. Using the virtual domain
name, you can define the FTP configuration files ftpaccess, ftpusers, ftpgroups,
ftphosts, and ftpconversion files on a per-domain basis. Create a directory in
the /etc/ftpd directory with a name similar to the virtual domain name, and copy
the FTP configuration files to that directory. If you do not want to place a copy of one
or all the FTP configuration files in the virtual host directory for any host, you can use
the master copy.
60 Configuring FTP