Subdomain location

Gander

Verified User
Joined
Aug 2, 2009
Messages
15
Location
Warsaw, Poland
I need this construction:

Code:
~/domains/any-domain/public_html/
~/domains/any-domain/subdomains/any-subdomain/public_html/
I thought over this a long time and even this way I wanted it organized in our scripts, but I do not have any protection that will not erase me this directory:

for help.domain.ex should delete:

Code:
~/domains/domain.ex/subdomains/help/
but DA will try delete:

Code:
~/domains/domain.ex/public_html/help/
 
Last edited:

EWH

Verified User
Joined
Oct 3, 2019
Messages
7
I just can't believe that DirectAdmin still creates subdomains into domain public_html folder, and I don't see any GUI way to set the wanted location. I mean how difficult is to copy great features from cPanel and implement them into DA? It's not illegal is it?

cPanel creates subdomains in this manner:
/home/user/public_html (of main account domain)
/home/user/subdomain1
/home/user/subdomain2
/home/user/addon_domain1
/home/user/addon_domain2

It also gives easy managable option to change the Subdomain and Addon Domain location WHEREVER user preffers in the /home/user folder (Document Root).
I think, that is functionality is exactly what most users want and I am really surprised that DA still doesn't have it.
 
Top