Portal Home > Knowledgebase > PHP/MySQL > What is the full server path to my home directory?


What is the full server path to my home directory?




Often times there are scripts that you can use on your website, that will ask for the full server path to your home directory. The "full server path" refers to where your file is in relation to the server your file(s) are stored in. The path will start from the root of the server, right down to where your files would be stored.

For our servers, your server path will include some form of /home/ followed by your cpanel username, and then /public_html/.

So if my username is wish, then the server path would be /home/wish/public_html/.

Alternatively, you can find your server path in your cPanel. If you are using the x3 theme, on the sidebar under "Stats," you will see that the second line says "Home Directory," and will contain /home/your_username.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution