Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
How to Access cPanel & WHM Services This document details how to log in to cPanel, WHM,
and Webmail.
The cPanel Home Interface This document describes the Home interface, which provides access
to all of your cPanel functions.
Preferences These documents describe the features in the Preferences section. This section
includes a setup wizard and general cPanel settings.
Mail These documents describe the features in the Mail section. This section includes all of
cPanel's email-related features.
Files These documents describe the features in the Files section. This section includes
cPanel's backup system, file managers, HTML editor, FTP configuration, and WebDiskconfiguration.
Logs These documents describe the features in the Logs section. This section includes error logs,
information about bandwidth usage, and statistical analysis software.
Security These documents describe the features in the Security section. This section includes
shell access, leech protection, hot link protection, and other security-related features.
Domains These documents describe the features in the Domains section. This section includes
features that allow you to manage subdomains, addon domains, parked domains, and redirects.
Databases These documents describe the features in the Databases section. This section
includes features that allow you to manage MySQL and PostgreSQL databases.
Software/Services These documents describe the features in the Software/Services section. This
section includes features that allow you to install Perl packages, and manage CGI and PHP and
PEAR packages.
Advanced These documents describe the features in the Advanced section. This section includes
features that allow you to manage advanced cPanel tasks (for example, cron jobs or MIME types).
The Password Generator You can use the Password Generator to generate secure passwords for
your accounts.
Page 1
1.0
1.1
Overview
How to read a URL
How to access cPanel
How to access WHM
How to access Webmail
o Access webmail from the cPanel interface
o Access webmail directly
How to change an interface's locale
Overview
This document describes how to access cPanel, WHM, and Webmail with or without SSL.
Important:
Icon
We strongly recommend that you log in over an encrypted SSL connection. An encrypted SSL
connection will not transmit your username and password in plain text over the Internet.
For more information about cPanel, WHM, and Webmail connections, read our How to Configure
Your Firewall for cPanel & WHM's Services documentation.
Note:
Icon
In the following examples, replace 192.168.0.1 with your IP address and
replace example.com with your domain name.
1.2
Page 2
Section
Description
Example
Protocol
https://
Address
example.com
Port
number
When you access most websites via http or https, the port
number is implied. However, cPanel & WHM services use their own
set of port numbers. If you wish to access a cPanel & WHM service
over an encrypted or unencrypted connection, you must specify the
port number. https and http port numbers are different, even for
the same service. To specify a port number, enter a colon (:)
followed by a number.
2083
Security
token
cpsess1234567890
1.3
Your domain's DNS information must propagate before you can access cPanel with your domain
name. If you cannot access the cPanel interface with your domain name, use your domain's IP
address.
Page 3
Your domain can take approximately 48-72 hours to propagate after you set up your website, After
your domain propogates, navigate to your website via your domain name (for
example,https://example.com:2083)
To access cPanel, perform the following steps:
1. Enter one of the following URLs in your preferred browser:
a. https://192.168.0.1:2083 This URL allows you to access cPanel over an encrypted
connection with your IP address.
b. https://example.com:2083 This URL allows you to access cPanel over an
encrypted connection with your domain name.
c. http://192.168.0.1:2082 This URL allows you to access cPanel over an
unencrypted connection with your IP address.
d. http://example.com:2082 This URL allows you to access cPanel over an
unencrypted connection with your domain name.
2. Enter your cPanel username in the Username text box.
3. Enter your password in the Password text box.
4. Click Log in.
1.4
Your domain's DNS information must propagate before you can access WHM with your domain
name. If you cannot access the WHM interface with your domain name, use your domain's IP
address.
To access WHM, perform the following steps:
1. Enter one of the following URLs in your preferred browser:
a. https://192.168.0.1:2087 This URL allows you to access WHM over an encrypted
connection with your IP address.
b. https://example.com:2087 This URL allows you to access WHM over an encrypted
connection with your domain name.
c. http://192.168.0.1:2086 This URL allows you to access WHM over an unencrypted
connection with your IP address.
d. http://example.com:2086 This URL allows you to access WHM over an
unencrypted connection with your domain name.
2. Enter your WHM username in the Username text box.
3. Enter your password in the Password text box.
4. Click Log in.
Page 4
1.5
Your domain's DNS information must propagate before you can access to Webmail with your
domain name. If you cannot access the Webmail interface with your domain name, use your
domain's IP address.
Page 5
4. Click the logo or the Read Mail Using link for your preferred webmail application.The
interface for your chosen webmail application will appear.
a. If you are not sure which webmail application you should use, read our Which
Webmail Application Should I Choose? documentation.
b. Click Enable AutoLoad if you want the chosen webmail application to load
automatically the next time that you access Webmail.
5. The webmail client will retrieve and display all of your email account's read and unread
messages.
1.6
You can choose a new language setting (locale) in which to view an interface.
This change sets a cookie in your browser that expires after one year. You must perform this step
whenever you log in to an account from a new browser, when you delete cookies, and after the
cookie expires.
To change an interface's locale, perform the following steps:
1. At the bottom of the login interface, click the desired locale name.
2. The interface will refresh and a message of success will appear.
Note:
If your browser's Accept-Language header is set, then the login interface will attempt to display the
locale that corresponds to your browser setting. If the locale that the browser's header requests is
not available, the login interface appears in English.
2.0
2.1
Overview
Customize the cPanel interface
cPanel interface features
o Stats
o Home interface preference links
Overview
Page 6
Notes:
The options that are available in your cPanel Home interface, and its appearance, depend on the
way in which your web host configures cPanel and your account. For more information, contact your
hosting provider.
2.2
The cPanel interface organizes features into boxed sections, to allow you to find related features
quickly.
2.3
To change the order in which these sections appear, click and drag a section's heading bar
to the new position in the interface.
To hide a section, click the icon in the top right corner of the heading bar.
To reveal a hidden section, click the icon in the top right corner of the header bar.
The following interface features are available in cPanel's Home interface, organized by location.
Feature
Description
Home
Help
Page 7
Feature
Description
Logout
Icon
Make certain that you click Logout after you access your
cPanel account from any computer that others may use.
This icon is located at the top of every cPanel interface.
Notices
Find
Page 8
Feature
Description
box.
Stats
Switch Account
2.3.1 STATS
Notes:
The CPU Usage, Memory Usage, and Entry Processes statistics are only available if your
server uses the CloudLinux operating system.
Page 9
The File Usage statistic is only available if your server administrator enables it.
Statistic
Description
Main Domain
Home Directory
The directory on your server in which your websites folders and files reside.
The IP address from which you last accessed your cPanel account.
CPU Usage
File Usage
The number of inodes (files and directories) that your account has used, and
your account's inode limit.
Memory Usage
Entry Processes
The number of PHP scripts that are in use by your cPanel account.
Disk Space
Usage
The amount of disk space that your account occupies on the server, in Megabytes,
and the amount of disk space that is allocated to your account.
Monthly
Bandwidth
Transfer
The amount of data that has transferred to and from your account for the month
to date in Megabytes, and the total monthly bandwidth that is allocated to your
account.
Note:
If you see discrepancies between the information that cPanel provides and the
information that log processing programs (such as AWStats, Webalizer, or
Analog) provide, read our Apparent Discrepancies in Bandwidth Usage
Statistics documentation.
Email Accounts
The number of email accounts on your account, and the total number of email
accounts that your cPanel account allows.
Subdomains
The number of subdomains on your account, and the total number of subdomains
that your cPanel account allows.
Page 10
Statistic
Description
Parked
Domains
The number of parked domains on your account, and the total number of parked
domains that your cPanel account allows.
Addon Domains
The number of addon domains on your account, and the total number of addon
domains that your cPanel account allows.
FTP Accounts
The number of FTP accounts on your account, and the total number of FTP accounts
that your cPanel account allows.
Mailing Lists
The number of mailing lists on your account, and the total number of mailing lists that
your cPanel account allows.
All SQL
Databases
The number of SQL databases that you have created, and the number of databases
that you are able to create for each database type.
MySQL
Databases
The number of MySQL databases that you have created, and the potential number
of MySQL databases that you are able to create.
MySQL Disk
Space
Mailing List
Disk Space
Hosting
package
The name of the web hosting plan that your hosting provider assigned to your cPanel
account.
Server Name
cPanel Version
The version of cPanel & WHM that currently runs on your server.
Theme
The version of the cPanel interface layout that you currently use.
Page 11
Statistic
Description
Apache version
The version of the Apache server that currently runs on your server.
PHP version
The version of the PHP scripting language that currently runs on your server. This
information is useful when you install PHP scripts.
MySQL version
The version of MySQL that currently runs on your server. This information is useful
when you install MySQL databases on your website.
Architecture
Operating
system
Shared IP
Address
Path to
sendmail
The location of the sendmail program on your server. This is useful if, for example,
you create a script that allows visitors to send you email with a form on your website.
Path to Perl
The location of the Perl interpreter on your server. This information is necessary in
order to write Perl scripts.
Perl version
The version of Perl that runs on your server. This information is necessary in order to
write Perl scripts.
Kernel version
The version of your servers kernel, which is the central operating system component.
cPanel Pro
The version of the cPanel Pro software that currently runs on your server.
Page 12
Statistic
Description
Service Status
Click Click to View to display the Server Status interface, which displays the
status of the services on your server.
The Service Status interface may include the following services:
Service
Description
cpsrvd
imap
httpd
named
The DNS server. This service is required in order for your domains
to appear on the Internet.
Server
Load
Your servers current CPU load. If this service's status icon is red,
your server has performance issues.
Memory
Used
Swap Used
Disk
/$volume
The amount of hard disk space that your server uses, shown as a
percentage. If this service's status icon is red, delete old or unused
files.
Description
The service is running.
Page 13
Statistic
Description
Link name
Description
lite/full graphics
Toggles the display of the header and footer graphics, and allows for reduced
memory demands and load times.
hide/show icons
Toggles the display of the feature icons. They can display only hyperlinks, or both
icons and hyperlinks. Hide icons to reduce memory demands and load times.
Click reset all interface settings to reset any changes to the interface.
Note:
Icon
The reset all interface settings link does not reset the current theme.
reveal all boxes
Click the reveal all boxes link to expand or reveal boxes that you minimized.
Click the reset box order link to change the order of interface sections to cPanels
default setting.
3.0 Preferences
For cPanel & WHM 11.44
Page 14
Overview
Before you begin
Introduction to Web Hosting
Web Disk Accounts
New Email Account Setup
Set Default Address
Webmail
Contact Information & Preferences
Style
Manage SSH Keys
o Generate a key
o Import a key
Finish
Overview
After you log in for the first time, this wizard will appear. It functions as a guide to help you set up a
new cPanel account. If the Getting Started Wizard does not appear on the first login, or if it is
necessary to reconfigure your account, click Getting Started Wizard in the Preferences section of
cPanel's Home interface (Home).
When you choose a language that is not English, you may still see English text in some
areas of cPanel. We continue to work to provide 100% translation coverage, so there is no
need to report untranslated cPanel interfaces.
Page 15
Contact your web host if you need a language that does not appear in the Set my language
to menu.
Page 16
2. If your cPanel account includes more than one domain, select the domain from the menu.
3. Enter the password in the Password text box.
Note:
4. Click Generate Password to generate a strong password.
5. Confirm the password in the Password (Again) text box.
6. Enter the maximum amount of disk space to allow this email address to use in the Mailbox
quota text box.
7. Click Create.
Webmail
Webmail allows you to access your email accounts through a web browser (for example, Internet
Explorer or Safari). When you check your email on the web, rather than through an email
application on your computer, you can easily access your email account from any computer with an
Internet connection and a web browser.
Notes:
Page 17
To create a shortcut, drag the Access cPanel Webmail link to your desktop or Bookmarks
toolbar.
For more information, read our How to Access cPanel & WHM Services documentation.
Style
cPanel offers several interface styles. This includes a style for mobile web browsers.
To change your style, click Switch Style to ... for the style that you wish to use.
Page 18
Generate a key
To generate a new key, perform the following steps:
1. Click Generate a new Key.
2. Fill in the appropriate information.
Note:
3. RSA keys yield a faster confirmation of identity, while DSA keys will speed up key generation
and signing times.
4. Select a key size from the menu.
Remember:
5. A larger key size is more secure, but will require a longer authentication time.
6. Click Generate Key to generate the new SSH key and automatically install it to the server.
Import a key
To import an existing key, perform the following steps:
1.
2.
3.
4.
After you install a key on the server, you can edit, delete, or download it from the SSH/Shell
Access interface (Home >> Security >> SSH/Shell Access).
Important:
Keys will not work correctly until you authorize them.
Finish
After you finish the setup for your cPanel account, click Home in the upper left corner of the interface
to return to the Home interface and begin to use your cPanel account.
Page 19
Video Tutorials Click Video Tutorials to view the cPanel Video Tutorials site. These videos are
beneficial to new users who wish to better understand cPanel.
Overview
Change password
Overview
This feature allows you to change your cPanel accounts main password.
Important:
To change your password, you must know your original password.
Change password
Important:
Use a secure password. A secure password is not a dictionary word and contains uppercase and
lowercase letters, numbers, and symbols.
To change your password, perform the following steps:
1. Enter the original password in the Old Password text box.
2. Enter and confirm the new password in the appropriate text boxes.
Notes:
a. The system grades the password that you enter on a scale of 100 points. 0 indicates
a weak password, while 100 indicates a very secure password.
b. Some web hosts require a minimum password strength. A green
password Strength meter indicates that you met the required password strength.
c. Click Password Generator to generate a strong password. For more information,
read our Password Generator documentation.
3. Select the Synchronize MySQL password checkbox if you wish to use the same password
for both MySQL and the cPanel account.
Note:
4. This option is only available if the .my.cnf file is present in the user's home directory.
Page 20
Overview
Contact settings
Overview
Use this interface to change your primary contact email addresses. These email addresses function
as the main contact points to notify you of new information about your website.
Note:
Icon
We recommend that you use an email address that is not affiliated with your website, in case you
experience problems with your websites email.
Contact settings
The series of check boxes below your email address(es) determine why cPanel might contact you.
cPanel may send you an email for any of the following occurrences:
Your disk quota is almost full Your website will soon reach the maximum amount of disk
space.
o If you have a full disk quota, you cannot modify existing files or add new files to your
website.
Page 21
o Delete old or unused files, or upgrade your hosting plan, to fix this issue.
Your bandwidth is reaching its limit Your website will soon have received the maximum
amount of traffic that it is allowed.
o After you reach your maximum bandwidth, visitors cannot access your website.
o You must upgrade your hosting plan to fix this issue. Otherwise, you must wait until
the limit is reset. Generally, this limit resets at the end of each month.
Your email accounts approach the quota One of your email addresses will soon use its
maximum amount of disk space.
o Delete old email, or upgrade your hosting plan, to resolve this issue.
Overview
Create or Upload Branding
o Duplicate a branding style
o Upload a branding style
Download or Delete Branding
o Download a branding style
Edit a downloaded branding style
o Delete a Branding Style
Branding style options
Edit styles
o Change a Logo
o Change an Icon
o Change Headers and Footers
o Edit a User's GUI
o Change a Style's Preview Image
o Edit a Style's HTML
Use cPanel's HTML Editor
Upload Your Custom HTML page
o Edit a Style's CSS
Example branded login page
Page 22
Overview
This interface allows resellers to edit the header and footer images in each theme as well as the
main page icons for the style.
Important:
Icon
You must have root or reseller privileges in order to view this interface.
Page 23
Page 24
Edit styles
When you choose to edit a style, the following options will display. They allow you to edit various
parts of the cPanel interface.
Change a Logo
To change a logo, perform the following steps:
cPanel User Documentation
Page 25
4.
5.
6.
7.
8.
Change an Icon
To change an icon, perform the following steps:
1. Click Edit Icons.
Note:
2. Icons display in the cPanel Home interface (Home). Use them to highlight features for your
users.
3. Click Choose File.
a. The custom icons must have the same filenames as the originals.
b. Click Reset to return to the default icon.
4. Select the file from your computer that you wish to use as the new icon.
Warning:
5. cPanel does not support transparent images as icons. Uploaded images will lose their
transparency.
6. Click Upload Images.
a. Click Reset All Icons to return all icons to the default icons.
Note:
If your icon does not display properly, click Generate Sprites. This regenerates the cPanel file
that contains your icons, and may fix the problem.
To conserve bandwidth and improve performance, sprites reduce the number of requests to
your web server. To do this, they store all of your buttons and icons in a single image. When
you upload an image, the sprites should generate automatically.
The WHM interface includes a Generate Sprites link in case the process encounters a
problem. Use this link if the changes that you made to the appearance of the cPanel
interface do not display automatically.
Page 26
Page 27
b. The large preview image displays when a user clicks the small image in the home
interface of the Branding Editor.
2. Click Choose File for the large preview image.
a. We recommend that you select a screenshot of the style.
b. Custom screenshots must have the same filenames as the original images.
c. Click Reset to return to the default preview image.
3. Repeat this process for the small preview image.
4. Click Upload Images at the bottom of the interface.
a. Click Reset All Previews to return both preview images to the defaults.
Page 28
Page 29
#$port = 2096;
?>
<html>
<h1>[Web Hosting Company Name Here]</h1>
<b>cPanel Login</b><br>
<?php
if ($_GET['failed'] == "1") {
?>
<font color=#FF0000>Your login attempt failed!</font>
<?php
}
print "<form action=\"" . $protocol . "://" . $_SERVER['HTTP_HOST']
. ":" . $port . "/login/\"
method=POST>";
?>
User: <input type="text" name="user"><br>
Pass: <input type="password" name="pass"><br>
<?php
print "<input type=hidden name=failurl
value=\"http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']
. "?failed=1\">";
?>
<input type="hidden" name="login_theme" value="default">
<input type="submit" value="Login">
</form><br>
<a href="cpanel-login.phps">Source</a><br>
Note: This examples requires cPanel 9.4.1 or later!
The login theme option requests cPanel 11.1.0 or later!
</html>
Change Language This interface defines the default display language of the cPanel interface.
Change Language
Skip to end of metadata
Go to start of metadata
Page 30
Overview
Change the default language
Overview
The Change Language interface allows you to change the language of your cPanel interface. If you
need a new language, contact your hosting provider.
Shortcuts This interface allows you to create a shortcut (a quick way to access the cPanel
interface or your webmail).
Security Policy This interface allows you to update and manage your cPanel account's security
questions.
Security Policy
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Preferences >> Security Policy)
Page 31
o
o
Overview
Update Security Questions
Manage Recognized IP Addresses
Add an access IP address
Remove an access IP address
Overview
This interface allows you to update and manage your cPanel account's security questions. You can
also add access IP addresses. When you attempt to log in to your cPanel account from a verified
access IP address, the system will not require you to answer the security questions.
Your hosting provider may require you to answer these security questions if you attempt to access
your cPanel account from an unverified IP address. This policy helps to keep your server secure.
Note:
Icon
When you attempt to log in from an unverified IP address and successfully answer your security
questions, cPanel automatically adds that IP address to the list of verified IP addresses.
Page 32
Icon
When you attempt to log in to your cPanel account from a verified access IP address, the system
will not require you to answer the security questions.
To add and remove access IP addresses, click Manage Access IPs.
Mail
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail)
Email Accounts This interface allows you to add and manage your domain's email accounts.
Email Accounts
Skip to end of metadata
Go to start of metadata
cPanel User Documentation
Page 33
Overview
Add an Email Address
Change password
Change quota
Delete an email address
Configure an email client
Notes about email client configuration
Access webmail
Default email account
Enable or Disable BlackBerry FastMail service
Overview
This set of features allows you to add and manage your domain's email accounts.
The system grades the password that you enter on a scale of 100 points. 0 indicates a weak
password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength meter indicates
that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read our Password
Generator documentation.
3. Enter the quota in the Mailbox Quota text box.
The quota defines how much hard drive space the account may use to store email.
Important
Icon
Page 34
Due to mail server constraints, quotas cannot be greater than 2048 MB. Quotas that exceed this
amount must be unlimited.
4. Click Create Account.
The next section of the interface displays a table of email addresses that already exist on the
account. You can perform the following actions on these email addresses:
Change password
Important:
Icon
Use a secure password. A secure password is not a dictionary word and contains uppercase and
lowercase letters, numbers, and symbols.
To change the password, perform the following steps:
1. Click Change Password next to the appropriate email account.
2. Enter and confirm the new password in the appropriate text boxes.
Notes:
Icon
The system grades the password that you enter on a scale of 100 points. 0 indicates a weak
password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength meter indicates
that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read our Password
Generator documentation.
3. Click Change Password to store the new password.
If you do not wish to change the password, click cancel.
Page 35
Change quota
The quota for an address defines the amount of mail (in Megabytes) that the account can store.
When your mailbox exceeds this limit, the system will return any incoming mail to the sender with a
message which states that the recipients mailbox is full. The system administrator can change this
behavior in WHM's Exim Configuration Manager feature (Home >> Service Configuration >> Exim
Configuration Manager).
It is important to keep track of quota usage, because a full quota will not allow you to receive mail.
Notes
Icon
The quota calculation does not include your mailbox's trash folder.
You cannot exceed the quota that your hosting provider sets. Also, due to mail server constraints,
you cannot set a quota that is greater than 2048 MB. Quotas that exceed this
amount must be Unlimited.
To change a mail quota, perform the following steps:
Page 36
You must have already installed an email client on your computer in order to automatically configure
it with cPanel.
To configure your mail client, perform the following steps:
1. Select and download the appropriate configuration file from the list.
2. Run the script file to automatically configure your mail client to use the selected address.
When the configuration process completes, your email client should open automatically and log in to
your email account(s).
Note
Icon
If you wish to use an email client that interface does not list, you will need to manually configure it.
For more information on how to manually configure an email client, review the documentation of the
client that you wish to use. You can generally find documentation on the client's website.
Access webmail
This feature allows you to access an email account with a web browser. To access this feature,
perform the following steps:
1.
2.
3.
4.
Click the More button that corresponds to the appropriate email account.
Select the Access Webmail option from the menu.
Enter the password in the appropriate text box.
Click the Log in button.
Page 37
Webmail Webmail allows you to access your email through a web browser. For more information,
read our How to Access Webmail documentation.
Note:
Icon
The Webmail icon will not display if you logged in with the reseller or root password.
BoxTrapper BoxTrapper allows you to block unwanted email. Use the BoxTrapper interface to
configure your BoxTrapper settings.
BoxTrapper
Skip to end of metadata
Go to start of metadata
cPanel User Documentation
Page 38
o
o
o
o
o
o
Overview
Enable BoxTrapper
BoxTrapper Configuration
Configure BoxTrapper
Edit confirmation messages
Edit White/Black/Ignore lists
Forward List
Review Log
Review Queue
Overview
BoxTrapper filters spam from your inbox through challenge-response verification. When an account
that has BoxTrapper enabled receives an email, BoxTrapper automatically sends a verification email
in response. The sender must complete the verification process before the email can pass to your
inbox. If the sender does not verify the email, the verification fails and BoxTrapper never clears the
message for delivery. After a period of time, the system automatically deletes the spam.
Warning:
Icon
System administrators who have access to WHM and experience problems when they use
BoxTrapper and Apache SpamAssassin together must contact their hosting providers for more
information about the server configuration. BoxTrapper and Apache SpamAssassin only work
together if you disable the Old Style Spam System setting in WHM's Exim Configuration
Manager interface (Main >> Service Configuration >> Exim Configuration Manager):
** Old Style Spam System [?]
DEPRECATED: Use legacy transport based SpamAssassin system instead of the new ACL st
Enable BoxTrapper
To enable BoxTrapper, perform the following steps:
1. Click Manage next to the account that you wish to modify.
2. Click Enable.
Note:
Icon
Page 39
When you enable BoxTrapper, it automatically whitelists any email address to which you send email,
even if you disable the automatic whitelist.
BoxTrapper Configuration
To edit BoxTrapper settings, click Manage next to the account that you wish to modify.
The BoxTrapper Configuration interface will appear.
Configure BoxTrapper
To configure BoxTrapper settings, perform the following steps:
1. Click Configure Settings.
2. Enter any email addresses that forward mail to the account, separated by commas, in the Email
addresses going to this account text box.
3. Enter your name in the Your Name text box.
4. Enter the number of days for which you wish to keep logs and messages in the Number of days to
keep logs and messages in queue text box.
5. Enter the desired minimum spam score in the Minimum SpamAssassin Spam Scorerequired to
bypass BoxTrapper text box.
Note:
Icon
When BoxTrapper receives an email with a spam score lower than the value set in the Minimum
SpamAssassin Spam Score required to bypass BoxTrapper option, it automatically delivers the
message. The default value for this option is -2.5.
6. To enable or disable automatic whitelisting, select the appropriate box.
Note:
Icon
BoxTrapper will automatically whitelist any email address to which you send a message.
7. Select the Auto Whitelist To and From lines from whitelisted senders (whitelist by
association) checkbox to enable automatically whitelist addresses in the To and CC lines of an
incoming whitelisted email.
8. Click Save.
Page 40
Forward List
Enter email addresses that you wish to add to the forward list, and click Save. The system will
automatically forward whitelisted emails to these addresses.
Review Log
This log is organized by day, and will show any activity for an email address that uses BoxTrapper.
This can be useful if you need to isolate problems with email delivery.
Review Queue
Click Review Queue to view any BoxTrapper mail that is unverified. To deliver or delete emails,
perform the following steps:
1. Select the checkbox for the desired day.
2. Select Delete or Whitelist & Deliver.
3. Click Submit.
To see the contents of a message, perform the following steps:
1. Click the emails sender, subject, or date to see the entire message, headers, and more delivery
options. For example, you can ignore or blacklist a sender.
2. Select the option for which you wish to filter.
3. Click Go.
Page 41
Apache SpamAssassin Apache SpamAssassin allows you to block unwanted email. Use
this interface to configure your Apache SpamAssassin settings.
Apache SpamAssassin
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail >> Apache SpamAssassin)
o
o
o
o
o
o
Overview
Enable or disable Apache SpamAssassin
Filters
Auto-Delete Spam
Enable Spam Box
Apache SpamAssassin Configuration
blacklist_from
required_score
score
whitelist_from
A note for system administrators
Overview
Apache SpamAssassin is an email utility that examines incoming email and tests for spam
characteristics. It uses Bayesian spam filtering and network tests to screen incoming email. This
results in an overall score that Apache SpamAssassin uses to determine whether it should discard a
message.
Note:
Icon
If you experience trouble when you use BoxTrapper and Apache SpamAssassin together, contact
your web hosting provider for more information about your server's configuration.
System administrators must disable the Old Style Spam System setting in WHM's Exim
Configuration interface (Home >> Service Configuration >> Exim Configuration Editor) for
BoxTrapper and Apache SpamAssassin to work together properly.
Page 42
Filters
Auto-Delete Spam
This feature automatically deletes messages that meet or exceed the score limit.
To enable this feature, select the desired minimum spam score and click Auto-Delete Spam. This
setting defaults to 5.
To disable this feature, click Disable Auto-Delete Spam.
Notes:
Icon
If you enable this feature and a message that is not spam meets or exceed the defined score, you
may lose that email. Make certain to properly configure Apache SpamAssassin before you use this
feature.
Your hosting provider may need to enable this feature. If you want to redirect spam from your email
inbox, and this option is not available, create a spam email filter.
We recommend that you enable this feature.
When you click Enable Spam Box, the system creates a spam folder, to which Apache
SpamAssassin sends spam mail. This feature preserves mail that the system may mistakenly
classify as spam mail.
After you enable this feature, you can click Clear Spam Box to delete the messages in the Spam
Box.
Warning:
Icon
If you check your mail through a POP3 client, access and empty your spam box with the
username youraddress@example.com/spam and your email account password. If you do not do
Page 43
this frequently, spam may accumulate in the Spam Box and cause you to reach your email account
quota.
The above format is only functional to access the Spam Box. You cannot use this method to access
other folders on your account. Some webmail clients may require you to takeadditional steps. For
more information, read our How to Set Up Webmail Folders for Archived Email article.
If you are unsure of whether you use POP3 or IMAP to receive mail, you can find this information in
your email application's Preferences interface.
If you need to add more than five addresses to the blacklist, fill in the first five text boxes and
click Save. Additional text boxes will appear.
Click Save to store the configuration changes.
For more information, visit the Apache SpamAssassin documentation.
When you add the addresses to the blacklist or whitelist, use * as a wildcard to represent multiple
characters and ? to represent a single-character wildcard. The following examples demonstrate how
to properly use wildcards in the blacklist:
blacklist_from
Apache SpamAssassin may incorrectly tag some mail as non-spam messages. If these messages
often come from specific addresses, you can blacklist them to ensure that Apache SpamAssassin
tags their messages correctly.
To do this, enter the address in one of the blacklist_from text boxes.
Note:
Icon
System administrators who wish to blacklist email addresses on multiple accounts should use
the Exim System Filter File.
Page 44
required_score
Apache SpamAssassin examines every email message for spam characteristics and assigns it an
overall score.
Use the required_score text box to set the required score to mark a message as spam. The default
setting is 5.0, which is aggressive. It is suitable for a single user, but ISPs should set the default to
be more lenient (for example, 8.0 or 10.0).
score
Apache SpamAssassin uses hundreds of tests, and you can assign scores to individual tests to
configure Apache SpamAssassin for your server.
To do this, perform the following steps:
1. To review the default scores, run the following command:
grep -R score /var/lib/spamassassin/* |less
2. You will need to know which version of Apache SpamAssassin runs on your server. To check your
version of Apache SpamAssassin, run the following command:
/usr/local/cpanel/3rdparty/bin/spamassassin --version
3. Enter individual test scores in the score text boxes in the following format:
"score" "TEST_NAME" "1 or 4 positive or negative numbers"
The following table indicates when Apache SpamAssassin uses each score.
Score used
Bayes test
Network test
First Score
Disabled
Disabled
Second Score
Disabled
Enabled
Third Score
Enabled
Disabled
Fourth Score
Enabled
Enabled
Example
For example, you could enter the following individual test score:
score INVALID_DATE 3.2 3.3 2.5 2.1
Page 45
This example sets the scores that Apache SpamAssassin assigns to a message with an invalid date
in its header.
Note:
Icon
If you only list one number, the test uses that score.
Set a score to 0 to disable the test.
In the example above, 3.2 is the first score, 3.3 is the second, 2.5 is the third, and 2.1 is the
fourth. If you enter four numbers, as in the example, the score that Apache SpamAssassin uses
depends on the Bayes and network tests that are enabled in your installation of
Apache SpamAssassin.
whitelist_from
Add email addresses that Apache SpamAssasin often blocks, but from which you wish to receive
mail, to the Apache SpamAssasin whitelist.
To do this, enter the address in one of the whitelist_from text boxes.
Forwarders Forwarders allow you to forward incoming email from one address to another. Use
this interface to create and manage your domain's forwarders.
Forwarders
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail >> Forwarders)
Page 46
o
o
o
o
Overview
Email Account Forwarders
Add Forwarder
Pipe to a Program
Domain forwarders
Delete a domain forwarder
Add Domain Forwarder
Overview
You can use this interface to forward copies of one address's incoming emails to another address.
This allows you to use one account to check mail for several email addresses. You can also discard
email or send (pipe) mail to a program.
To view forwarders for a specific domain on your account, select the domain for which you wish to
set forwarders from the Managing menu.
Note:
Icon
Use the Box Trapper Forward List feature for email accounts that use BoxTrapper. For more
information, read our BoxTrapper documentation.
To quickly find a specific email address, enter a keyword in the Search text box and click Go.
To view the route that a forwarded message takes, select Trace in the Functions column for that
email address.
To delete a forwarder, click Delete in the appropriate row. Click Delete Forwarder to confirm that you
wish to delete that forwarder.
Add Forwarder
To add a mail forwarder, perform the following steps:
1. Click Add Forwarder.
2. In the Address to Forward text box, enter the address for which you wish to forward email.
3. Select one of the following options:
Forward to email address Select this option to forward mail to another address. Enter the address
to which you wish to forward mail in the text box.
Page 47
Discard with error to sender Select this option to discard incoming messages and automatically
send a failure notice to the sender. Enter the desired failure message in the Failure Message text
box.
Click Advanced Options to view the following additional options:
Forward to a system account Select this option to forward mail to a system user. Enter the
appropriate username in the text box.
Notes:
Icon
This text box accepts the username of any user on the server.
System accounts do not have a public-facing email address.
Pipe to a Program To automatically forward messages to a program, define a path to the program
(for example, /home/$utility) in the text box. For more information, read the Pipe to a
Program section below.
Discard (Not Recommended) Select this option to discard incoming messages without a failure
notice.
Important:
Icon
We do not recommend this option, because the sender will not know that the delivery failed.
Important:
Icon
If you do not delete the cPanel account for which mail is forwarded, both accounts will receive mail.
If you wish to forward mail to another account but not receive mail at your cPanel account, create a
forwarder from an address that does not have a cPanel account.
If the account already exists, delete it in cPanel.
The system will forward all of the mail that you receive to the destination that you configure in this
interface.
Pipe to a Program
Important:
Icon
Page 48
Make sure that your script uses the proper file permissions (0700). To change your script's file
permissions, run the chmod 0700 myscript.php command, where myscript.php stands for your
script's location and file name.
You can use the Pipe to a Program option to parse and enter email information into a different
system. For example, you can use the Pipe to a Program option to pipe email information to a
program that enters email information into a ticket system.
Pipes can accept variables from the $_SERVER array and variables on the command line.
The language or environment that you use may cause memory limit issues.
If your script produces any output, even a blank line, the system will create a bounce message that
contains that output.
When you use the Pipe to a Program option, enter a path that is relative to your home directory. For
example, if your username is user and you wish to use the /home/user/script.pl script,
entertest.pl in the Pipe to a Program text box.
Note:
If you use PHP, ensure that you appropriately wrap your code in start and end tags.
PHP and Perl hashbangs
To ensure that the script will function properly, the script must be executable and the appropriate
hashbang line must exist at the top of the script.
If you use PHP, use the following hashbang line at the top of the script:
#!/usr/local/bin/php -q
If you use Perl, use the following hashbang line at the top of the script:
#!/usr/bin/perl
If your script does not include a hashbang, enter the path to the Perl or PHP interpreter in the Pipe to
a Program text box. Follow it with the full path to the script, as in the following examples:
/usr/local/bin/php /home/john/test.php
/usr/bin/perl /home/john/test.pl
Domain forwarders
You can use domain forwarders to forward copies of all of the incoming mail for all of a domain's
addresses to another domain. Domain forwarders override the default address for the forwarded
domain.
Note:
Page 49
Icon
Domain forwarders only forward mail when a delivery is not successful. For example, if a user sends
an email to john@example1.com, the following actions might take place:
If john@example1.com is an existing email address or autoresponder, cPanel will not forward the
email.
If john@example1.com is not an existing email address or autoresponder, cPanel will forward the
email.
Auto Responders Autoresponders allow you to send a message in response to incoming email
automatically. Use this interface to create and manage your domain's autoresponders.
Auto Responders
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail >> Auto Responders)
Overview
Current Auto Responders
Add or Edit an Auto Responder
Remove an Auto Responder
Page 50
Overview
This feature allows you to configure automatic email response messages. This is useful when the
recipient is unavailable.
Note
Icon
When an auto responder is active, emails that the mailbox receives still go to the inbox as usual.
Page 51
Icon
If you set the interval to 0, cPanel sends an auto response to each email.
5.
6.
7.
8.
9.
In the Email text box, enter the email address for which you wish the server to respond.
In the From text box, enter the username that will appear in the response.
In the Subject text box, enter the subject that will appear in the response.
If the message includes HTML tags, select the HTML checkbox.
In the Body text box, enter the text of the response.
Note
Icon
You can use tags in the body of the message to represent information, such as the incoming email's
sender or subject. Tags use percentage signs (%) as markers.
Available tags are:
%subject% The subject of the message that was sent to the auto responder.
%from% The name of the sender of the message that the auto responder received. (If the sender's
name was not in the original email's header, %from% will print the sender's email address.)
%email% The sender's email address.
10. Select a start time. You can choose Immediately or Custom.
If you select Custom, a small calendar will appear. Use the arrows to navigate between months and
click your preferred start date. Then, enter a start time at the bottom of the calendar, and
include AM or PM from the menu. Finally, click anywhere outside of the calendar box to save the
configuration and close the calendar. Your chosen date and time will appear next to the Start option.
Notes
Icon
The time is based on the user's workstation operating system time and the system translates it into
GMT. If the workstation time is wrong, the time on the calendar will be proportionately wrong.
This feature uses 12-hour notation and will reformat times in 24-hour notation. For example, if you
select 18:30 as the start time, cPanel will automatically reformat the time to be 6:30 PM.
11. Select a stop time. You can choose Never or Custom.
If you select Custom, a small calendar will appear. Use the arrows to navigate between months and
click your preferred date. Then, enter a time at the bottom of the calendar and select AM or PM from
the menu. Finally, click anywhere outside of the calendar box to save the configuration and close the
calendar.
Note
Icon
Page 52
You must select a stop time that is later than the start time.
12. Click Create/Modify to save the auto responder.
Default Address Use the Default Address interface to configure how cPanel will handle mail that
is sent to invalid email addresses for your domain.
Default Address
Skip to end of metadata
Go to start of metadata
The email address to which cPanel routes any email message sent to email accounts which do not
exist at a domain. Also known as a Catch-All Address.
Mailing Lists Mailing lists allow you to specify a single address through which you can send an
email message to multiple addresses.
Mailing Lists
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail >> Mailing Lists)
Overview
How to create a mailing list
View current mailing lists
cPanel User Documentation
Page 53
o
o
o
o
o
Overview
Mailing lists allow you to use a single address to send mail to multiple email addresses.
Note:
Icon
cPanel handles mailing lists with the third-party Mailman application. For additional information,
read the Mailman documentation.
The system grades the password that you enter on a scale of 100 points. 0 indicates a weak
password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength meter indicates
that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read our Password
Generator documentation.
Important:
Icon
Page 54
Use a secure password. A secure password is not a dictionary word and contains uppercase and
lowercase letters, numbers, and symbols.
4. Select one of the following privacy options:
private This mailing list has private archives, the administrator must approve subscriptions,
and the Mailman interface does not advertise the mailing list.
public This mailing list has public archives, the subscriptions are open, or the list is advertised on
the Mailman interface.
5. Click Add Mailing List to create the new mailing list.
After you create a mailing list with cPanel, you can use the functions below to modify, delete, or
change the password.
To search for a mailing list, enter a keyword in the Search text box and click Go.
The following table describes the Current Lists table:
Column
Description
List
Name
Usage
Page 55
Column
Description
Access
private This mailing list has private archives, the administrator must approve
subscriptions, and the mailing list is not advertised on the Mailman interface.
public This mailing list has public archives, the subscriptions are open, or the list is
advertised on the Mailman interface.
Admin
Functions
Page 56
1. In the Current Lists section, scroll to the name of the mailing list.
You can also enter a keyword in the Search box and click Go.
2. In the Functions column, click the Manage link next to the name of the mailing list.
3. In the Configuration Categories section, click Privacy options.
4. Click Spam filters.
5. Enter the filter rules that you wish to apply. For more information on filter rules, view our How to
Create Mail Filter Rules For Mailing Lists documentation.
6. Click Submit Your Changes.
For more information on Mailman's Spam Filters feature, view the Mailman documentation.
The system grades the password that you enter on a scale of 100 points. 0 indicates a weak
password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength meter indicates
that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read our Password
Generator documentation.
Important:
Icon
Use a secure password. A secure password is not a dictionary word and contains uppercase and
lowercase letters, numbers, and symbols.
cPanel User Documentation
Page 57
Page 58
Account Level Filtering Account-level filters allow you to create mail filters for your domain's main
email account.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail >> Account Level Filtering)
o
o
Overview
Create Filter
Current Filters
Edit a filter
Delete a filter
Filter Test
Overview
This interface allows you to set up how you wish to filter all of the email that your domains' email
accounts receive.
Important:
Icon
We strongly recommend that you use multiple, simple filters instead of a single large filter. Exim,
the server's mail transfer agent, handles many small rules more efficiently than it handles a single
large rule.
Page 59
Create Filter
To create a new filter, perform the following steps:
1. Click Create a new Filter.
2. Enter a name for the filter in the Filter Name text box.
3. Configure your filter's rules and actions as desired.
Note:
For detailed information on how to configure your filter, read our How to Configure Mail Filters article.
4. Click Create.
Current Filters
The Current Filters section lists all of the account-level filters for your cPanel account.
Edit a filter
To edit an existing filter, perform the following steps:
1. Click Edit next to the appropriate filter name.
2. Make the desired changes to the filter.
3. Click Create.
Delete a filter
To delete a filter, perform the following steps:
1. Click Delete.
2. Click Delete Filter to confirm that you want to delete the selected filter.
Filter Test
To test your filter, perform the following steps:
1. Enter a test email message in the Filter Test text box.
Note:
Icon
Make certain that your test message includes the characters or words for which you wish to filter.
Page 60
2. Click Test Filter. The Filter Trace Results indicate whether your filters would alter delivery for that
test message.
User Level Filtering User-level filters allow you to create mail filters for specific email accounts on
your domain.
Go to start of metadata
For cPanel & WHM 11.44
( Home >> Mail >> User Level Filtering )
o
o
Overview
Create a filter
Current Filters
Edit a filter
Delete a filter
Filter Test
Overview
This interface allows you to filter the email for each email account in your domain.
Important:
Icon
We strongly recommend that you use multiple, simple filters instead of a single large filter. Exim,
the server's mail transfer agent, handles many small rules more efficiently than it handles a single
large rule.
Create a filter
To create a new filter, perform the following steps:
1. In the Filters by Users table, click Manage Filters in the row that corresponds to the email account
for which you wish to create a filter.
2. Click Create a new Filter.
3. Enter a name for the filter in the Filter Name text box.
4. Configure your filter's rules and actions as desired.
Page 61
Note:
For detailed information on how to configure your filter, read our How to Configure Mail Filters article.
5. Click Create.
Current Filters
To view the list of current filters for an email account, click Manage Filters in the row that
corresponds to the email account for which you wish to create a filter. The Current Filters table lists
all of the user-level filters for the selected email account.
Edit a filter
To edit an existing filter, perform the following steps:
1. Click Edit next to the appropriate filter name.
2. Make the desired changes to the filter.
3. Click Create.
Delete a filter
To delete a filter, perform the following steps:
1. Click Delete.
2. Click Delete Filter to confirm that you want to delete the selected filter.
Filter Test
To test a filter, perform the following steps:
1. In the Filters by Users table, click Manage Filters in the row that corresponds to the email account
for which you wish to create a filter.
2. Enter a test email message in the Filter Test text box.
Note:
Icon
Make certain to include the characters or words that you set up your filter to catch.
3. Click Test Filter.
Page 62
Email Trace Use this interface to review details about email delivery attempts for your account.
Email Trace
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail >> Email Trace)
Overview
Search for the delivery status of an email
The Delivery Report table
The Table Options button
The Email Server Trace diagram
Overview
This interface displays reports about email delivery attempts from your account and allows you to
trace email delivery routes. You can also trace an email's delivery route with this feature, which can
help you to locate problems with email delivery.
Column
Description
Event
Page 63
Column
Description
The mail server accepted the message but did not deliver it
to the recipient's inbox. This typically occurs because spam software filtered the message.
User
The cPanel user who owns the email account that sent the message.
Sender
Sent Time
The date and time when the user sent the message.
Spam
Score
A score that is based on the number of spam-related traits within the message.
Recipient
ID
Result
Actions
Click the
icon to view and print information about the selected
message. This information includes the message's sender, recipient, username, and more.
Page 64
Option
Description
Select All
Event
User
Domain
Sender
Sent Time
The date and time when the user sent the message.
Sender Host
Sender IP Address
Authentication
Spam Score
Recipient
Delivery User
Delivery Domain
Delivered To
Page 65
Option
Description
Router
The internal router that the mail server used to determine the message's
destination.
Transport
Out Time
The date and time when the intended recipient received the message.
ID
Delivery Host
Delivery
IP Address
Size
Result
Actions
Click on the magnifying glass to open the Delivery Event Details information
window and print the report.
Import Addresses/Forwarders Use this interface to create multiple email accounts or forwarders
when you upload a list of usernames.
Import Addresses/Forwarders
Skip to end of metadata
Page 66
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail >> Import Addresses/Forwarders)
Overview
How to create the import file
Import the file
Overview
This feature allows you to use two types of file to create multiple email addresses or forwarders for
your account simultaneously. You may use Excel spreadsheet files (.xls) or comma-separated
values sheet (CSV) files (.csv) to import the data.
Usernames
For example, user1 or user@example.com.
You are not required to include the domain portion of the address (for example, @example.com).
Passwords, if you wish to import email addresses.
Quotas
For example, 10 indicates for 10 Megabytes.
A .csv file is a plain text file to which you assign the .csv extension. When you use a .csv file,
separate your email addresses and passwords consistently. You can use commas (,), periods (.),
or any other character (delimiter) to separate the information that you will import for each account.
A sample .csv file might contain the following lines:
1
user1@example.com, Password, 10
user2@example.com, Password, 10
user3@example.com, Password, 10
Remember:
Icon
Page 67
Email Authentication Use this interface to configure DKIM, SPF, and other settings that help
prevent spam.
Email Authentication
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail >> Email Authentication)
Overview
Set up DKIM
Page 68
o
o
Advanced Settings
Additional information
Add Headers in DKIM
The spf_installer
Overview
cPanels email authentication features provide information about outgoing messages. This helps the
server that receives the messages verify that the email comes from a trusted sender.
Note
Icon
Both the DKIM and SPF authentication functions require the server to be a DNS server for the
domain name. For more information about DNS servers, review the terms of your hosting contract.
Set up DKIM
DKIM helps to verify the sender and integrity of a message. It allows an email system to prove that a
message was not altered while in transit (which means that it is not forged), and that the message
came from the specified domain.
The server has been changed to be the authoritative DNS server for the domain name, but the
change has not yet propagated.
The server does not view itself as the authoritative DNS server, but outside servers do view it as
authoritative.
Set up SPF
This function attempts to deny spammers the ability to send email while they forge your domains
name as the sender (spoofing). This authentication function adds IP addresses to a list that specifies
computers that are authorized to send mail from your domain(s). It verifies that messages that are
sent from your domain(s) come from the listed server, which will reduce the amount of backscatter
you receive.
Page 69
The server has been changed to be the authoritative DNS server for the domain name, but the
change has not yet propagated.
The server does not view itself as the authoritative DNS server, but outside servers do view it as
authoritative.
Advanced Settings
This section includes the following ways to configure SPF authentication:
Additional Hosts that send mail for your domains (A): The additional hosts specified here are
automatically approved to send mail from your domain(s). You may add and remove hosts with the
appropriate buttons.
Additional MX servers for your domains (MX): MX entries specified here are able to send mail from
your domain(s).
Additional Ip blocks for your domains (IP4): IP addresses that are approved to send mail from your
domain(s). Your server's main IP address is automatically included in this list. If you add IP
addresses, you must use CIDR notation. (For example, 192.168.0.1/32)
Include List (INCLUDE): This feature allows you to specify additional hosts to include in your SPF
settings. This is useful when you send mail with another service.
All Entry (ALL): If you enable this option, the SPF feature causes hosts that are not defined in the
above lists to fail. If you disable this option, the SPF feature will not cause undefined hosts to
automatically fail; instead, undefined hosts will be marked as Neutral. When a server receives mail
from a neutral host, the server will act as if SPF was not enabled. After you have tested the entries in
the above lists and confirmed that they are correct, you should enable this feature.
Overwrite Existing Entries: If you select this option, the system will overwrite existing SPF entries.
Click Update to save your changes.
Page 70
Additional information
Add Headers in DKIM
If you already use DSO and you enable DKIM, emails sent will not have information in the ReturnPath, Reply-To, or From fields in the email header. As a result, DKIM will show that nobody is the
sender. If you use a PHP script, you should manually add the headers. The following is an example
of a PHP script that adds the missing parts to an email header:
1
<?php
$to
$message = 'hello';
8
9
= 'nobody@example.com';
The spf_installer
You can use the spf_install function from the command line to add an SPF record to the zone
files for all domains that belong to a user.
For example, to add an SPF record to all domains registered to username john on the cPanel
server, run the following command as root:
/usr/local/cpanel/bin/spf_installer john
If the script is successful, you will not receive confirmation from the command line. Instead, navigate
to Home >> cPanel >> Email Authentication on each domain that is owned by the user. The SPF
status will show as Enabled.
MX Entry
Skip to end of metadata
Page 71
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail >> MX Entry)
Overview
This feature allows you to route a domain's incoming mail to a specific server. Changes that you
make to the MX entry will also result in changes to the DNS records.
This feature is useful if you wish to create a backup mail exchanger to handle mail when the server
is down.
Choose this option if your server uses SmartHost or another gateway service to filter mail.
Backup Mail Exchanger The domain will act as a backup mail exchanger, and will hold mail in the
queue if the primary exchanger becomes unavailable.
Note:
Page 72
Icon
You will need to configure the primary MX entry to point to the appropriate exchanger.
Remote Mail Exchanger The domain will not accept mail. Instead, it will send it to the primary mail
exchanger.
Note:
Icon
You will need to configure the primary MX entry to point to the appropriate exchanger.
3. Click Change.
Delete an MX Entry
To delete an MX entry, perform the following:
1. Click Delete next to the appropriate MX entry in the MX Records list.
2. Click Delete again to confirm that you wish to delete the entry.
cPanel User Documentation
Page 73
Edit an MX Entry
To edit an MX entry, perform the following:
1. Click Edit next to the appropriate MX entry in the MX Records list.
2. Change the Priority or Destination as needed.
3. Click Edit again to confirm that you wish to change the entry.
Email Archiving Use this interface to save incoming, outgoing, or mailing list messages for a
specified amount of time.
Email Archiving
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Mail > Email Archiving)
o
o
o
o
Overview
Default Mail Archiving Configuration
Manage Archiving
Modify email archiving for a domain
IMAP Access
Download Archives
Access Webmail
Overview
The Email Archiving feature allows users to save incoming, outgoing, or mailing list messages for a
specified amount of time. cPanel stores the messages in the mail directory in the user's home
directory. Each day, the system generates a new directory with the archivetype.YYYY-MMDD format to contain all of the messages for the specified archive type.
Page 74
You can view the messages from the cPanel interface or in a mail client.
Warning
Icon
The Email Archiving feature will not appear in your cPanel interface unless your System
Administrator enables the Enable Email Archiving support setting in the Mail section of
WHM's Tweak Settings interface (Home >> Server Configuration >> Tweak Settings >> Mail).
Note
Icon
When you enable Email Archiving, the amount of disk space that the feature uses can quickly grow
based on the length of time over which you store messages. Verify that your disk drive has ample
space before you enable Email Archiving.
Manage Archiving
The Manage Archiving table lists the archiving settings for each of your domains.
In the table, find the domain for which you wish to enable email archiving.
Select the desired archive type.
Select the length of time during which mail should remain in the archive.
You will receive a notification that the Email Archiving feature is enabled.
IMAP Access
You can view messages in multiple ways through an IMAP connection:
To use a cPanel-provided auto-configuration script, perform the following steps:
Page 75
1.
2.
3.
4.
Click on the IMAP Access option next to the domain for which you wish to view messages.
Choose from the list of mail clients and select either IMAP over SSL/TLS (recommended) or IMAP.
Follow the instructions to complete the setup.
Use the provided settings to manually set up a read-only configuration via IMAP.
To manually configure your mail client, perform the following steps:
1. Click on the IMAP Access option next to the domain whose messages you want to view.
2. In the selected mail client, provide the following information, where example.com is your domain
name:
Mail Server Username: archive@example.com
Your password is the same as your account password.
Incoming Mail Server: (SSL) mail.example.com
IMAP port: 993
Incoming Mail Server: (non-SSL) mail.example.com
IMAP port: 143
3. After you provide the information to your mail client, the daily directories will appear in the folder list.
Download Archives
To download the archives to your PC, perform the following steps:
1. Click the Download Archives option next to the domain for which you wish to view messages.
2. Select from the following options:
All archives
incoming
mailing lists
outgoing
3. A .zip file that contains the archived messages will download to your local computer.
Access Webmail
Use the Access Webmail link to view archived messages through Webmail.
Note:
Icon
You may need to take additional steps on some webmail clients.
Files
Skip to end of metadata
Page 76
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Files)
The following documents describe the features in the cPanel Files area.
Backups This feature allows you to download and store website files, databases, forwarders, and
filters.
Backups
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Files >> Backups)
o
o
o
o
o
Overview
Full backups
Create a Full Backup
Download a Full Backup
Store a Backup file remotely
Partial Backups
System Backups
Restore the site from the Backups link
Important information about your backups
Contents of the home directory backup
Can I exclude files from a backup?
Overview
The Backups area allows you to download and store all or some of the websites files, databases,
forwarders and filters.
Experienced users who wish to expedite the backup process will prefer this tool.
Note:
Icon
Newer users may prefer to use the Backup Wizard.
Page 77
Full backups
You can use this interface to create a full backup. The full backup will include your /home directory,
databases, email forwarders, and filters.
Page 78
You cannot use a full backup to restore your site through the cPanel interface. You must download
and compress the file prior to restoration. After you decompress the file, you will be able to upload
and restore individual portions of your website that the full backup contained.
Partial Backups
The Backups interface allows you to download individual pieces of your account.
If you wish to download your entire /home directory, your SQL database(s), and your email
forwarders and filters, click the appropriate links under the Partial Backups headings. This method
downloads the backup file(s) to your computer and saves them to a specified directory.
Warning:
Icon
The Email Filters backup file that you download will only store the domain account-level email filters
that are found in the /etc/vfilters/$domain file. The backup file will not store user account-level
email filters.
System Backups
If your webhost has enabled system backups, you can use the System Backups interface to
download a compressed copy of your websites files.
You will see options to download the most recent backup made at daily, weekly, or monthly intervals.
Page 79
Backup Wizard The Backup Wizard is a user-friendly interface that allows you to create a partial
or full backup of your website. It also allows you to restore your website from the last backup that
you saved.
Backup Wizard
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Files >> Backup Wizard)
Overview
Back up your entire site
Create a partial backup
Restore a portion of your site
Page 80
o
o
Overview
The Backup Wizard is a user-friendly interface that allows you to create a back up your entire site,
back up part of your site, or restore your site from the most recent backup. New users may find this
tool easier to use than the standard Backups interface.
To begin, select whether you wish to back up or restore your website.
Page 81
Part of Site
File Type
Home Directory
*.tar.gz
Email Forwarders
*.net, *.com
Email Filters
*.net, *.com
SQL Database
*.sql
Part of Site
File Type
Page 82
Part of Site
File Type
Home Directory
*.tar.gz
Email Forwarders
*.net, *.com
Email Filters
*.net, *.com
SQL Database
*.sql
File Manager The File Manager allows you to manage website files through your web browser.
File Manager
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
cPanel User Documentation
Page 83
o
o
Overview
The File Manager Directory Selection window
The File Manager toolbar
Character encoding verification
Select a directory
The file window
The navigation toolbar
File and folder actions
Search for a file
Overview
The File Manager interface allows cPanel users to manage and edit their files.
Feature
Icon
Description
Page 84
Feature
Icon
Description
New File
New Folder
Copy
Move File
Upload
Download
Delete
Rename
Edit
Code Editor
HTML Editor
Change
Permissions
Changes the read, write, and execute permissions for selected files.
Page 85
Feature
Icon
Description
View
Opens the selected file so that you can view the code.
Extract
Extracts the selected *.zip, *.Gz, or *.Bz2 archive and stores the files in
a directory.
Compress
Notes:
Icon
When a toolbar action is not available, the function icon turns gray.
We designed certain File Manager functions for use with only one file at a time. Select the desired
file in the file window before you attempt these actions.
Any attempt to Rename, Edit, or View multiple files at once will only affect the first listed file in the
directory.
The Extract and Compress functions will only work with the .zip format if Zip is installed on your
server. Your system administrator can run the yum install zip command to install the Zip
module.
Click Toggle Help to display more information about how to select the correct character encoding.
Click Disable Encoding Check to turn off future verification dialogs.
You can also turn Character Encoding Verification Dialogs on or off:
1. Click Settings in the top left corner of File Manager. A new window will appear.
2. Enable or disable Character Encoding Verification Dialogs:
To turn the encoding verification off, select the Disable Character Encoding Verification
Dialogs checkbox.
To turn the encoding verification on, deselect the Disable Character Encoding Verification
Dialogs checkbox.
3. Click Save
Page 86
Warning:
Icon
If you choose the wrong initial encoding, your file may become corrupt. If your file displays as a
series of special characters, immediately abort the edit and select the correct encoding. Do not save
the file.
Select a directory
You can use the file tree or the location text box to navigate your files and folders.
There are several ways you can use the file tree (located to the left of the file window) to browse
your files:
Feature
Description
File Icon
Files will display an icon that corresponds to the file type. Folders will display the
icon.
Name
The filename.
Page 87
Feature
Description
Size
Last
Modified
Type
Perms
The permissions setting for the file, in octal notation. The default permission setting
is 0644.
Note:
Icon
Click on a column's heading to sort the file list by that column's value.
Feature
Description
Home
Up One
Level
Navigates to the folder that contains the currently selected folder. This option greys out
when you select the home directory.
Back
Returns to the folder that you viewed immediately before the currently selected folder.
Forward
Navigates to the next folder that you viewed, after you use Back.
Reload
Select all
Any attempt to Rename , Edit , or View multiple files at once will only affect the
Page 88
Feature
Description
Deselects all files and folders that the interface currently displays.
Feature
Displays for
Description
Download
Files,
Compressed
Files
View
Files,
Compressed
Files
Edit
Files
Code Edit
Files
HTML Edit
Files
Move
Files,
Compressed
Files, Folders
Copy
Files,
Compressed
Files, Folders
Page 89
Feature
Displays for
Description
Rename
Files,
Compressed
Files, Folders
Change
Permissions
Files,
Compressed
Files, Folders
Allows a user to change the read, write, and execute permissions for
selected files or folders.
Delete
Files,
Compressed
Files, Folders
Extract
Compressed
Files
Extracts the selected *.zip, *.Gz, or *.Bz2 archive and stores the
files in a directory.
Compress
Files,
Compressed
Files, Folders
Password
Protect
Folders
Folders
Folders
Page 90
Feature
Displays for
Description
Icon
Legacy File Manager The Legacy File Manager offers an older web-based interface to users who
wish not to use the newer interface.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Files >> Legacy File Manager)
Overview
Legacy File Manager Directory Selection
Navigation toolbar
The Legacy File Manager toolbar
Properties menu
Page 91
o
o
o
Folder options
File options
Character encoding verification dialogs
Overview
The Legacy File Manager interface offers file manipulation options in an older web-based interface.
Users who are already familiar with an older version of cPanel may wish to use the Legacy File
Manager interface rather than cPanel's current File Manager interface (Home >> Files >> File
Manager).
Navigation toolbar
Use the toolbar at the top of the file window to navigate between folders in the file window.
Feature
Icon
Description
Home
Go Up One Dir
To navigate the files and folders in your current directory, perform one of the following actions:
Click a
Page 92
Feature
Icon
Description
Upload files
Create a New
Folder
Properties menu
This menu, which is located on the right-side of the interface, shows the functions available to
manage your folders and files.
Folder options
Click a folder to see the following options:
Feature
Icon
Description
Change Permissions
Page 93
Feature
Icon
Description
Rename Folder
File options
Click a file to see the following options:
Feature
Icon
Description
Show File
Delete File
Edit File
Change Permissions
Changes the Read, Write, and Execute permissions for the selected file.
Rename File
Copy File
Move File
Download File
URL
Page 94
Feature
Icon
Description
Empty Trash
Click on the name of the file or folder that is listed below the trash icon
to recover that item.
Click on the icon to permanently delete the items in the trash.
Note:
Icon
These options are specific to the type of file that you select. All options will not appear for each type
of file.
Web Disk The Web Disk application allows you to manage files through your operating system's
interface.
Web Disk
Skip to end of metadata
Page 95
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Files >> Web Disk)
o
o
o
o
o
Overview
Main Web Disk Account
Create an Additional Web Disk Account
Manage Additional Web Disk Accounts
Password protect a Web Disk directory
Create a user to access a protected Web Disk directory
Remove an authorized user from a protected directory
Access a Web Disk account
Enable or disable digest authentication
Change the Web Disk password
Delete a Web Disk account
Set Web Disk account permissions
Note for Windows XP and Vista users
Note for Windows 7 users
Related documentation
Overview
The Web Disk application allows you to manage and manipulate files on your server in multiple
types of interfaces, such as your PC, mobile device, or certain types of software. You can choose a
more familiar interface that will make file management tasks easier to complete.
For example, if you access Web Disk from your computer, it will open in a window with which you
can move, add, or delete files on the server, as shown below:
Page 96
Page 97
The system grades the password that you enter on a scale of 100 points. 0 indicates a weak
password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength meter indicates
that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read our Password
Generator documentation.
Icon
The password must be at least five characters long.
3. Enter the directory that you wish Web Disk to connect to on startup in the Directory text box.
4. Select the Permissions level for this account.
Read-Write This access level permits all supported operations inside the assigned directory.
Read-Only This access level only permits this account to read, download, and list files inside the
assigned directory.
5. If you use Windows Vista, or later versions of Windows, and you wish to use Digest
Authentication without SSL, select the checkbox next to Enable Digest Authentication without SSL
(Windows Vista (or later) support).
Note:
Icon
If you are unsure of this feature, it can be enabled at a later time.
6. Click Create.
Page 98
Column
Description
Login
Directory
Access
Web Disk
Click Access Web Disk to go to that account's Web Disk interface. See below for more
information
Actions
From this column you can Enable Digest Authentication, Change Password, Delete the
account, and toggle permissions between Read-Only and Read-Write. See below for more
information.
Page 99
The system grades the password that you enter on a scale of 100 points. 0 indicates a weak
password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength meter indicates
that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read our Password
Generator documentation.
Icon
The password must be at least five characters long.
Page 100
Click the Access Web Disk button that corresponds to the account that you wish to access.
Select your operating system's version from the appropriate menu.
Select the SSL checkbox if you wish to connect with SSL.
Follow the Manual Connection Instructions or the Quick Start Script Instructions to connect to
your Web Disk.
The Quick Start Script will download and run a script on your PC to connect to your Web Disk.
If you use Nautilus or Konqueror on a Linux system, you do not need to download a script. Follow
the instructions that appear on the page.
Page 101
The system grades the password that you enter on a scale of 100 points. 0 indicates a weak
password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength meter indicates
that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read our Password
Generator documentation.
Icon
The password must be at least five characters long.
Page 102
Disk Space Usage The Disk Space Usage interface displays how much disk space your website
uses and information about the content in that space.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Files >> Disk Space Usage)
Overview
Notes
Overview
This interface displays information about how you use your disk space. It can also help you manage
your disk space quota, because it indicates files and directories that use large amounts of hard disk
space.
The Disk Space Usage feature lists all of the subdirectories contained within your home directory.
You can click any of the listed directories to open the appropriate subdirectory in cPanel's File
Manager feature. This function allows you to view specific disk usage information about individual
files and directories contained within the subdirectory.
Note:
Icon
The Disk Space Usage feature does not display disk usage information for individual files contained
within your home directory.
This feature also displays disk space usage summaries for:
Page 103
Notes
Due to the nature of storing files electronically, most files occupy slightly more disk space than their
actual size. For example, a 300 byte file may occupy 4 KB of actual disk space. As a result, you may
find some discrepancies between data in the File Manager feature and the Disk Space
Usage feature.
The disk space usage information contained in this feature does not indicate how much space the
directory itself uses. It only displays disk usage information about the directory's contents. Typically,
directories themselves occupy a negligible amount of disk space.
The figures contained in the Disk Space Usage feature may not reflect recent changes in your
account's disk space.
FTP Accounts The FTP Accounts interface allows you to manage File Transfer Protocol (FTP)
accounts.
FTP Accounts
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Files >> FTP Accounts)
o
o
o
o
Overview
Add an FTP account
Manage FTP accounts
Change an FTP account's password
Edit an FTP account's quota
Remove an FTP account
Configure an FTP client
View the FTP logs
Page 104
Overview
File Transfer Protocol (FTP) allows you to manage your website's files. cPanel includes an FTP
server that is pre-configured and easy to use.
If you are a website owner, and your system administrator enables FTP services, your FTP access
should already be configured. You can use your cPanel account username and password to log in to
FTP. You can also set up FTP accounts for additional users.
Note:
Icon
You can only access the FTP Accounts feature if your system administrator has enabled FTP
services on your server.
The system grades the password that you enter on a scale of 100 points. 0 indicates a weak
password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength meter indicates
that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read our Password
Generator documentation.
3. Specify the FTP account's home directory.
Note:
Icon
The Directory text box defines the top level of directory access that the new account will have. For
example, if you enter example in the Directory text box, the FTP account will have access to
the /home/$user/example directory and all of its subdirectories.
Important:
Icon
Page 105
You cannot use symbolic links (symlinks) to upload data outside of this directory.
4. Set the disk space quota. The Quota text box determines how much disk space to allocate to the
FTP account.
If the desired quota is not Unlimited, enter the maximum amount of data in MB.
Note:
Icon
If your system administrator has chosen to use ProFTPD, you will not be able to use quotas. For
more information, contact your system administrator.
5. Click Create FTP Account. The new account will appear in the FTP Accounts table.
Important
Icon
If you experience problems when you attempt to upload files with FTP, you may need to adjust the
quota to allow more disk space for your account.
The system grades the password that you enter on a scale of 100 points. 0 indicates a weak
password, while 100 indicates a very secure password.
Page 106
Some web hosts require a minimum password strength. A green password Strength meter indicates
that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read our Password
Generator documentation.
3. Click Change Password.
Click Delete Account to remove the FTP account. This will not remove the files that the FTP
account's home directory contains.
Click Delete Account and Files to remove the FTP account and all of the files that the FTP account's
home directory contains.
Click Cancel to hide the Delete options if you do not wish to delete the account.
cPanel User Documentation
Page 107
Page 108
To view past FTP connections to your site, navigate to cPanel's Raw Access Logs interface (Home
>> Logs >> Raw Access Logs). FTP logs will include ftp_log in the filename. For more information,
read our Raw Access Logs documentation.
FTP Session Control The FTP Session Control interface allows you to view and disconnect FTP
sessions that are currently connected to your account.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Files >> FTP Session Control)
Overview
View current FTP sessions
Disconnect users from an FTP session
Overview
Use the FTP Session Control interface to view general information about who logs in to your FTP
server. You can also use the FTP Session Control interface to terminate FTP connections to your
site.
Note:
Icon
You will only see the FTP Session Control icon if your system administrator enables FTP services on
your server.
Column
Description
Example
User
user
Logged in
From
ns1.example.com
Page 109
Column
Description
Example
Login Time
Status
IDLE
Disconnect
Click Disconnect (
Process ID
The Reload button refreshes the list of FTP sessions. Click Reload to see if any other users have
logged in to your FTP server since you last viewed the list.
Anonymous FTP Controls The Anonymous FTP interface allows you to define how anonymous
users interact with your FTP server.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Files >> Anonymous FTP)
Overview
Controls
Page 110
Welcome message
Overview
The Anonymous FTP interface allows you to define how anonymous users interact with your FTP
server.
Note:
Icon
You will only see the Anonymous FTP icon if your system administrator has enabled FTP
services and anonymous FTP.
Controls
Warning:
Icon
We strongly recommend that you deny anonymous users the ability to upload files to your FTP
server. This setting will prevent malicious software uploads, which can harm your website.
To configure Anonymous FTP Controls, perform the following steps:
1. Select the boxes for any permissions that you wish to allow.
2. Deselect the boxes for any permissions that you wish to deny.
3. Click Save Settings.
When users log in to FTP anonymously, they must format usernames
as anonymous@example.com, where example.com represents the user's domain name. This
formatting requirement directs your server to the correct public_ftp directory. If a user does not
include a domain name, one of the following errors will appear:
If your server uses Pure-FTP as the FTP server, users will receive a 421 Can't change
directory to /var/ftp/ error message.
If your server uses ProFTP as the FTP server, users will receive a 530 Login Authentication
Failed error message.
Welcome message
You can set a message that anonymous FTP users see when they connect to your FTP server.
To save a welcome message, perform the following steps:
1. In the text box, enter the message that you wish visitors to see.
2. Click Save Message.
Page 111
Logs
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs)
The Logs interface provides access to logs and statistics for your websites.
Latest Visitors This feature displays information about the most recent 300 visitors to your site.
Latest Visitors
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Latest Visitors)
Overview
View latest visitor details
Overview
This feature gives detailed information about the last 1,000 visits to your website. This information
helps you get to know your audience and monitor repeat visitors so that you can tailor your website
content to fit their needs. It also helps you locate and fix errors that your visitors encounter.
Detail
Description
Page 112
Detail
Description
IP
Time
Size
URL
Referring URL
Specifies the web address from which your visitor linked to your site.
User Agent
Click the
Option
Description
Status
The HTTP code indicates whether the page loaded successfully or resulted in an error.
Method
Specifies the request-response between the client and server (for example, GET or POST).
Protocol
Specifies the version of HTTP the page served when the visitor accessed the page (for
example, 1.1).
To search for additional records, enter your search criteria into the Search text box.
Bandwidth This feature provides information about the bandwidth that your account uses.
Bandwidth
cPanel User Documentation
Page 113
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Bandwidth)
Overview
The bar graphs
The Today graph
o
o
o
o
Overview
The Bandwidth interface displays bandwidth usage information in several sets of graphs. Each graph
contains information about bandwidth usage over a specific period of time.
The graphs display bandwidth information in six categories:
Page 114
The All category displays in green and provides the combined total of all of the other categories.
The system only records bandwidth for outgoing SMTP messages. The system does not include
incoming messages in bandwidth calculation.
This information allows you to monitor the heaviest traffic times for your website, and helps you
decide whether to purchase additional bandwidth.
Page 115
Larger-scale trends; for example, for example, spikes in traffic at the same time each day for the
past three days.
Changes from the past week, for example, increases or decreases in traffic over a period of two to
seven days.
Use this graph to find long-term trends over an entire year. For example, your account receives a
heavy burst of traffic at mid-month every month.
Page 116
The total amount of data that the system transferred for the month.
When there is a noticeable change in the relationships between services from month to month.
For example, SMTP total bandwidth increased from 5% to 50% in one month, while
HTTP bandwidth decreased.
When there is a change in the bandwidth usage of one domain relative to another.
For example, The domain example1.com accounts for about half of the overall traffic of all sites,
and example2.com accounts for about 25%.
To view the Bandwidth Transfer Detail interface for that month, click a pie chart.
Note
Icon
Click the appropriate usage link next to the monthly pie chart to look up usage information for an
individual website or service. The system will take you to a new interface which displays detailed
monthly traffic information for that particular service and website.
HTTP
SMTP
FTP
POP3
IMAP
Page 117
Page 118
Icon
We recommend that you view the Bandwidth by Day table at least 24-48 hours after the last day of
the period for which you wish to obtain data. This allows the system to gather and process the traffic
data.
Page 119
Logaholic This feature provides access to the Logaholic software. Logaholic is a web analytics
program that delivers information about your website's traffic, keywords, and content. If you do not
have this feature, contact your hosting provider.
Logaholic
Skip to end of metadata
Page 120
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Logaholic)
Overview
Logaholic statistics
Overview
The Logaholic interface allows you to access data from the Logaholic web analytics software, which
provides information about your website's traffic, keywords, and content.
Notes:
Icon
Logaholic statistics
To view Logaholic's statistics for a domain click the View Stats link that corresponds to the domain
that you wish to view. The interface will display the Logaholic software statistics in a new browser
window.
For more information about Logaholic, view the Logaholic Web Analytics website.
Webalizer This feature provides access to the Webalizer software. Webalizer compiles and
analyzes information about your web traffic.
Webalizer
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Webalizer)
Overview
Page 121
Overview
Webalizer is a complex statistical analysis program that produces charts and graphs about your
website.
Hits
Files
Pages
Visits
Sites
Kilobytes
Page 122
Additional information
Webalizer FTP This feature provides access to the Webalizer FTP software. Webalizer FTP
compiles and analyzes information about your FTP server.
Webalizer FTP
cPanel User Documentation
Page 123
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Webalizer)
Overview
Webalizer FTP
Overview
This feature displays your FTP site's statistics.
Webalizer FTP
The interface displays the statistics in bar graphs and divides them into monthly and daily averages.
To use Webalizer FTP, perform the following steps:
1. Select the Click here to view link that corresponds to the domain that you wish to view.
2. Webalizer FTP opens in a new window.
For more information about Webalizer, visit the Webalizer website.
AWStats This feature provides access to the AWStats software. AWStats compiles information
about the way users access your website.
AWStats
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Awstats)
Overview
View AWStats data
Page 124
Overview
The Awstats interface allows you to access data from the Advanced Web Statistics (AWStats)
software, which compiles information about the way users access your website.
AWStats displays the following details about the visitors to your website:
Raw Access Logs This feature allows you to view your access logs, which allows you to see what
content has been accessed on your account.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Raw Access Logs)
Overview
Configure Logs
Download and View Your Raw Access Logs
Archived Raw Logs
Page 125
Overview
Raw access logs are text files that contain information about your website's visitors and the content
on your website that they have accessed. This feature allows you to download a zipped version of
your access log.
Configure Logs
This section allows you to configure cPanel to automatically archive logs and when to automatically
delete them.
Select the Archive logs in your home directory at the end of each stats run box to save archived logs
into the /home directory each time the system processes your website's statistics.
Note:
Icon
The system processes website statistics approximately every 24 hours.
Select the Remove the previous month's archived logs from your home directory at the end of each
month box to remove the previous month's logs at the end of each month.
Domain A list of the domains on your account. To access a domain's raw access log, perform the
following steps:
1. Click the desired link to download that domain's raw access log.
2. The log file will automatically download to your computer.
3. Unzip the file to view it.
Last Update The date of the most recent update to the log file.
Disk Usage The amount of disk space that the log files uses.
Linked Domains A list of the domains that are parked on top of the domain.
Page 126
You can also view the log file through the command line in your /home/username directory. Use
your preferred text editor to open the access-logs file.
Note:
Icon
If you do not have any archived log files, the directory will be empty.
Analog Stats This feature provides access to the Analog Stats software. Analog Stats allows you
to analyze website traffic.
Analog Stats
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Analog Stats)
Overview
View Analog Stats
Overview
The Analog Stats interface allows you to access data from the Analog software. Analog compiles
traffic statistics for your domain, and organizes the data by month so that it is easy to manage and
interpret. The software also presents the data for each month in graphs to show additional
categories.
Page 127
Error Log This feature displays 300 of your website's most recent errors.
Error Log
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Error Log)
Overview
Error Log details
Additional information
Overview
The Error Log displays recent errors that may affect your website. Use this log to find and fix broken
links and misconfigured web applications.
Only error log listings that include /home/user, where user is the username for the account,
appear in the Error Log.
The data includes entries from the /usr/local/apache/logs/suexec_log file and
the /usr/local/apache/logs/error_log file.
The error log contains the most recent 2 MB of each log file.
Access the individual log files to view older entries.
The Apache logs document all of the requests that Apache handles. Tasks that other services
handle may have separate log locations.
Additional information
The server handles the configuration of the log files. Contact your system administrator to change
the level of information in the log files.
For more information about individual error messages and other configuration options, visit
the Apache documentation.
Page 128
Choose Log Programs This feature allows you to choose the statistical analysis programs that
you wish to use.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Logs >> Choose Log Programs)
Overview
Available programs
Overview
Your hosting provider can allow you to choose multiple log programs to record statistics about your
website.
Available programs
You can select any of the following log programs:
Webalizer
Analog Stats
Logaholic
AWStats
1. For each domain on your account, select the checkbox of the stats program(s) that you wish to use.
For example, if you wish to use Analog over other stats programs, select the checkbox
under Analog and leave the others blank.
2. Click Save.
Note:
Icon
This option is only available if your web host enables it. If your web host does not allow you to select
log programs, a lock icon (
) appears.
Note:
Page 129
Icon
If this feature does not allow you to select a log program, contact your hosting provider.
Security
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Security)
The following documents describe the features of the cPanel Security box.
Password Protect Directories This feature allows you to restrict access to certain parts of your
website.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Security >> Password Protect Directories)
Overview
Configure a password for a directory
Change password
Remove password protection
Overview
Use this feature to configure a password that will protect certain directories of your account. If you
enable this feature, a user who tries to open a protected folder will be prompted to enter a username
and password before they can access the content.
Page 130
to
Icon
Any subdirectories located in the directory that you select will also be password protected.
2. Select the Password protect this directory checkbox.
3. Enter the name that you want visitors to see in the Name the protected directory text box.
Note:
Icon
The directory name can be anything, regardless of what the directory itself is named.
4. Click Save.
After you complete this process, you must create a user that can access the directory.
Change password
To change the authorized user's password, perform the following steps:
1. Reenter the user's information in the Create User section.
2. In the Password text box, enter the new password that you wish to save for that user.
3. Click Add/modify the authorized user.
IP Deny Manager This feature can block a single IP address or a range of IP addresses.
IP Deny Manager
Skip to end of metadata
Page 131
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Security >> IP Deny Manager)
Overview
Block an IP address
Current blocked IP addresses
Unblock an IP address
Overview
The IP Deny Manager interface allows you to block access to your site for one or more IP addresses
or fully qualified domain names (FQDNs).
Block an IP address
Note:
Icon
If you enter IP addresses directly in the .htaccess file, enter them in CIDR format only.
To deny access to an IP address or range of IP addresses, perform the following steps:
1. Enter the IP address or range in the IP Address or Domain text box. You can enter IP addresses in
any of the following ways:
Single IP Address (for example, 10.5.3.333).
Range (for example, 10.5.3.3-10.5.3.40).
Implied Range (for example, 10.5.3.3-40).
CIDR Format (for example, 10.5.3.3/32).
Implied IP Address (for example, 10.).
2. Click Add.
Warning:
Icon
10. as an implied IP address implies 10.*.*.*, where each * represents a positive whole number.
If you enter 10., cPanel will now allow IP addresses that begin with 10. to access your site.
Page 132
Unblock an IP address
To remove an IP address from the list of blocked IP addresses, perform the following steps:
1. Click
in the Remove column for the appropriate IP address.
2. Click Yes to confirm.
SSL/TLS Manager This feature allows you to manage SSL/TLS keys, certificates, and signing
requests. These features are intended to make your website more secure.
SSL/TLS Manager
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Security >> SSL/TLS Manager)
Overview
Documents available
SSL certificate creation privileges
Page 133
Overview
The features in this interface allow you to generate and manage SSL certificates, signing requests,
and keys, all of which enhance your website's security. They are useful for websites that regularly
work with sensitive information, such as login credentials and credit card numbers. Encryption
makes it difficult for malicious users to intercept communications between visitors and your website.
Documents available
The following documents provide more information about the sections of this interface:
SSL Certificate Signing Request Generate, view, or delete SSL certificate signing requests.
Icon
To view this interface, your domain must have a dedicated IP address, or your server must support
SNI.
User Type
Privileges
Website owners
Website owners can only create SSL certificates on domains that they own that
are hosted on a dedicated IP address.
Reseller
Resellers can create SSL hosts on any IP address that is dedicated to the
reseller. This IP address cannot be dedicated to an SSL resource.
Reseller
with rootprivileges
The root user, or a reseller with root privileges, can create an SSL certificate
on any available IP address on the server. This IP address cannot be dedicated
to an SSL resource.
Page 134
SSH/Shell Access These features allow you to connect to your server remotely.
SSH/Shell Access
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Security >> SSH/Shell Access)
o
o
o
o
o
Overview
How to SSH with PuTTY
How to SSH with Mac OS X or Linux
Manage SSH keys
Generate a New Key
Import an existing key
Delete a key
View or download a key
Manage a Key's Authorization
Connect with SSHTerm
Connect with Java Telnet Applet
Overview
SSH (secure shell) and Telenet are network protocols that allow you to connect to another computer
(for example, your web server) over the Internet through a command line interface (CLI). You can
use them to remotely manage your server, configure CGI scripts, and perform other tasks.
Many modern operating systems, such as Mac OS X and Linux distributions, include SSH and
Telnet. If you use Microsoft Windows to connect to your server, you will need an SSH client to log
in to your server. Putty is a popular SSH client, and you can download it
from http://www.chiark.greenend.org.uk/~sgtatham/putty/.
Many commands have been standardized on Unix-based operating systems, such as Mac OS or
Linux, . For a list of standardized Unix-based (POSIX) commands, visit http://www.oneserve.com/tools/unix_commands.php or consult your preferred Internet search website.
Note:
Icon
Not all hosting providers allow shell access.
Page 135
Note
Icon
In the above command:
Page 136
Delete a key
To delete a key, perform the following steps:
1. Click Delete next to the key that you wish to delete. A new interface will appear.
2. Click Delete Key to confirm that you wish to delete the key.
Page 137
To convert a private key and save it onto the server, perform the following steps:
1. Enter the key's passphrase into the text box.
2. Click Convert. A new interface will appear.
Note:
Icon
At this point, the system saves the .ppk key file
ias ~/.ssh/putty/$file.ppk (where $file represents the name of the original SSH key).
3. Click Download Key to download the converted key to your computer.
Page 138
Notes
Icon
You cannot use keys as an authentication method for Java Telnet Applet. You must use a
username and password.
To learn more about Telnet and your operating system's commands, consult your preferred Internet
search engine.
HotLink Protection These features allow you to prevent the theft of bandwidth by other websites.
HotLink Protection
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Security >> HotLink Protection)
Page 139
Overview
Enable hotlink protection
Disable hotlink protection
Overview
A hotlink occurs when someone embeds content from your site in another site and uses your
bandwidth to serve the files. You can use this interface to prevent this issue.
Notes:
Icon
When you disable hotlinks, make certain that you allow hotlinks for any necessary domains (for
example, your website's subdomains and the URL that you use to access your cPanel account).
If the URL that you use to access your cPanel account is excluded from the URLs to allow
access list, you may not see embedded images in the HTML Editor in the File Managerinterface
(Home >> Files >> File Manager).
Page 140
When you click Disable, cPanel deletes the entries in the URLs to allow access list. Before you
disable hotlink protection, we recommend that you save the list locally.
Leech Protect These features allow you to deny users the ability to share passwords publicly.
Leech Protect
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Security >> Leech Protect)
Overview
Enable leech protection
Disable leech protection
Manage users
Overview
Leeching occurs when users publicly post their username and password to a restricted area of your
site, which allows other visitors to use the login information. You can configure cPanel to redirect or
suspend the leeched user. The protection function sets the maximum number of logins that can
occur within a two-hour period. If the account exceeds the login limit, the system presumes that the
user has allowed other visitors to use their login information.
Page 141
6. Click Enable.
Manage users
To add, etc, and delete users, click Manage Users to go to the Password Protect
Directories interface
Note
Icon
If you wish to manage the users manually, you can edit
the /home/USERNAME/.htpasswds/public_html/passwd file, where USERNAME represents the
account name.
GnuPG Keys These features allow create and manage GnuPG keys, which use the public key
approach to encryption.
GnuPG Keys
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Security >> GnuPG Keys)
Overview
Create a New Key
Import Key
Delete or view keys
Overview
GnuPG keys use the public key approach to encryption. Servers that use GnuPG keys encrypt
outbound messages with a public key. Only the intended recipient, who has the private key, can
decrypt the message.
Page 142
Use a secure password. A secure password is not a dictionary word and contains uppercase and
lowercase letters, numbers, and symbols.
Use an appropriate expiration date for your key. One year is the default.
2. Select the key size from the Key Size menu.
3. Click Generate Key.
Import Key
To import an existing GnuPG key, perform the following steps:
1. Copy and paste the key into the available text box.
2. Click Import.
The system will automatically install the key.
Domains
Skip to end of metadata
Page 143
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Domains)
The following documents describe the interfaces in the cPanel Domains section.
Subdomains The Subdomains interface allows you to create and manage subdomains.
Subdomains prefix to your domain name and point to a subdirectory within
your public_htmldirectory.
Subdomains
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Domains >> Subdomains)
o
o
o
Overview
Create a subdomain
Search subdomains
Modify a subdomain
Modify the document root for a subdomain
Enable or disable subdomain redirection
Remove a subdomain
Overview
A subdomain is a subsection of your website that exists as a subdirectory in
your public_html (Document Root) directory. Subdomains use a prefix in conjunction with the
domain name. For example, if the registered domain name is example.com, the subdomain will
be prefix.example.com.
It is important to remember that it takes time for the subdomain to become recognized by other
computers on the web. Visitors will not be able to view your subdomain immediately; the process
takes anywhere from two days to a week.
You can use subdomains to create unique user accounts for vanity domains. This is helpful if, for
example, you have a blog, or any other type of website that uses a domain specifically titled for a
user.
Page 144
Create a subdomain
To create a subdomain, perform the following steps:
1. Enter the desired prefix in the Subdomain text box.
2. Select the desired main domain from the menu.
3. Enter the home directory for the subdomain in the Document Root text box.
This directory will be where files that pertain to the subdomain will be placed.
4. Click Create.
Warning:
Icon
Due to the order in which Apache processes its configuration file, wildcard subdomains may disrupt
the functionality of proxy subdomains. We strongly recommend that you use wildcard subdomains
only when absolutely necessary, or when you do not need to use proxy subdomains.
To open the subdomains main directory with the File Manager, click the link under Document
Root that corresponds to the subdomain that you want to view in the File Manager.
Search subdomains
To search through existing domains, perform the following steps:
1. Enter the search criteria into the Search text box.
2. Click Go.
Results that match your search criteria will populate the list.
Modify a subdomain
Modify the document root for a subdomain
To modify the document root for a subdomain, perform the following steps:
1. Click the notepad icon that corresponds to the subdomain that you want to manage.
2. Enter the new file path that you want to use as the document root in the available text text box.
3. Click Change.
Page 145
2. If you wish to redirect the subdomain, enter the link to which you want to redirect the subdomain in
the available text text box.
3. Click Save.
4. To disable the redirect, click Disable Redirection.
Remove a subdomain
To remove an existing subdomain, perform the following steps:
1. Click the Remove link that corresponds to the subdomain that you want to remove.
2. Click Yes to confirm that you want to remove the subdomain.
3. To keep the subdomain, click No.
Addon Domains The Addon Domains interface allows you to create and manage addon domains.
Some hosts do not allow cPanel users to have addon domains.
Addon Domains
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Domains >> Addon Domains)
o
o
o
Overview
Create an addon domain
Modify Addon Domain
Modify the document root for an addon domain
Enable or disable addon domain redirection
Remove an addon domain
Email accounts in addon domains
Search addon domains
Addon vs. parked domains
Overview
An addon domain allows a new domain name to link to a subdirectory of your account. The system
stores the addon domains files in a subdirectory of your public_html (Document Root) directory.
Addon domains allow you to control multiple domains from a single account. Your hosting provider
Page 146
can enable addon domains in WHM's Tweak Settings interface (Home >> Server Configuration >>
Tweak Settings).
Note:
Icon
You can find web statistics for the addon domain under the subdomain's URL in the statistics
application.
Page 147
If you add the domain back to the same account as the primary domain, an addon domain, or a
parked domain, the email accounts will reappear in the cPanel interface.
If you move the domain to a different account, you must move the email accounts and the contents
of the email accounts to the new account manually. The email accounts must follow the same name
and same domain format that they previously followed.
You can use the cPanel interface to add new accounts, or you can run the /scripts/addpop script
to manually add new email accounts.
cPanel User Documentation
Page 148
To move one email account under a domain, run the following command:
mv /home/old_account/mail/domain_name/email_account /home/new_account/mail/domain_name/
After you move the files, change the ownership of the new account with the following command:
chown -R new_account:new_account /home/new_account/mail/domain_name
Note:
Icon
Verify ownership of the email account after you move it.
Addon
domains
Parked
domains
Yes
No
VirtualHost
ServerAlias
Yes
No
Yes
No
Yes
No
Page 149
Characteristic
Addon
domains
Parked
domains
No
Yes
URL).
This type of domain is ideal for multiple domains that share the
same address.
Parked Domains The Parked Domains interface allows you to create and manage parked
domains. Parked domains allow you to redirect website visitors to another domain.
Parked Domains
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Domains >> Parked Domains)
Overview
Create a New Parked Domain
Enable or disable parked domain redirection
Remove Parked Domains
Search parked domains
Email accounts in parked domains
Addon vs. parked domains
Overview
Parked domains are domains that you own but that do not contain any content. You can use parked
domains to hold a domain that is for sale or redirect traffic to another domain.
Page 150
Page 151
If you add the domain back to the same account as the primary domain, an addon domain, or a
parked domain, the email accounts will reappear in the cPanel interface.
If you move the domain to a different account, you must add the email accounts manually and move
the contents of the email accounts manually. The email accounts must follow the same name and
same domain format that they previously followed.
These email accounts will also appear in the Email Accounts interface if you change the accounts
primary domain name to the unparked domain name. You can perform this action in WHMsModify
an Account interface (Home >> Account Functions >> Modify an Account). When you perform this
action, the former primary domain names mailboxes will not appear in the Email Accounts interface.
However, the files will still exist.
You can add new accounts with the Email Accounts interface (Home >> Mail >> Email Accounts), or
you can run the /scripts/addpop script to manually add new email accounts.
To move one email account under a domain, run the following command:
mv /home/old_account/mail/domain_name/email_account /home/new_account/mail/domain_name/
After you move the files, change the new account's ownership with the following command:
chown -R new_account:new_account /home/new_account/mail/domain_name
Note:
Icon
Verify ownership of the email account after you move it.
Addon
domains
Parked
domains
Page 152
Characteristic
Addon
domains
Parked
domains
Yes
No
VirtualHost
ServerAlias
Yes
No
Yes
No
Yes
No
This type of domain is ideal for multiple domains that share the
same address.
No
Yes
Redirects The Redirects interface allows you to create and manage domain redirection.
Redirects
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Domains >> Redirects)
Overview
Add a redirect
Remove a redirect
Search your redirects
Page 153
Overview
The Redirect feature allows you to send all of the users that access a domain or particular page to a
different URL.
For example, if you have a long URL that you can not shorten, you can use the Redirect feature to
add a redirect from a short URL to the long URL. Users can then access the content of the long URL
via the short URL.
Add a redirect
To add a redirect, perform the following actions:
1. Select a redirect type from the Type menu.
The Permanent 301 option will notify the visitors browser to update its records.
The Temporary 302 option will not update the visitors bookmarks.
2. Select **All Public Domains** or a domain name from the menu.
Use the **All Public Domains** option to redirect all of the domains that your cPanel accounts
control.
3. In the text box to the right of the domain selection menu, enter the rest of the URL that you want the
server to redirect.
4. In the redirects to text box, enter the URL to which you wish to redirect users.
Important:
Icon
You must specify a protocol in this text box. For example, http://, https://, or ftp://.
5. Select one of the following options:
The Only redirect with www option will only redirect users who enter www in front of the page name.
The Redirect with or without www. option will redirect all users regardless of whether the www. prefix
is included with the URL.
The Do Not Redirect www. option will not redirect users who enter www. with the URL.
6. Select the Wild Card Redirect option if you wish to redirect all files within a directory to the same
filename in the new directory.
For example, if you enable the Wild Card Redirect option and example1.com redirects
to example.com, then a visitor who tries to access the http://example1.com/pic.jpg URL will
redirect to the http://example.com/pic.jpg URL.
7. Click Add.
To test the redirect, click the link under Directory in the Current Redirects table. This will take you to
the original domain, which should be redirected, if it is properly configured.
Important
Page 154
Icon
You cannot edit a redirect. To modify a redirect, you must delete and then recreate it.
Remove a redirect
To remove a redirect, perform the following steps:
1. Click the
button that corresponds to the redirect that you want to remove.
2. To confirm that you want to remove the redirect, click Yes.
To keep the redirect, click No.
Simple DNS Zone Editor The Simple DNS Zone Editor allows you to add and remove A and
CNAME DNS records.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Domains >> Simple DNS Zone Editor)
Overview
Add an A record
Add a CNAME record
Delete a record
Page 155
Overview
DNS is the component of the Internet that converts human-readable domain names (for
example, example.com) into computer-readable IP addresses (for example, 192.0.32.10). DNS
uses DNS zone files that reside on your server to link domain names to IP addresses.
There are several different types of records in a domain's zone file. This feature allows you to create
and delete A and CNAME records.
Note:
Icon
You cannot set a record's time to live (TTL) in this interface. cPanel will use the TTL that your
webhost has specified.
Add an A record
An A record is a DNS record that maps hostnames to IP addresses. A records are essential
because they allow DNS servers to identify and locate your website and its various services on the
Internet. Without appropriate A records, your visitors will not be able to access your website, FTP
servers, or email accounts.
To add an A record, perform the following steps:
1. If this account owns more than one domain, select the domain that you wish to manage from the
menu.
2. Enter the Name and Address of the A record.
3. Click Add A Record.
Important
Icon
cPanel will configure your DNS records so that visitors can resolve your website and its services (for
example, FTP and Email). You should only add A records when you add a service that cPanel or
your web host do not provide.
Page 156
Delete a record
To delete an A or CNAME record, perform the following steps:
1. If this account owns more than one domain, select the domain that you wish to manage from the
menu.
2. Click the Delete link that is next to the record that you wish to remove.
3. Click Delete to confirm that you wish to delete the record.
Advanced DNS Zone Editor The Advanced DNS Zone Editor allows you to add, edit, and remove
A, CNAME, and TXT DNS records.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Domains >> Advanced DNS Zone Editor)
Overview
Reset zone files
Add a Record
Edit a record
Delete a record
Overview
DNS is the component of the Internet that converts human-readable domain names (for
example, example.com) into computer-readable IP addresses (for example, 192.0.32.10). DNS
does this through DNS zone files that reside on your server and link domain names to IP addresses.
There are several different types of records in a domain's zone file. This feature allows you to create,
edit, and delete A, CNAME, and TXT records.
Page 157
Icon
This feature erases any modifications that you make to your zone records, either with this feature or
with the Simple DNS Zone Editor (Home >> Domains >> Simple DNS Zone Editor). It attempts to
save .txt entries. Before you use this feature, be sure to write down any changes that you wish to
save.
To reset your DNS zone files to the defaults, perform the following steps:
1. Click more.
2. Select the Are you sure you want to erase all entries and revert to the default state? checkbox.
3. Click Reset Zone File.
Add a Record
Page 158
The system will configure your DNS records so that visitors can resolve your website and its
services (for example, FTP and email). You should only add A records when you add a service that
cPanel or your web host does not provide.
CNAME record stands for "canonical name record." This record creates an alias, which allows a
server to continue the DNS lookup under the new name.
A TXT record is a text record that contains certain information that querying servers will read. These
records can carry useful data for the SPF or DKIM email authentication systems.
5. Enter the Address, CNAME, or TXT Data of the record.
6. Click Add A Record.
Edit a record
Page 159
Delete a record
To delete a record, perform the following steps:
1. If this account owns more than one domain, select the domain that you wish to manage from the
menu.
2. Click Delete next to the record that you wish to remove.
3. Click Delete to confirm that you wish to delete the record.
Databases
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Databases)
The following documents describe the features in cPanel's Databases section. Databases offer a
method by which you can manage large amounts of information easily over the web. They are
necessary to run many web-based applications (for example, bulletin boards, content
management systems, and online retail shops).
MySQL Databases This interface allows you to manage your MySQL databases
and MySQL database users.
MySQL Databases
Skip to end of metadata
Go to start of metadata
Page 160
Overview
Create a New Database
Modify Databases
o Check a database
o Repair a database
Current Databases
o Search databases
o Modify a user's privileges
o Remove a user from a database
o Rename a database
o Delete a database
Create a MySQL user
Add a user to a database
Current Users
o Set Password
o Rename
o Delete
Overview
This interface allows you to create, manage, and delete MySQL databases and database users.
Note:
Icon
To perform these functions, some cPanel users may prefer to use the streamlined MySQL
Database Wizard interface (Home >> Databases >> MySQL Database Wizard).
The maximum length of the database name is 64 characters. If you enable database
prefixing, this length includes the database prefix and underscore character.
Page 161
Note
Icon
To enter information in a database, use the phpMyAdmin interface (Home >> Databases >>
phpMyAdmin).
Modify Databases
Check a database
If you experience problems with a database on your server, check your databases for errors.
To check a database for errors, perform the following steps:
1. In the Check DB menu, select the database that you wish to check.
2. Click Check DB.
3. cPanel will run a script that checks to make sure the database is functional.
o If cPanel detects a problem in the database, it displays the name of the corrupt table.
o If the Check Complete message displays, that database is functional.
Repair a database
Note:
Icon
This will only attempt to repair the database. The repair may not succeed. If it does not, cPanel
will attempt to help you locate the source of the corrupt data.
Page 162
Current Databases
This table contains a list of databases on your server.
For each database, the table displays the following information:
Search databases
To modify a users privileges for database management, perform the following steps:
1. Click the users name in the row that corresponds to the database for which you wish to modify
privileges. The MySQL Account Maintenance interface will appear.
2. Select the checkboxes that correspond to the privileges that you wish to grant to the user.
Deselect any privileges that you do not wish to grant to the user.
3. Click Make Changes.
Remove a user from a database
When you remove a user from a database, you also remove the user's privileges for that database.
To remove a user from a specific database, perform the following steps:
1. In the Privileged Users column, click the
icon next to the name of the user in the row that
corresponds to the database.
2. If you are sure that you wish to remove the user from the database, click Revoke User Privileges.
Rename a database
Warning:
Icon
Page 163
If you rename a database, it will terminate all active connections to the database.
You must manually update configuration files and applications to use the new database name.
The system requires more time to rename larger and more complex databases.
The maximum length of the database name is 64 characters. If you enable database
prefixing, this length includes the database prefix and underscore character.
2. Enter the new database name in the New name text box
3. Click Proceed.
How cPanel renames a MySQL database
MySQL does not natively allow you to rename a database. When cPanel & WHM "renames" a database,
the system performs the following steps:
1.
2.
3.
4.
Warning:
Icon
If any of the first three steps fail, the system will return an error and attempt to restore the
database's original state. If the restoration process fails, the API calls error response will also
describe these additional failures.
In rare cases, the system creates the second database successfully, but fails to delete the old
database or grants. The system treats this as a success; however, the API call will return
warnings that describe the failure to delete the old database or grants.
Delete a database
Page 164
You must create MySQL user accounts separately from mail and web administrator accounts.
2. Enter and confirm the new password in the appropriate text boxes.
Notes:
Icon
o
o
o
The system grades the password that you enter on a scale of 100 points. 0 indicates a
weak password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength
meter indicates that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read
our Password Generator documentation.
Warning:
Icon
Page 165
4. Select the checkboxes that correspond to the privileges that you wish to grant to the user.
Note:
Icon
To grant all of the available privileges to the user, select the ALL PRIVILEGES
checkbox.
5. Click Make Changes.
Current Users
The Current Users table lists all of your MySQL users. Use the functions in this table to change
user passwords, rename users, and delete users.
Set Password
2. Enter and confirm the new password in the appropriate text boxes.
Notes:
Icon
o
o
o
The system grades the password that you enter on a scale of 100 points. 0 indicates a
weak password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength
meter indicates that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read
our Password Generator documentation.
Warning:
Icon
Page 166
Rename
To change the name for a MySQL user, perform the following steps:
1. Click the Rename icon in the row that corresponds to the user that you wish to change.
The maximum length of the database username is 64 characters. If you enable database
prefixing, this length includes the database prefix and underscore character.
3. Click Change Username.
Delete
MySQL Database Wizard This wizard provides steps to set up a MySQL database, as
well as the requisite accounts and privileges.
Go to start of metadata
Overview
Set up a database
Page 167
Overview
This wizard guides you through the setup of a MySQL database, MySQL user accounts, and
user privileges.
Set up a database
To set up a database with the MySQL Database Wizard, perform the following steps:
1. In the New Database text box, enter a name for the database.
Note
Icon
4. Enter and confirm the new password in the appropriate text boxes.
Notes:
Icon
o
o
o
The system grades the password that you enter on a scale of 100 points. 0 indicates a
weak password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength
meter indicates that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read
our Password Generator documentation.
Warning:
Icon
Page 168
o
o
o
Add another database Returns to the start of the MySQL Database Wizard.
Add another user using the MySQL Databases Area Opens the MySQL Databases
interface ( Home >> Databases >> MySQL Databases ).
Return to Home You will return to the cPanel Home interface (Home).
Note:
Icon
When you use the MySQL Database Wizard interface to add a user and a database, cPanel
automatically grants the user access to the database. There is no need to use the Add User to
Database feature in the MySQL Databases interface (Home >> Databases >> MySQL
Databases).
PostgreSQL Databases
Skip to end of metadata
Go to start of metadata
Overview
Create a database
Create a database user
Current Databases
o Search databases
o Change a database's name
o Remove a user from a database
o Delete a database
Define a user's privileges
Current Users
Page 169
o
o
o
Overview
Databases allow you to manage large amounts of information easily over the web. They are
necessary to run many web-based applications such as bulletin boards, content management
systems, and online retail shops.
Notes:
Icon
Some users may prefer the PostgreSQL Database Wizard interface (Home >> Databases >>
PostgreSQL Database Wizard), which allows you to create PostgreSQL databases and users in
one process. You can also create databases, add users, and link users to databases with this
interface.
The maximum length of a database name is 63 characters. If you enable database prefixing, this
length includes the database prefix and underscore character ( _ ).
To allow you to enter new information in a PostgreSQL database, cPanel includes
a phpPgAdmin client. For more information about phpPgAdmin, visit the phpPgAdmin website.
Create a database
To create a PostgreSQL database, perform the following steps:
1. In the Database Name text box, enter a name for the database.
2. Click Create Database. The new database will appear in the Current Databases table.
Warning:
Icon
Some versions of PostgreSQL are ANSI SQL-92 compliant and do not support recursive grants,
wildcard grants, or future grants. To allow multiple users to access your PostgreSQL tables, click
Synchronize Grants after you add a table.
Page 170
You must create PostgreSQL user accounts separately from mail and web administrator
accounts.
To create a new user account, perform the following steps:
1. Under the PostgreSQL Users section of the interface, enter a username in the Username
text box.
2. Enter and confirm the new password in the appropriate text boxes.
Notes:
Icon
o
o
o
The system grades the password that you enter on a scale of 100 points. 0 indicates a
weak password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength
meter indicates that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read
our Password Generator documentation.
Warning:
Icon
Current Databases
The Current Databases table contains a list of all of the PostgreSQL databases on your server.
For each database, the table displays the following information:
Search databases
To search for a specific database in the Current Databases table, enter your criteria in the Search
text box and click Go. The table will display the search results.
Page 171
Warnings
Icon
If you rename a database, this will terminate all active connections to the database. You must
manually update configuration files and applications to use the new database name.
The system requires more time to rename larger and more complex databases.
Page 172
Current Users
Change a PostgreSQL user's name
2. Enter the new username for the account in the New Username text box.
3. Click Change Username.
Warning
Icon
If you rename a PostgreSQL user, the Change Password interface will automatically appear to
allow you to reset the password for the database user. The md5 hash that PostgreSQL creates to
store user passwords requires this step.
Change a PostgreSQL user's password
2. Enter and confirm the new password in the appropriate text boxes.
Notes:
Icon
o
o
o
The system grades the password that you enter on a scale of 100 points. 0 indicates a
weak password, while 100 indicates a very secure password.
Some web hosts require a minimum password strength. A green password Strength
meter indicates that you met the required password strength.
Click Password Generator to generate a strong password. For more information, read
our Password Generator documentation.
Warning:
Icon
Page 173
Go to start of metadata
Overview
Set up a database
Additional options
Overview
This wizard guides you through the set up up of a PostgreSQL database, as well as the creation
of a user account for that database.
Set up a database
To set up a database, perform the following steps:
1. In the New Database text box, enter a name for the database.
Note:
Icon
Page 174
3. In the Username text box, enter a name for the user who you wish to allow to manage the
database.
Note:
Icon
The system grades the password that you enter on a scale of 100 points. 0 indicates a
weak password, while 100 indicates a very secure password.
o Some web hosts require a minimum password strength. A green password Strength
meter indicates that you met the required password strength.
o Click Password Generator to generate a strong password. For more information, read
our Password Generator documentation.
5. Click Create User.
6. Review the User and Database names and click Submit.
cPanel will display a message that states that the database and user account were set up
successfully.
Additional options
After you complete the database setup process, select one of the following options:
Add another database Returns to the start of the PostgreSQL Database Wizard. Select this
option if you want to add more databases.
Add another user using the PostgreSQL Databases Area Opens the PostgreSQL
Databases interface (Home >> Databases >> PostgreSQL Databases), which you can
use to create additional user accounts and assign them to a database.
Note:
Icon
Page 175
When you use the PostgreSQL Database Wizard to add a user and database, the user is
automatically given access to the database. There is no need to use the Add User to
Database feature in the PostgreSQL Databases interface for that user.
Remote MySQL This interface allows you to configure the ability of other web
servers to access your databases remotely.
Remote MySQL
Skip to end of metadata
Go to start of metadata
Overview
Allow a remote server to access your databases
Deny a remote server access to your databases
Overview
Other web servers can remotely access databases in cPanel. This can be useful if you want to
allow applications like shopping carts or guestbooks on your other servers to access your
databases.
cPanel User Documentation
Page 176
Software/Services
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Software/Services)
The following documents describe cPanel's Software and Services features.
CGI Center Common Gateway Interface (CGI) allows a web server to run pieces of
software called scripts. The CGI Center interface provides CGI scripts that you can use to
set up a guestbook, clock, hit counter, countdown clock, and banner ads.
CGI Center
Skip to end of metadata
Go to start of metadata
Page 177
Overview
Simple CGI wrapper
Random HTML Generator
Simple Guestbook
Advanced Guestbook
Counter (Add a Counter, Clock, or Date)
Clock
Countdown
CGI Email
FormMail Clone
Entropy Search
Entropy Banners
o How to upload banners
o How to control a banner's schedule
o How to add rotating banners to a web age
Overview
CGI (Common Gateway Interface) allows you to run scripts. cPanels CGI Center provides a list
of CGI scripts that display and manage guestbooks, clocks, hit counters, and banner ads.
Notes:
Icon
Every CGI script has unique configuration needs; be sure to consult the scripts installation
instructions. For example, you may need to define URLs and variables. Use the cPanel File
Manager interface (Home >> File >> File Manager) or a text editor in the command line interface
(CLI). To use the CLI, you will need SSH access to the web server as well as a command line text
editor.
Page 178
If your hosting provider uses suEXEC to run CGI scripts, the Simple CGI Wrapper will be
unnecessary. Contact your hosting provider to determine whether suEXEC is available.
2. In the text box, enter the text that you would like to display. Use line breaks to separate
each line of text. For example:
This is a funny quote.
This is another funny quote.
This is a third funny quote.
3. Click Save.
4. Paste the text into the HTML file where you want a randomly-selected line of text to
appear. The code will appear similar to the following:
<!--#include virtual="/cgi-sys/randhtml.cgi?username"-->
Each time that a visitor views the web page, they will see a randomly-selected line from the list
that you entered in the Random HTML Generator.
Warning:
Icon
Simple Guestbook
The Guestbook script allows visitors to leave comments about your website. To add a Guestbook,
copy and paste the HTML code at the bottom of the interface into your web page.
Click View Guestbook to view the Guestbook. To delete entries from the Guestbook or email a
guest, click Manage Guestbook.
To edit the appearance of the Guestbook, perform the following steps:
Page 179
1. Click Guestbook.
2. Click Edit Guestbook Template feature.
You will need to be familiar with HTML to edit the template. Consult your preferred
search engine for tutorials and information about HTML.
4. Click Save.
Advanced Guestbook
Note:
Icon
Advanced Guestbook is now available as a cPAddon (Home >> Software/Services >> Site
Software ). If Advanced Guestbook is not available for your web site, contact your hosting
provider.
The Advanced Guestbook allows visitors to leave comments and greetings. You can configure it
to allow visitors to add photos and preview their entries.
To configure the Advanced Guestbook, perform the following steps:
1. Click Advanced Guestbook.
2. Read the License Terms before you continue.
Page 180
This will ensure that your web server does not confuse guestbook entries with other
information on your website.
9. From the MySQL DB menu, select the database where you would like to save information about
guestbook visitors (for example, their names, email addresses, and websites).
o You can select a database that already exists or select Create New Database to create a
new database.
10. Click Install.
In the Counter Name text box, enter the name that you wish to use to save the configuration.
To preview the counter, clock, or date display, click Preview.
Click HTML to generate the HTML code that displays the counter, clock, or date.
Copy the text that begins with <img src= and ends with >
Paste the text into the HTML file where you want the counter, clock, or date to appear.
o If you wish to change the name of the script, enter the new name in the Counter Name
text box and click Commit Changes.
o To reset the count, enter a number in the New Count text box and click Commit
Changes.
Clock
This script displays a clock on your website.
To create a clock, perform the following steps:
1.
2.
3.
4.
5.
Click Clock.
Configure the appearance of the counter, clock, or date display as desired.
Click Create HTML to generate the HTML code that displays the clock.
Copy the text that begins with <applet and ends with </applet>
Paste the text into the web page where you want the clock to appear.
Countdown
This script displays a countdown clock on your website to show visitors how much time is left
until a certain event.
To add a countdown clock, perform the following steps:
Page 181
1. Click Countdown.
2. From the Select your TimeZone menu, choose the correct zone.
o For example, if you want your website to display Eastern Standard Time (U.S.), then
select GMT-0500.
3. Choose the year, month, day, and hour of the event to which you want to count down.
4. Click Create HTML to preview the countdown clock. The HTML code that creates the countdown
clock will appear.
5. Copy the text that begins with <applet> and ends with </applet>
6. Paste the text into the HTML file where you want the clock to appear.
CGI Email
Warning:
Icon
If CGI Email is not available for your web site, contact your hosting provider.
The CGI Email script allows visitors to email comments to you.
CGI email requires a number of steps to set up, and it can be complex to configure. Click cgimail
user guide for help to set up a CGI email form. You can also view the documentation at the CGI
Email site.
FormMail Clone
The FormMail Clone script allows visitors to send email messages through a customizable form
on your website.
Warning:
Icon
If FormMail Clone is not available for your web site, contact your hosting provider.
To use FormMail Clone, perform the following steps:
1. Click FormMail Clone.
2. Copy the text that appears after The actual script is here.
3. Paste this text into the HTML file, in a <form action> tag.
To learn more about setting up FormMail, view the documentation for FormMail.
Page 182
Entropy Search
Entropy Search allows visitors to find information on your website quickly.
To use Entropy Search, perform the following steps:
1. Click Entropy Search.
2. Copy the text that begins with <form> and ends with </form>.
This sets up an internal list of your websites contents to allow searches. Click this link
whenever you add new pages to your website.
o The larger your website, the longer the Rebuild Search Index link will take.
4. Paste the text into the HTML file where you want the search box to appear.
Note:
Icon
Entropy Search only searches static files. It does not work with dynamic files, such as PHPgenerated files.
If you are comfortable with HTML and wish to change the appearance of the results web page
that visitors will see, perform the following steps:
1. Click Edit Search Results Template.
2. Customize the background color, add a background image, and edit the title of the results web
page as desired.
3. Click Save.
Entropy Banners
Entropy Banners allow you to manage a rotation schedule for banner advertisements. This is
useful if you would like your visitors to see different logos or advertisements each time that they
access your site.
To set up Entropy Banners, you must add banners to your site's banner pool, configure the
display schedule, and add the banner code to a web page.
Page 183
To add banners to your site's banner pool, perform the following steps:
1. Click Entropy Banners.
2. Click Add Banners.
3. Click Choose File and select the image to upload from your computer.
o Repeat this process for each banner that you wish to add. You may upload a maximum
of 12 images at a time.
4. If you wish to replace an existing banner, select the Overwrite existing files checkbox.
o This will replace older ads with newer ones, as long as they have the same filename.
5. Click Upload.
How to control a banner's schedule
Warning:
Icon
Site Software The Site Software interface allows you to add useful software to your
website. Your web host controls which software is available.
Site Software
cPanel User Documentation
Page 184
Go to start of metadata
Overview
How to manage cPAddons
Related documentation
Overview
The Site Software interface allows you to add, manage, upgrade, and remove cPAddons (cPanel
Addons), which are software packages that add useful functions to your website. cPAddons are
available to help you run blogs, bulletin boards, ecommerce, guest books, and other services.
Note
Icon
Your hosting provider controls which cPAddons are available. If you need an additional
cPAddon for your website, contact your hosting provider.
A link to the creator's website, where you can learn more about the cPAddon.
License terms
Configuration information, such as an admin username, admin password, installation location,
and other settings.
Additional links are available to install, upgrade, and uninstall the cPAddon.
Warning:
Icon
Page 185
Most cPAddons were created by third-party software developers, not cPanel. For assistance with
a cPAddon, contact your hosting provider or the software developer.
Related documentation
How to use Wordpress with cPanel
Perl Modules The Perl Modules interface allows you to add and manage Perl modules.
Perl Modules
Skip to end of metadata
Go to start of metadata
Overview
View available Perl modules
Search available Perl modules
Install a Perl modules
The Installed Perl Module(s) table
System modules
Overview
Perl modules are software components that are written in the Perl language. The Perl Modules
interface allows you to search for and add Perl modules from the CPAN repository to your
website.
Page 186
If you believe that a Perl module is out-of-date, cPanel can update it for you. To update a Perl
module, click Update.
If you believe that an installed Perl module has become corrupted or lost, you can reinstall it. To
do this, click Reinstall.
To uninstall a Perl module, click Uninstall.
To view the Perl module creators documentation, click Show Docs.
System modules
cPanel includes specific pre-installed Perl modules. To see a list pre-installed Perl modules, click
Show System Installed Modules.
Click Show Docs to view the documentation for an installed module.
PHP PEAR Packages The PHP PEAR Packages interface allows you to add and
manage PHP packages.
Page 187
Go to start of metadata
Overview
Install a PEAR package
o View available PEAR packages
o Search for a PEAR package
o Enter the name of a PEAR package
Installed PHP modules
System modules
Overview
PHP PEAR packages are software components that are written in the PHP language. The PHP
PEAR Packages interface allows you to search for and add PEAR packages to your website, or
view all of your website's available PHP packages.
To view all of the PEAR packages that are available for you to install for your website, perform
the following steps:
1. Click Show Available PHP Extension(s) and Application(s).
2. Click Install for the PEAR package that you wish to install.
Search for a PEAR package
If you do not know the name of the PEAR package that you wish to install, you can search for a
PEAR package based on a topic or keyword.
To do this, perform the following steps:
1. Enter the keyword in the Search text box and click Go.
2. Click Install for the PEAR package that you wish to install.
Enter the name of a PEAR package
If you already know the name of the PEAR package that you wish to install, perform the
following steps:
cPanel User Documentation
Page 188
1. Enter the name of the PEAR package in the text box under Install a PHP Extensions and
Applications Package.
2. Click Install Now.
System modules
cPanel includes specific pre-installed PEAR packages. To see a list of pre-installed PEAR
packages, click Show System Installed Modules.
Warning:
Icon
PHP Configuration The PHP Configuration interface allows you to view specific
information about your server's PHP configuration.
PHP Configuration
Skip to end of metadata
Go to start of metadata
Overview
PHP directives
Page 189
Overview
If you encounter problems with the way that your server handles PHP packages, you may wish to
view information about the PHP configuration. Use the PHP Configuration interface to display
some of the most commonly referenced configuration options.
Note:
Icon
You cannot change your server's PHP configuration with the PHP Configuration interface. To
change your server's PHP configuration, contact your web host.
PHP directives
The following table contains a brief description of each directive in the PHP Configuration
interface.
Directive
Description
asp_tags
Specifies whether your server allows PHP code to include the <% and %> tags
instead of the standard <?php and ?> tags. If you turn this option off, a PHP
script with ASP tags will not work properly.
file_uploads
Specifies whether your server allows PHP scripts to receive files via HTTP.
include_path
The number of seconds that your web server allows a PHP script to run before
max_execution_time it terminates the script. This limit ensures that poorly written scripts will not
slow down your server.
max_input_time
The number of seconds that your web server allows a PHP script to process
information input to it, such as file uploads. This limit ensures that overloaded
scripts will not slow down your server.
memory_limit
The maximum number of bytes of memory that a PHP script can use. This limit
ensures that poorly written scripts will not occupy your server's memory.
When this value is set to -1, there is no memory limit.
Page 190
Directive
Description
If a PHP script requires that you set this value to On, your site could
become insecure.
Warnings:
register_globals
Icon
This feature ensures that the user who runs the PHP script has
permission to perform all of the tasks for which the script is written. For
example, if the script is designed to change a file, the user will need the
correct permissions to modify the file.
safe_mode
Warning:
Icon
When a visitor accesses your website, the web server issues a unique
user ID. The web server uses the user ID to store information about the
user's session, or time spent on your website. The
session.save_path directive describes where that information is
stored. PHP allows you to make web content specific to a given visitor
and session.
Notes:
session.save_path
Icon
Page 191
Optimize Website
Skip to end of metadata
Go to start of metadata
Overview
How to manage compression
Additional information
Overview
This feature allows you to automatically compress specified types of content when visitors
access that content.
Note:
Icon
Your system administrator must enable mod_deflate for the Optimize Website interface to
appear in cPanel.
Page 192
Note:
Icon
Image file formats are already compressed. Do not include any image file formats in the list.
Additional information
For more information about the software module that handles website content compression, you
will need to know the version of the Apache web server software that your server runs. You can
find this information on the main cPanel Home interface in the Stats sidebar.
Note
Icon
cPanel saves your settings to a .htaccess file in your home directory. You can customize these
settings with the Apache FileMatch directive.
Important:
Page 193
Icon
Your system administrator must enable Apache's mod_deflate module for the Optimize
Website interface to appear in the cPanel interface.
Ruby on Rails The Ruby on Rails interface allows you to create and deploy a Ruby on
Rails application.
Ruby on Rails
Skip to end of metadata
Go to start of metadata
Overview
How to create a Ruby on Rails application
How to create a Rewrite
o Additional applications and Rewrites
Note for resellers and web hosts
Overview
You can create and deploy a Ruby on Rails application through the cPanel interface.
Notes:
Icon
Ask your hosting provider whether they allow Ruby on Rails applications on the server.
Read the Ruby on Rails documentation before you deploy a Ruby on Rails application.
Page 194
If you set an application path in your public_html/ directory, anyone on the web can
view your source code and configuration files.
4. In the Environment menu, select the type of Ruby on Rails environment that you wish to run.
5. Click Create.
You can perform the following actions on applications in the Ruby on Rails Applications table:
To redirect to an application's Rails server, click URL to the right of the appropriate application
name.
To run an application, click Run to the right of the appropriate application name.
To stop an application, click Stop to the right of the appropriate application name.
To load an application when the server boots, select the Load on Boot? checkbox to the right of
the appropriate application name.
To toggle an application between a production or development environment, select or deselect
the Production checkbox to the right of the appropriate application name.
To delete an application, click X to the right of the appropriate application name.
Ruby application port numbers increment automatically with every new application. If you are
on a shared server, the system will assign the next available port number to your application.
Your first application will not necessarily run on port 12001.
To configure Ruby to respond without the need for visitors to specify a port number, create a
rewrite.
To configure a rewrite, perform the following steps:
Page 195
1. In the Create A Rewrite table, click Create Rewrite for the appropriate application
2. From the menu, select the domain, subdomain, or addon domain on which you wish to run your
Ruby application.
o If you wish to run the application from a new page within your domain, enter the page
name that you wish to use in the available text box.
3. Click Save.
You can perform the following actions in the Current Rewrites table:
To change an application path name, enter the path name in the text box to the right of the
appropriate application name.
To save an application rewrite, click Save to the right of the appropriate application name.
To delete an application rewrite, click Delete to the right of the appropriate application name.
Click Yes to confirm.
If you wish to run multiple Ruby applications, you must configure additional ports to respond
with Ruby on Rails and, if necessary, additional rewrites to disguise the port change. To do so,
add an application as described in the How to create a Ruby on Rails application section above.
The new application will respond on the next available port number (for example, if your first
application runs on port 12001, the second may run on port 12002 or higher).
Warning:
Icon
Ruby application port numbers increment automatically with every new application. If you are
on a shared server, the system will assign the next available port number to your application.
Also, your applications' port numbers may not be consecutive.
To configure an additional rewrite, follow the steps outlined in the How to create a Rewrite
section above. You will need to use a new domain, addon domain, subdomain, or page (for
example, example.com/RubyApplication) for the rewrite.
Note
Icon
You cannot configure two Ruby applications to respond on the same domain, subdomain, addon
domain, or page.
Page 196
Important:
Icon
You mus t install Ruby on Rails on your server for the Ruby on Rails interface to appear
in the cPanel interface
RubyGems The RubyGems interface allows you to find, install, or distribute Ruby
programs and libraries that are in the self-contained "gem" format.
RubyGems
Skip to end of metadata
Go to start of metadata
Overview
How to find an available RubyGem
How to install a RubyGem
Overview
RubyGems is a package manager for the Ruby programming language. It provides a selfcontained format to distribute Ruby programs and libraries.
For more information on RubyGems, read the RubyGems documentation.
In the Search text box, enter name of the RubyGem that you wish to install and click Go.
Page 197
A new window that appears, click Install to install a RubyGem or click Show Docs to view
documentation before you install it.
To find a system RubyGem, click Show System Modules.
The system will add the RubyGem to the Installed Modules table.
To use a RubyGem, copy and and paste the code under the Use Your Modules heading into your
script. This will add the correct directory to the include path.
Advanced
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Advanced)
The following documents describe the features in the cPanel interface's Advanced section.
Apache Handlers This interface allows you to add and manage Apache handlers. Apache
handlers control how your sites Apache web server software manages certain file types and file
extensions.
Apache Handlers
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
Page 198
Overview
Add an Apache Handler
Remove a Handler
Overview
Apache handlers control how your sites Apache web server software manages certain file types and
file extensions. Apache can handle CGI scripts and server-parsed files. The file extensions for these
files include .cgi, .pl, .plx, .ppl, .perl, and .shtml.
You can configure Apache to use an existing handler to handle a new file type. To do this, manually
add the handler and extension to the Apache Handlers interface. For example, to instruct the server
to treat files with the extension .example as CGI files, enter cgiscript under Handler and .example under Extension(s).
Page 199
Remove a Handler
To remove an existing user-defined handler, perform the following steps:
1. Click the X button under the Remove heading for the appropriate handler in the User Defined
Apache Handlers table.
2. Click Yes to confirm that you wish to remove the handler.
Note
Icon
You cannot remove the file extensions that Apache automatically handles from the System Apache
Handlers table.
API Shell This feature allows you to run cPanel API function calls interactively within the interface.
Go to start of metadata
For cPanel & WHM 11.44
(cPanel >> Advanced >> API Shell)
Overview
Enable the cPanel API Shell
Run a cPanel API function
API call results
Overview
This feature allows you to run cPanel API function calls interactively within the interface.
Warning:
Icon
This feature uses live data from your server. API function calls may change or delete data on your
server, which can cause your server to fail.
Read the documentation for a function call thoroughly before you use it in the API Shell, a script, or
through any other method.
Page 200
If you wish to see an example of the output from a specific function call that uses test data, read
the Example section for that function call in our cPanel API documentation.
2.
3.
4.
a.
b.
c.
d.
To learn more about each function, read our UAPI Functions or API Version 2
Functions documentation.
Only cPanel API version 2 and UAPI are available.
Select the API call that you wish to test from the menu.
Enter the keys and values that you wish to test.
If you need to enter more keys and values, click Add.
If you wish to filter, sort, or paginate the results, click Show Sort/Filter/Paginate Options.
To select the first record to show from the results, select the number from the Index (0-based) of first
result to show menu.
To limit the number of results to display, select the maximum number of results that you wish to
display in the Maximum # of results to show menu.
To filter the results, click Add in the Filters section of the interface.
You can specify the field by which you wish to filter the results, the conditions, and the Term to apply
to the conditions.
To use more than one filter, click Add for each additional filter that you wish to specify.
To sort the results, click Add in the Sorts section of the interface.
You can specify the field by which you wish to sort the results, the conditions, and whether you wish
to reverse the sort order.
To use more than one sort method, click Add for each additional sort method that you wish to
specify.
cPanel User Documentation
Page 201
5. Click Submit
Cron Jobs cPanel provides two interfaces that allow you to edit cron jobs. Cron jobs are
scheduled tasks that take place at predefined times or intervals on the server.
Cron Jobs
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Advanced >> Cron Jobs)
o
o
Overview
Add a cron email
Add a cron job
View existing cron jobs
Edit a cron job
Delete a cron job
Overview
Cron jobs are scheduled tasks that take place at predefined times or intervals on the server. Often, a
cron job is a series of simple tasks that the server executes from a script file.
Note:
Icon
Be careful when you schedule cron jobs. If you set them to run too often, they may slow down your
server.
Page 202
Page 203
Error Pages This interface allows you to customize the appearance of your error pages. An error
page informs a visitor who tries to access your site whether there is a problem.
Error Pages
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Advanced >> Error pages)
Overview
Edit an error page
Overview
Error pages inform visitors if there is a problem when they access your site. Each problem has its
own code (for example, 404) and error page.
The web server automatically provides basic error pages. In addition to this, cPanel allows you to
define custom error pages for any HTTP code.
Page 204
FrontPage Extensions This feature allows you to enable or disable FrontPage extensions.
FrontPage extensions allow you to publish web pages directly from the Microsoft FrontPage
application, which eliminates the need to use FTP.
FrontPage Extensions
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Advanced >> FrontPage Extensions)
Overview
.htaccess files
Overview
FrontPage extensions allow web pages to publish directly from the Microsoft FrontPage
application, which eliminates the need to use FTP.
Warning:
Icon
The installation of Frontpage extensions will delete any .htaccess files that your web area
contains. This means that you will need to reconfigure any directory or web page that requires
authentication (a username and password) after you install the extensions.
Note:
If your hosting provider has removed FrontPage support, you will not see this feature in the cPanel
interface.
Page 205
.htaccess files
.htaccess files are an integral part of any basic authentication process. The file lives within a
directory on the server and is used to enact the authentication process when the directory is
accessed. The .htaccess file is then checked against a file that contains an encrypted instance of
the valid password for the directory.
.htaccess files also contain information about how the contents of the directory will display, as well
as information about how long visitors browsers will cache your site (save it in memory).
Note:
Icon
If your hosting provider has removed FrontPage support, you will not see this feature in the cPanel
interface.
Image Manager cPanel's Image Manager feature includes three tools to help you manage the
images you use on your website.
Image Manager
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Advanced >> Image Manager)
Overview
Thumbnailer
Image Scaler
Convert Image Format
Overview
The Image Manager allows you to modify and manage images saved to your account. This feature
includes the following tools:
Thumbnailer Create thumbnails from images in a directory and store them in a folder
called thumbnails.
Image ScalerResize individual images.
Page 206
Convert Image FormatConvert one type of image file to another. Change the file type of all images
in a directory. For example, change .jpg files to .png files.
Thumbnailer
The Thumbnailer creates smaller versions of images called "thumbnails." Create thumbnails to save
bandwidth on a photo page, where you can view smaller previews of your images before you access
the larger ones. To convert a directory of images to thumbnails, perform the following steps:
1. Click Thumbnailer.
2. Select the directory you wish to thumbnail. Click
name to select it.
Note:
Icon
You must select an entire folder to thumbnail. The Thumbnailer cannot convert individual images.
3. In the Scale Percent text boxes, enter the percentage you wish to shrink your images.
4. Select the Keep Aspect Ratio checkbox to prevent the distortion of the image because the height
and width will remain proportional.
Click Reset Dimensions to return the Scale Percent values to the default.
5. Click Thumbnail Images.
Thumbnailer will create a new subdirectory, within the selected folder, named thumbnails. The
thumbnail images are prefixed tn_, for example, tn_example.png
Click the Your images have been thumbnailed into link to open the thumbnails directory in the File
Manager.
Image Scaler
Resize individual images with the Image Scaler. The Image Scaler allows you to enter percentages
to scale the image bigger or smaller. To resize an image, perform the following steps:
1. Click Image Scaler.
2. Select the image you wish to resize. Click
to navigate the file system. Click the file name to
select it.
3. To set the new image size, do one of the following two steps:
Use the New Dimensions text boxes to define, in pixels, how the image should be resized.
Use the Percent text boxes to define the percentage you wish to resize your images.
4. Select the Keep Aspect Ratio checkbox to prevent the distortion of the image because the height
and width will remain proportional.
Page 207
Click Reset Dimensions to return the Scale Percent values to the default.
5. Select the Retain a copy of the old image as checkbox to store a copy of the original image. Specify
the file path where you wish to save the copy in the text box.
6. Click Scale Image.
7. Click the Your image link to view the rescaled image.
.PNG
.JPG
.GIF
.BMP
4. Click Convert.
After you complete the conversion, the new file will reside in the same directory as the original by
default.
Index Manager This interface allows you to configure how a directory index will appear to users
who access it.
Index Manager
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Advanced >> Index Manager)
Overview
Modify indexing
Page 208
Overview
When you access a directory (rather than a page) on your site, a visitor will typically see the index
page for that directory. If no index page exists, the browser will display a list (or index) of the files in
that directory.
Modify indexing
You can use the Index Manager to define how a specific directory index will appear to those who
access it. You can also turn off indexing, if you do not want a directorys contents to be visible.
1.
2.
3.
4.
Select the directory in which you wish to navigate your website's contents.
To navigate the Index Manager, click the folder icon next to the directory name.
Click the name of the directory for which you want to change the indexing style.
Select one of the following options:
Standard Indexing: Contents appear only as filenames.
Fancy Indexing: Information about the files, such as the size and time last modified, appear.
Default System Setting: The default defined by your web host will be used.
No Indexing: The contents of the directory are not listed. Visitors will see a message that states that
the contents are forbidden.
5. Click Save.
MIME Types This feature allows you to create and manage MIME types. MIME types relay
information to the browser about how to handle file extensions.
MIME Types
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Advanced >> MIME Types)
Overview
Add a MIME type
Delete a user-defined MIME type
More about MIME types
Page 209
Overview
MIME types relay information to the browser about how to handle file extensions. You can add MIME
types to enable visitors browsers to handle new technologies as they come out. To add new MIME
types to your web server, define a name, directory, and file extension that correspond to the MIME
type..
Network Tools This area of cPanels interface contains tools to help you retrieve network
information.
Page 210
Network Tools
Skip to end of metadata
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Advanced >> Network Tools)
Overview
Domain Lookup
Trace Route
Overview
The Network Tools interface contains tools to help you retrieve network information. For example,
you can look up an IP address or trace the route from your computer to the computer that hosts your
website (your web server).
Domain Lookup
The Domain Lookup tool executes a basic command to resolve an IP address from a specified
domain name. This query will also return general DNS information about the server.
To look up a domain, perform the following steps:
1. Enter the domain that you wish to look up in the Enter a domain to lookup text box. For
example, cpanel.net.
2. Click Lookup.
The domains mail servers and the IP address for that domain will display. You can also view the
domains DNS information under the Zone Information heading.
Trace Route
The Trace Route function traces the route that your computer takes to access your website. This
function displays how many servers through which your data passes before it reaches your website.
This information also includes the amount of time that your computer requires to reach the server.
To trace the route to your server, click Trace.
The pathways that your computer took to reach your server will display. You can use this information
to find problem servers within your path.
Note:
Page 211
Icon
You may not have access to this function. Contact your system administrator for more information
about how to use the Trace Route function.
Go to start of metadata
For cPanel & WHM 11.44
(Home >> Change Password >> The Password Generator)
Overview
Change Password
Overview
The Password Generator is a helpful tool in cPanel that generates secure passwords which are
difficult for malicious users to guess. You can use the Password Generator anywhere that the button
is available.
When you click the Password Generator button, a new window will appear that contains a generated
password in a text box. Click Generate Password as many times as you wish until you are satisfied
with the password.
cPanel User Documentation
Page 212
Change Password
To set the security requirements of the new password, perform the following steps:
1.
2.
3.
4.
5.
Page 213