Where does cPanel store websites?
Solution 1
Assuming you are using a plain vanilla install on a Centos server, then cPanel accounts are created under /home
The actual website root will be under: /home/accountname/public_html and a helpful link: /home/accountname/www
Edit: thanks for that hint re not using angle brackets in these comments
Solution 2
The path is usually /home/USERNAME
for a user's cPanel-related files. The public-html
directory is where web files actually sit (i.e. http://example.org/index.html would be pulled from /home/example/public_html/index.html
assuming the cPanel username would be example
and that the user would be hosting example.org on his occount).
Related videos on Youtube
MohanSivaram R
Updated on September 17, 2022Comments
-
MohanSivaram R over 1 year
I'm not able to save any file with xcode , 'm getting the following warning when i save/run the code "The document XXXXXX could not be saved. You don’t have permission. To view or change permissions, select the item in the Finder and choose File > Get Info.". I have tried all the solutions provided in other questions for this issue, but that does not help. Does anyone have a solution for this ?. Everything was fine till last week and this week, I installed JIRA and mysql after which I started facing this issue. Not sure if JIRA & mysql installations has caused this issue, tried uninstalling these, no hopes yet :(
-
Admin over 9 yearsThis question appears to be off-topic because it is about
working with a service provider's management interface, such as cPanel
.
-
-
Josh about 14 yearsI think you must have put username in angle brackets and it was stripped out. try
*username*
instead of<username>