Important cpanel/whm files

Important cpanel/whm files

35
0
SHARE
Linux Reseller Hosting

Important cpanel/WHM 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
/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/usernamecpanel user file
/var/cpanel/cpanel.configcpanel configuration file ( Tweak Settings )*
/etc/cpbackup-userskip.conf –
/etc/sysconfig/Network – Networking Setup*
/etc/hosts –
/var/spool/exim –
/var/spool/cron –
/etc/resolv.conf – Networking Setup–> Resolver Configuration
/etc/nameserverips – Networking Setup–> Nameserver ips ( FOr resellers to give their nameservers )
/var/cpanel/resellers – For addpkg, etc permissions for resellers.
/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. Eg: public_ftp, public_html. (Account Functions–>Skeleton Directory )*
/etc/wwwacct.conf – account creation defaults file in WHM (Basic cPanel/WHM Setup)*
/etc/cpupdate.conf – update Config *
/etc/cpbackup.conf – configure Backup*
/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 on the server (except the shared ip) (IP Functions–>Show ip address Usage )*
/etc/ipaddrpool – ip addresses which are free
/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/accounting.log–Contains a list of accounting functions performed through WHM, including account removal and creation.
/usr/local/cpanel/logs/error_log——cPanel logs any error it incurs here. This should be checked when you encounter errors or strange behavior in cPanel/WHM…
/usr/local/cpanel/logs/license_log—All license update attempts are logged here. If you run into any errors related to license when logging in, check here.
/usr/local/cpanel/logs/stats_log—-The stats daemon (cpanellogd) logs the output from all stats generators (Awstats, Webalizer, Analog) here.
/usr/local/cpanel/logs/access_log—General information related to access cPanel requests is logged here.
/var/cpanel/bandwidth————–Files contain a list of the bandwidth history for each account. Each named after their respective user.
/usr/local/apache/logs/error_log—All exceptions caught by httpd along with standard error output from CGI applications are logged here..
The first place you should look when httpd crashes or you incur errors when accessing website.
/usr/local/apache/domlogs/domain.com–General access log file for each domain configured with cPanel.
/usr/local/apache/logs/access_log——Complete web server access log records all requests processed by the server.
/var/log/maillog & /var/log/messages–The IMAP, POP, and SpamAssassin services all log here. This includes all general logging information (login attempts, transactions, spam scoring), along with fatal errors.

/usr/local/jakarta/tomcat/logs/catalina.err|— Logs for Tomcat and all tomcat based applications…
/usr/local/jakarta/tomcat/logs/catalina.out|

Windows Shared Hosting