By default, it appears that shared hosting will place the main domain associated with it into /public_html/, and any subdomains would be nested into it.
So test.example.com would reside in:
I find this structure distracting; I then have fully-fledged websites in subdomains residing on the same directory level as asset folders and other files for my main domain. This results in very awkward structure like this:
This mixes up content from subdomains with the main site, and generally makes the whole thing unmanagable. Is there a workaround for this?
Once the sub-domain has been setup, you can go back into the entry that was just added and change the Website Folder and point that wherever you like. Most people use a sub folder such as “subsites” and then have all of the sub-domain folders reside in there. Remember that it will still automatically create the folder in the public_html directory, so you can either need to move or delete this folder (check to make sure no files reside in this folder that you wish to keep) as you please. Once you change the website folder, the domain will no longer be pointed at the default location.
Do keep in mind that it can take up-to 2 hours for the dns changes to propagate.