Removal of an FTP virtual host depends on the type of subscriber authentication; and whether or not the virtual host is also serving as a web hosting site.
The following procedure uses the examples:
The FTP virtual host is myVH.org.
the FTP virtual host chroot directory is/export/home/myVH.org.
Remove the FTP virtual host entry from /etc/inet/ftpservers. For example, you would delete the line myVH.org /etc/inet/myVH.org/ftpaccess.
If this is an FTP-only virtual host:
Remove the FTP virtual host entry from /etc/inet/hosts. For example, you would delete the line containing myVH.org from /etc/inet/hosts.
Remove the virtual host chroot directory; in this example, /export/home/myVH.org.
If this is an FTP/web site host:
Change directory to the virtual host chroot directory, in this example /export/home/myVH.org.
Remove the file Welcome, and remove the following directories only if they do not contain web data:dev/, etc/, pub/, usr/, and var/.
Remove the FTP virtual host entries from LDAP using Deja, or via the command line as described by ldapdelete(1m).