Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

closed as off-topic by HopelessN00b Jan 13 at 21:01

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. –  HopelessN00b Jan 13 at 21:01

2 Answers 2

up vote 1 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

share|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

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

share|improve this answer

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