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

on a whm/cpanel server install, where is the hostname web folder located. ex. if hostname is svr1.server.com 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 professional 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.

4  
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

1 Answer 1

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.