Web Hosting Talk







View Full Version : SubDomain Anonymous FTP on Cpanel


eddy2099
12-17-2002, 06:35 PM
On my Cobalt RaQ, I was able to set up a sub-domain as a separate account and I did one which is specifically setup to allow for anonymous ftp but I do not seems to know how to replicate it in Cpanel.

For example, my sub-domain is download.mysite.com .

I want to offer anonymous ftp if someone comes and visit
ftp://download.mysite.com .

I have no problem setting up the sub-domain.

Setting up the FTP user was no problem but there was no option to set it as Anonymous. It seems that there is already an anonymous ftp setup and it only points to ftp://ftp.mysite.com .
How do I get it to point to ftp://download.mysite.com ?

Thanks.

Noldar
12-18-2002, 08:42 AM
If you just want to change the directory that the anonymous account for mysite.com points to you can edit /etc/proftpd.conf and look for the VirtualHost block for mysite.com (it will be listed by IP address) and change the following line:

<Anonymous /home/mysite/public_ftp>

to point to the directory that you want.

If you want download.mysite.com to have a second different anonymous account from mysite.com you'll need to give download.mysite.com it's own IP address and add a VirtualHost block for the new IP.

Richard