When I was using Plesk it was simply under /var/www, however it is empty when I have at least 2 sites now on a cPanel machine. What is cPanel's architecture in terms of storing files?

link|improve this question

75% accept rate
feedback

2 Answers

up vote 0 down vote accepted

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

link|improve this answer
I think you must have put username in angle brackets and it was stripped out. try *username* instead of <username> – Josh Apr 5 '10 at 22:25
feedback

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).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.