Professional Documents
Culture Documents
Cpanel - Nov2020
Cpanel - Nov2020
Cpanel - Nov2020
• Server Administrator
• Reseller Accounts
• User Account
Server Administrator:
• This user is the root user of a cPanel Linux Server and
has all the permission over the server.
• Server Admin can create, modify or delete any account
from the cPanel Server.
• The Server Admin has access to cPanel WHM (Web Host
Manger), which can be understood as the backend of
cPanel.
User Account:
• These are normal user accounts, each user who
subscribes for a web hosting from a company, is given
this type of account.
• They do not have access to Web Host Manager.
• User account can host single or multiple websites
according to their plans they have purchased from web
hosting provider.
• Disk Usage:
This interface displays information about your files, your directories, and how you use your
account's disk space.
• Backup:
This interface allows you to download and store your site in a backup file.
• Directory Privacy
This interface allows you to protect specific directories in your cPanel account’s files. After
you enable this feature for a directory, when users attempt to view that directory via a
website, the system prompts them to log in.
• Aliases:
Domain aliases are domains that you own, but which do not contain any content. Instead,
they point to the contents of another domain or subdomain on your account.
• Subdomains:
This interface allows you to create and manage subdomains for your cPanel account.
• Redirects:
This interface allows you to send all of the visitors of a domain or particular page to a
different URL.
• Optimize Website
This interface allows you to configure your server to automatically compress specified
types of content when visitors access that content.
• MySQL® Databases
Use this interface to create, manage, and delete MySQL databases and database users.
• phpMyAdmin
Use this interface to manipulate MySQL® databases.
• Remote MySQL
This feature allows remote hosts (servers) to access MySQL® databases on your account.
• Forwarders:
This interface allows you configure an email address to forward copies of incoming emails to another
address.
• Email Routing:
This interface allows you to configure how the system routes a domain's incoming mail.
• Autoresponders:
This feature allows you to configure automatic email response messages.
• Mailing Lists
Mailing lists allow you to use a single address to send mail to multiple email addresses.
Armia Systems, Inc Internal Use Only
Last Modified November 2011
Email (Contd)
• Track Delivery:
This interface displays reports about email message delivery attempts from your account.
• Email Filters:
This interface allows you to filter the email for each email account in your domain.
• Spam Filters:
This interface allows you to configure the spam filter settings (powered by Apache SpamAssassin™) for your
account.
• IP Blocker:
The IP Blocker interface allows you to block access to your site for one or more IP
addresses or fully qualified domain names (FQDNs).
• Leech Protection:
The Leech Protection interface allows you to detect unusual levels of activity in password-
restricted directories.
• ModSecurity:
This interface allows you to enable or disable ModSecurity for your domains.
• SSL/TLS:
The features in this interface allow you to generate and manage SSL certificates, signing requests, and
keys, which enhance your website's security.
• SSL/TLS Status:
This interface lets you view, upgrade, or renew your domains' Secure Sockets Layer (SSL) certificates.
• SSL/TLS Wizard:
This interface allows you to easily purchase and install SSL certificates for domains on your account.
• Account Preferences:
Use this interface to change your account settings.
• Change Language:
You can choose to view the cPanel interface in many different languages.
• Change Style:
Use this interface to choose a style in order to customize the cPanel interface's appearance.
• Contact Information:
Use this interface to store contact information for your cPanel account and to set your contact
preferences.
Armia Systems, Inc Internal Use Only
Last Modified November 2011
cPanel & WHM Log Files
Apache:
This file contains the domain access logs
•/usr/local/apache/domlogs/domain
MySQL:
This file contains information about the cPanel account’s MySQL databases and errors
in MySQL 5.7 and later and MariaDB 10.3 and later.
• /var/log/mysqld.log
This file contains information about the cPanel account’s MySQL databases and errors
in MySQL 5.6 and earlier and MariaDB 10.2 and earlier.
• /var/lib/mysql/HOSTNAME.err
Memory/CPU usage:
This file contains information about the processes that consume the most CPU and memory.
• /var/log/dcpumon/YYYY/MMM/DD
Mail Logs:
This file contains Exim’s mail receipt and delivery logs for the cPanel account’s domains.
• /var/log/exim_mainlog
This file contains IMAP and POP3 login attempts and other mail logs
• /var/log/maillog
This file contains a log of messages that the system rejected due to ACLs.
• /var/log/exim_rejectlog
This directory contains account transfer log files and other, miscellaneous log files.
• /var/cpanel/logs
This file contains records of when a cPanel & WHM user accesses their account.
• /usr/local/cpanel/logs/access_log
This file contains the server’s license update logs and license errors.
• /usr/local/cpanel/logs/license_log
This file contains records of cPanel account actions, such as creation and deletion.
• /var/cpanel/accounting.log
This file contains the login attempts and general error messages for the services like FTP,
named, SSH etc
• /var/log/messages
/etc/userdomains all domains are listed here - addons, parked,subdomains along with their
usernames
/etc/ips ip addresses on the server (except the shared ip) (IP Functions--
>Show IP Address Usage )
/var/cpanel/users/ cpanel user file – theme, bwlimit, addon, parked, sub-domains all
are listed in this files
Command Description
/scripts/restartsrv_mysql To restart Mysql service
/scripts/restartsrv_$servicename restart script for services
/scripts/rebuildhttpdconf
To rebuild Apache’s main configuration file
/scripts/mailperm fixes permission problems with mail directories
/scripts/pkgacct username
This will create a cpmove archive for an cPanel account. After you create the
archive, you can then restore the account on any cPanel & WHM servers.
/scripts/cpbackup
To run the backup process manually from the command line.
•/scripts/restorepkg username
This script will restore a cPanel account from a backup file.
• /scripts/pkgacct username
• Migrate the backup file to new server
• Login new server
• Restore the cPanel account using the
script,
• /scripts/restorepkg username