The server path to your website is partially determined by your domain name, but if you are on a shared hosting package, it will always be in the following format:
/home/sites/your-domain-name.com/public_html
If you are using PHP, you can also find out this path by including the following code into a PHP script:
echo getcwd();
Article ID: 402
Created On: Mon, Mar 16, 2015 at 3:15 PM
Last Updated On: Thu, Apr 23, 2015 at 12:13 PM
Online URL: https://www.heartinternet.uk/support/article/what-is-the-server-path.html