Answered by the Webhosting Experts

Where do I find things on a cPanel / WHM dedicated server?

If you are trying to find a program, login to the shell.

Typing “whereis program”, where “program” is the application you are looking for, will show you one or more possibilites for what you are looking for. If you have more than one copy of a program, for example in /usr/bin/ and another in /usr/local/bin/, typing “which program” will show you the application that will be called first by the shell. If you can’t find it at all, typing “locate program” will show you every file that matches “program”

Some of the most common programs:

/usr/sbin/sendmail
/usr/bin/perl
/bin/mail
/usr/bin/php

Default locations for most commonly used configuration files and important directories:

Exim

  • /etc/exim.conf
  • /var/log/exim_mainlog
  • /var/log/exim_rejectlog
  • /etc/valiases
  • /etc/vfilters
  • /home/username/.forward

MySQL

  • /root/.my.cnf
  • /etc/my.cnf
  • /var/lib/mysql

Apache

  • /usr/local/apache/conf/httpd.conf
  • /usr/local/apache/domlogs/

System

  • /var/log/messages
  • /var/log/dmesg

ProFTPd

  • /etc/proftpd.conf
  • /var/log/xferlog
  • /etc/proftpd/

sshd

  • /etc/ssh/sshd_config

 

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.