The cPanel operations can be performed from the back-end/Terminal and some of the important files and their details are pasted below.
WHM related files
Configuration files/etc/httpd/conf/httpd.conf --- apache configuration file /etc/exim.conf --- mail server configuration file /etc/named.conf --- name server (named) configuration file /etc/proftpd.conf --- proftpd server configuration file /etc/pure-ftpd.conf --- pure-ftpd server configuration file
[rml_read_more]
/etc/valiases/domainname –catchall and forwarders are set here
/etc/vfilters/domainname –email filters are set here
/etc/userdomains –all domains are listed here – addons, parked,subdomains
along with their usernames
/etc/localdomains –exim related file – all domains should be listed here to
be able to send mails
/var/cpanel/users/username –cpanel user file
/var/cpanel/cpanel.config –cpanel configuration file ( Tweak Settings )*
/etc/sysconfig/network –Networking Setup*
/etc/hosts –
/var/spool/exim –
/var/spool/cron –
/etc/resolv.conf –Resolver Configuration
/etc/nameserverips –Nameserver IPs
/var/cpanel/resellers –For addpkg, etc permissions to re-sellers.
/etc/chkserv.d Main >> Service Configuration >> Service Manager
/var/run/chkservd Main >> Server Status >> Service Status
/var/log/dcpumon –top log process
/root/cpanel3-skel –skel directory. Example: public_ftp, public_html
/etc/wwwacct.conf –account creation defaults file in WHM (Basic cPanel/WHM
Setup)
/etc/cpupdate.conf –Update Config
/etc//etc/clamav.conf –clamav (antivirus configuration file )
/etc/my.cnf –mysql configuration file
/usr/local/Zend/etc/php.ini OR /usr/local/lib/php.ini –php configuration file
/etc/ips –-ip addresses assigned to the server (except the shared ip) (IP Functions–>Show IP Address Usage )
/etc/ipaddrpool –IP Addresses which are free on the server
/etc/ips.dnsmaster –name server ips
/var/cpanel/Counters –To get the counter of each users.
/var/cpanel/bandwidth –To get bandwith usage of domains
/var/cpanel/bandwidth –rrd files of domains
/var/cpanel/username.accts –re-seller accounts are listed in this files
/var/cpanel/packages –hosting packages are listed here
/var/cpanel/root.accts –root owned domains are listed here
/var/cpanel/suspended –suspended accounts are listed here
/var/cpanel/users/ –cpanel user file – theme, bwlimit, addon, parked, sub-domains all are listed in this files
/var/cpanel/zonetemplates/ –dns zone template files are taken from here
CPANEL:
/usr/local/cpanel/whostmgr/ –whm related files
/usr/local/cpanel –Cpanel directory
/usr/local/cpanel/base/ –phpmyadmin, squirrelmail, skins, webmail etc
usr/local/cpanel/logs/ –cpanel access log and error log
/usr/local/cpanel/3rdparty/ –tools like fantastico, mailman files are located here
/usr/local/cpanel/addons/ –AdvancedGuestBook, phpBB etc
/usr/local/cpanel/bin/ –cpanel binaries
/usr/local/cpanel/cgi-sys/ –cgi files like cgiemail, formmail.cgi, formmail.pl etc
That’s all !