How to set Disk quota for a subdomain?

ezhostvn

New member
Joined
Jul 11, 2006
Messages
3
Location
Vietnam
Hello everybody,
Currently I have a reseller account with DirectAdmin. I want to create subdomain for my user but I don't know how to set disk quota and bandwidth for subdomain. Can I do that?
Thank you very much.
 
Hello,

Subdomains in their usual form don't have such limits.

What you can do however, is create the subdomain, eg "sub.domain.com" as a full domain, DA doesn't know the difference.

Use Level -> Domain Setup -> Add Domain -> enter "sub.domain.com", for the name of the domain.

This will also give you email accounts, like [email protected], and all other goodies that a full domain provides.

John
 
Thanks

Thanks for your answering.
I know how to create subdomain, but the issue is limit disk space and bandwidth for subdomain. Are there any quote for a FTP account? (like cPanel, when you create FTP account you can set the quota).
Thanks.
 
I'm searching for an answer as well, I want to limit the amount of disk space for ftp accounts, why is it that we don't have control over the quotas ?
and is there a work around, nothing too special, I just want to give all ftp users a max limit on what can be stored.
I will keep searching here and see what other info I can find.
 
The virtual ftp accounts run and log in as the username of the main account.

Does ProFTPd allow the setting of quotas in their configuration file? If so, then I suppose it can be done; if not, then I'm not sure how to do it.

Jeff
 
I was looking through ProFTPd (thanks google) and it seems so but you need more experience than I have, some say that you can run an access file to do it but I dont have a clue.
So I will just have to monitor them and see, its a digital download store and each have a ftp account, I just wanted to limit them to 5Gig.
If I find an answer I will come and let you all know :)
 
It's been almost ten years since I wrote my own proftpd.conf file, so I'm afraid to guess :).

Jeff
 
Back
Top