Configuring File Transfer Protocol (FTP) servers

Configuring FTP virtual domains

Virtual domains allow you to create alternative access points for anonymous FTP on the same FTP server. Each virtual domain name may be associated with the IP address of a real networking interface, or with an IP address that is an alias of a real IP address. You can use virtual domains to set up FTP areas that are specific to anonymous FTP users for different departments, organizations or companies.

The primary FTP domain is defined as the domain name with which you initially configured a server. If required, you can set up an FTP virtual domain with the same IP address and domain name as the primary domain. Anonymous FTP users will be directed to this virtual domain instead of to the primary domain. Guest and real users will continue to use the primary domain. See ``Virtual domains'' for more information.

To configure a virtual domain using the FTP Server Manager:

  1. Select View -> FTP virtual domains.

  2. To define a new virtual domain, select Edit -> Add.

    To modify an existing virtual domain, click on the domain from those displayed, then select Edit -> Modify.

  3. Enter the following information for the virtual domain:

    IP Address
    The IP address of the virtual domain. Click on Select to select an IP address from those configured on the server. You cannot select default values for the other fields until you have entered an IP address in this field.

    Anonymous FTP home
    The pathname of the root directory for anonymous FTP to this virtual domain. Click on Select to choose a directory using a file browser, or click on Default to use the default location under /var/internet/ip/IP_address/ftp/ftp.

    Banner file
    The pathname of the file containing the message that is displayed to users before they enter their user name and password. Click on Select to choose a file using a file browser, or click on Default to use the default pathname for this virtual domain.

    Log file
    The pathname of the file used to log FTP file transfers. Click on Select to choose a file using a file browser, or click on Default to use the default pathname for this virtual domain. Alternatively, select Use primary log file to use the same log file as that used by the primary domain (/var/adm/xferlog).

  4. Click on OK to accept.
You must now set up the home directories for each virtual domain as described in ``Configuring FTP home directories''.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999