Hi
When adding new domain the default is to use the default public_html folder.
I would suggest to make the folder structure as such:
/home/user/domains/XXX.TLD/public_html/
In that way u have a default and files outside of the webroot still can easily be placed in the right domain folder if belonging to specific domain,
its easy to implement in the function into existing folder creation upon adding domain.