Lock access direct to directory of subdomains

I don't think there would be a way to do it automatically, unless you created a custom script for it that possibly used the post create subdomain script, if there is one like that. You should be able to do it with a .htaccess file

Somebody correct me if I'm wrong.
 
DirectAdmin implements subdomains by creating them as folders underneath the main public_html directory.

You could manually move the directory outside the public_html directory path, but you'd have to make changes to the httpd.conf file for the domain, and to the home directory path for the subdomain's user (if any).

DirectAdmin could rewirte the httpd.conf file.

Safest bet would be to create it as a separate domain.

Jeff
 
Back
Top