Community Blogs

5 Important cPanel Settings For Beginners

cPanel control panel is most widely used in the web hosting industry. The main reason behind the popularity of WHM / cPanel is the flexibility and the user friendliness offered. cPanel is easy to manage, easy to customize and it is backed by great quality support. Most of us dealing in the web hosting industry know about the potential of the cPanel control panel. However, if you are new to cPanel, there are a few things that are recommended for you for the initial phase.

Here is an insight on the 5 important cPanel settings for you:

Strong Password

Every user gets a username and password for logging into cPanel. The username and password provided for cPanel is also applicable to the MySQL database user, FTP account, email address and at times the system user login as well. The system user login can be used for accessing the server remotely through SSH (if this feature is enabled by the server administrator). Modifying the cPanel login password is an important action to be done initially. If your password can be easily retrieved or guessed by anyone, that person will also get unwarranted privileges to the server and this is dangerous.

It is important to follow good password practice. Some important tips for password management are mentioned below:

  • Keep changing your password
  • Avoid using dictionary words
  • Avoid using easy things like vehicle registration number, date of birth or phone number as password
  • Use a complex password that is hard to guess
  • Set the length of the password to 8 characters or more
  • Do not use the option of ‘remember password’ in any browser

Server Environment

Make sure that you have complete understanding of the server environment before using it. Some important aspects that you need to know include server operating system, server architecture, kernel version, the versions of the installed applications (Apache, PHP, MySQL, cPanel, Pearl). It is also important to know about the IP address and hosting package limitations. This information is available on the main page; it usually appears on the sidebar of the cPanel interface. A good hosting server should be operated on the updated version of the kernel and applications should be operated under the 64 bit architecture.

It is also crucial to check the cPanel service status. This can be done by logging into cPanel > Stats > Service Status. Here you can see the number of CPUs that are running on the server, memory usage and the disk space status. This feature will provide you with the real time information for the server. All the services should be up and running properly. Ideally, a stable server should run at below 80% of disk usage and below 10% of swap; the server load average should be 2 times below the total number of CPUs.

File & Directory Permissions

By default, with a cPanel hosting account, users get a home directory under /home/{username}. All the files and directories present under the user’s home directory should be operated on the respective permissions and ownership. The most important directory that should run with correct permissions and ownership is public_html. Before we proceed further, it is important for you to know how PHP is managed.

Create a phpinfo page under the public_html directory. Access this page through the browser and check the ‘Server API’. If the value is CGI / FastCGI, then the PHP handler is suPHP, FastCGI or CGI. Most of the web hosting companies use suPHP because of security verification and also because it is the default handler for the cPanel servers. Under suPHP, PHP is executed as a different process along with Apache. All the file permissions should be run under 644 and the directory permissions under 755. Permissions that are higher than this will result in ‘Internal Server Error’ when the PHP script is executed.

If the Server API value is Apache 2.0 handler, then PHP is run under DSO. This handler does not need any strict file permissions or ownership because the PHP file is completely handled by Apache.

You can utilize the cPanel file manager, FTP client or SSH access for fixing the permissions and ownership issues. Make sure to delete the phpinfo page once you have got the necessary information.

Add Protection

Even though the server administrator has the responsibility of managing protection and security, cPanel users can make use of the flexible cPanel interface for adding some protection to the domain, website and cPanel account. Enable the spam assassin (cPanel > Mail > Spam Assassin). This feature is not provided by some web hosting providers as a default because a domain that is newly registered does not receive any spam emails. Discard all the unrouted emails in the default address (cPanel > Mail > Default Address) that contain error to sender at SMTP time. Avoid using the options like ‘blackhole’ or ‘forward to email address’ unless they are actually required. Hackers might take the advantage of these two features for creating a DOS attack on the SMTP service.

If the FrontPage is not used, disable it (cPanel > Advanced > FrontPage Extensions). Check the ‘PHP disabled_function’ through phpinfo page. All the critical functions should be disabled inside the server.

Enable the hotlink protection through (cPanel > Security > Hotlink Protection) for preventing anyone from stealing your bandwidth. People might link your image to their website thus making a part of their content. Enable your website URL to only access static content like .png, .jpeg, .jpg and .bmp.

Notification & Monitoring

It is important to add a secondary email in order to receive notifications through cPanel. By default, the registered email of the user will be the primary contact. Go to the option – Update Contact Info (cPanel > Preferences > Update Contact Info) and add a secondary email that will serve as a backup in case the primary email cannot be reached.

Subscribe to the monitoring tools that are available online for monitoring your website and domain availability. Although this service is offered for free by some of the web hosting companies, it is always good to have another external monitoring source for accurate results. Configure the monitoring system in order to trigger and send notification emails / alerts to your email id.

The information contained in this article is useful for both, new cPanel users and for the users who have been using cPanel. By implementing the essential settings mentioned above, you will get better control over your website and domain name.


16 Commands to Check Hardware Information on Linux

Hardware information Like for every thing, there are plenty of commands to check information about the hardware of your linux system. Some commands report only specific hardware components like cpu or memory while the rest cover multiple hardware units. This post takes a quick look at some of the most commonly used commands to check information and configuration details about various hardware...

Read more... Comment (2)

How To : Install/Upgrade to Linux Kernel 3.13.9 in Ubuntu/Linux Mint Systems

     "The Linux Kernel 3.13.9 is now available for the users and all the users of 3.13 kernel series must upgrade", announced Greg Kroah-Hartman.This Linux Kernel version comes with plenty of fixes and improvements. This article will guide you to install or upgrade to Linux Kernel 3.13.9 in your Ubuntu or Linux Mint system.


  • x86: fix boot on uniprocessor systems
  • Input: synaptics - add manual min/max quirk
  • netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
  • drm/i915: Undo gtt scratch pte unmapping again
  • mm: close PageTail race
  • Revert "xen: properly account for _PAGE_NUMA during xen pte translations"
  • Input: mousedev - fix race when creating mixed device
  • Input: synaptics - add manual min/max quirk for ThinkPad X240
  • Input: cypress_ps2 - don't report as a button pads
  • cgroup: protect modifications to cgroup_idr with cgroup_mutex
  • random32: avoid attempt to late reseed if in the middle of seeding
  • i2c: cpm: Fix build by adding of_address.h and of_irq.h
  • ext4: atomically set inode->i_flags in ext4_set_inode_flags()
  • net: mvneta: fix usage as a module on RGMII configurations
  • xen/balloon: flush persistent kmaps in correct position


Read More at YourOwnLinux.


Check hardware information on Linux with hwinfo command

Hwinfo The hwinfo command is a very handy command line tool that can be used to probe for details about hardware components. It reports information about most hardware units like cpu, hdd controllers, usb controllers, network card, graphics cards, multimedia, printers etc. Hwinfo depends on the libhd library to gather hardware information which depends on libhal. Hwinfo is available in the repositories of Ubuntu and Debian. # ubuntu, debian $ sudo apt-get install hwinfo To install...
Read more... Comment (0)

How to install hwinfo (hardware information tool) on Fedora 20

Hwinfo - Hardware Information Tool Hwinfo is a command line utility to probe and gather information about hardware components on a system in a easy to read format. It was initially a opensuse specific tool that was later compiled for other systems like Debian, Fedora, Arch etc. Hwinfo is not available in the Fedora repositories, and neither is it present in any of the popular 3rd party repositories like repoforge or rpmfusion. Install Hwinfo on Fedora Here we are going to install hwinfo on Fedora 20. The hwinfo rpm packages for Fedora are available on the opensuse site at the following hidden place The...
Read more... Comment (0)

How to install hwinfo on Fedora 19/20 and CentOS 5/6

Hwinfo - Hardware Information Tool Hwinfo is a command line utility to probe and gather information about hardware components on a system in a easy to read format. It was initially a opensuse specific tool that was later compiled for other systems like Debian, Fedora, Arch etc. Hwinfo is not available in the Fedora repositories, and neither is it present in any of the popular 3rd party repositories like repoforge or rpmfusion. Install Hwinfo on Fedora Here we are going to install hwinfo on Fedora 20. The hwinfo rpm packages for Fedora are available on the opensuse site at the following hidden...
Read more... Comment (0)

Linux Filesystem Simplified

This following set of commands immensely simplifies handling almost all the filesystem related issues. To know more about it check here Linux Filesystem Simplified


18 commands to monitor network bandwidth on Linux server

This post mentions some linux command line tools that can be used to monitor the network usage. These tools monitor the traffic flowing through network interfaces and measure the speed at which data is currently being transferred. Incoming and outgoing traffic is shown separately. Some of the commands, show the bandwidth used by individual processes. This makes it easy to detect a process that is overusing network bandwidth. The tools have different mechanisms of generating the traffic report. Some of the tools like nload read the "/proc/net/dev" file...
Read more... Comment (0)

10 examples of Linux ss command to monitor network connections

ss - socket statistics In a previous tutorial we saw how to use the netstat command to get statistics on network/socket connections. However the netstat command has long been deprecated and replaced by the ss command from the iproute suite of tools. The ss command is capable of showing more information than the netstat and is faster. The netstat command reads various /proc files to gather information. However this approach falls weak when...
Read more... Comment (0)

8 examples of findmnt command to check mounted file systems on Linux

Mounted file systems and devices The more common command to check mounted file systems on linux is the mount command which is used to not only list mounted devices, but also mount and unmount them as and when needed. Here is another nifty command called findmnt, that can be used to take a quick look at what is mounted where and with what options. Install findmnt The findmnt command...
Read more... Comment (0)

Samba Default Sabotaged Please Fix.

Quick background on me, Linux hobbits, burned out programmer, Novell guy that, 10 years ago got sick for a year, lost my company, and now work as the on-site guy for a national Geek company. not "squad".

I get customer getting systems upgrades or Dead HDD’s that want me to haul off their old equipment. So I play with Linux on the old systems, as a hobby not for a living. Been doing this for 10 years or so.

At the start of 2014, I stated getting a lot of old xp system, and down loaded my favorite Linux distro's and started installing...... Could not see Shared xp, win 7 systems. Thought it was just a bug with that release and tried another distro. Same problem, one after another, same problem. Would check boards and try lots of things and get it to work. But over and over on a fresh install, it would not see windows shares. Never had this problem before.

Remember this is a hobby, but after 2 months discovered the problem, small changes to smb.conf where made in the last 6 to 12 months that made it so you can't see XP, win 7 Shares “out of the box”.

I think this was a deliberate by “they who can not be named” that is if you don't want to get sued.

This was done in prep for the upcoming deadline. So that first time Linux installers would install a distro, not see other systems at home and give up on Linux.

Please change the Samba Default to see win shares.

Netbios section

Dns proxy = yes;

Set the “name resolve order” remove “;” by default and set order, I believe it is “bcast host lmhost wins”.

Page 9 of 133

Upcoming Linux Foundation Courses

  1. LFD320 Linux Kernel Internals and Debugging
    10 Nov » 14 Nov - Virtual
  2. LFS426 Linux Performance Tuning
    10 Nov » 13 Nov - Virtual
  3. LFD312 Developing Applications For Linux
    17 Nov » 21 Nov - Virtual

View All Upcoming Courses

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board