Can you please give more details?
How was the subdomain created? CWP.Admin -> Domains -> Add subdomain.
the subdomain should always come after the public_html.
For example, If you enter /public_html/subdomain1 then the path will be /home/mywebsite/public_html/subdomain1