I am trying to setup something like:
a.site.com b.site.com c.site.com
Now, I want the data in a.site.com to be completely independent of b.site.com. Basically, I want to be able to provide FTP access for a.site.com to client A and b.site.com to client B. If a client is malicious, then he should only be able to access his own site and should not be able to interfere with b.site.com.
How do I achieve this? I know it is possibly related to settings in Apache but am not sure. Also, how do I programmatically create these subdomains?