To find out the full (and correct) pathway to the root of your domain do this:
1. Create a new text document on your desktop and name it cwd.php. Ignore the warning about changing the file type.
2. Put this code into it:
$p = getcwd();
3. Upload it to the root of your domain via FTP.
4. Go to http://www.yourdomain.com/cwd.php via your browser and printed on the screen will be the full pathway to the root of your domain.
5. Write down that pathway and then delete the cwd.php file from your hosting.