Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

on a whm/cpanel server install, where is the hostname web folder located. ex. if hostname is where is the web folder for that. i checked /root/public_html/ but that's not it

share|improve this question

closed as off-topic by Jenny D, Bryan, mdpc, Ladadadada, Scott Pack Jun 28 '13 at 20:05

  • 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 concerns the use of shared web hosting by end users or resellers, rather than the administration of web hosting. – Jenny D Jun 28 '13 at 9:22
up vote 0 down vote accepted

I can't remember offhand, but type httpd -S and look for the configuration file, I think it's /usr/local/apache/conf/httpd.conf or similar. Copy the file path name type:
grep "DocumentRoot" /that/full/path/name - it should tell you where the files are.

share|improve this answer

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