There is more than one package that provide ftp server service but we will use the most secure one as its name says (Very Secure FTP) VSFTP server , let’s go..
Tag: secure
Apache secure directory with user and password
For installing a new apache web server and create virtual hosts , please read this To restrict access to some site or sub-directory of a site : set AllowOverride AuthConfig in virtual host configuration