Change default directory for subdomains

1 post / 0 new
#1 Tue, 08/01/2017 - 19:30
jyghckyvckudsa

Change default directory for subdomains

Subdomains (sub-servers) are put outside of public_html by default.

Need to have default subdomain directory be a folder inside the root domain.

i.e. domain is thedomain.dom

Directory for thedomain.dom is /home/thedomain/public_html/

Subdomain of subd.thedomain.dom >> needs to be in default directory (not change every time) of /home/thedomain/public_html/subd/