Archives

Change root password in WHM

For security reasons is a very good idea to change your password often. You can change the root password via shell, but also via the WHM interface.

whm chnage root password

To change the root password in WHM:

  1. Log into WHM using your root credentials
  2. Navigate to Server Configuration >> Change Root Password
  3. Enter or Generate a strong password. (you can generate a max 18 char long password)
  4. Click the Change Password button. You will see a confirmation message: The system successfully updated the root password. The following service passwords changed: system
Notice that only the user root can change the root password. A reseller with “all privileges” can’t change the root password. The user will get an error message API failure: (XID aexhaf) You do not have a user named “root”.
Tip: Use the passwd command to change the password from command line.

The video tutorial for this article:

Share this post:

Change server time via WHM

After a WHM/cPanel installation, you may want to change the server time. Of course, you can do this from the command line, but you can also do this via the WHM interface.

whm server time

To change your dedicated/virtual server time via the WHM interface:

  1. Connect to your WHM installation
  2. Go to Server Configuration >> Server Time.
  3. Now select the time from the drop-down list box and click the Change TimeZone button to apply it. You will see a confirmation message like Local timezone has been set to America/New_York.
  4. Restart the server via System Reboot >> Graceful Server Reboot
cPanel recommend you to restart the server after each time zone modification: To ensure consistency, we strongly recommend that you reboot the server after you change the time zone.

There is also a button to sync the server time. Use this to sync the time with the time server. Notice that this will not work on virtual servers – you will get a warning message Container environment detected – rdate skipped.

The video tutorial for this article:

Share this post:

Configure WHM cron jobs

WHM allows you to configure cron jobs intervals for the upcp, backup and cpbackup scripts.

whm cron jobs

To access the WHM Cron Jobs interface:

  1. Access your WHM installation
  2. Navigate to Server Configuration >> Configure cPanel Cron Jobs
  3. Set the cron jobs intervals setting (Minute, Hour, Day, Month, Weekday) and click the Save button. You will see a confirmation message: Success: Your cron entry for “upcp/backup/cpbackup” has been successfully saved.

cPanel provides some info for cron jobs:

  • MinuteThe number of minutes between each execution of the cron job, or the minute of each hour on which you wish to run the cron job. For example, 15 to run the cron job every 15 minutes.
  • HourThe number of hours between each execution of the cron job, or the hour each day (in military format) at which you wish to run the cron job. For example, 2100 to run the cron job at 9:00pm.
  • DayThe number of days between each execution of the cron job, or the day of the month on which you wish to run the cron job. For example, 15 to run the cron job on the 15th of the month.
  • MonthThe number of months between each execution of the cron job, or the month of the year in which you wish to run the cron job. For example, 7 to run the cron job in July.
  • WeekdayThe day(s) of the week on which you wish to run the cron job.

 

 

Related KB article: Working with cron jobs – create, edit and delete them with cPanel

Share this post:

Basic WHM Setup

The first thing you will want to do after installing cPanel/WHM is to go to the Basic WebHost Manager Setup menu. Here you can configure basic things like:

  • contact options: contact email address, ICQ contact number, HipChat Room users to notify, Pushbullet API
  • the server IP address options: IPv4/IPv6 addresses (only one address for each) to use to set up shared IPv4/IPv6 virtual hosts, location where new user home directories will be created, default cPanel interface package, if you want to automatically create a cgi-bin script alias for users, style for the Apache logs (combined or common)
  • default nameservers you want to use and their IP addresses (from the interface you can configure up to 4 nameservers)

whm basic setup

To access the Basic WebHost Manager Setup menu, follow the steps:

  1. Log in to WHM.
  2. Go to Server Configuration >> Basic WebHost Manager Setup
  3. Here modify the options you want and in the end, click the Save Changes button.

The movie tutorial for this KB post:

Share this post:

WHM/cPanel ConfigServer plugins

ConfigServer WHM/cPanel plugins are developed by a UK company – Way to the Web Limited. They have free and paid plugins.

1. ConfigServer Security & Firewall (csf) – free

csf1

csf is a very powerful firewall. It has many options: you can check the server security, you can search log files, edit/add/remove IPs etc.

2. ConfigServer ModSecurity Control (cmc) – free

cmc1

cmc is a very useful plugin if you are using mod_security. It allows you to remove rules for specific accounts, to turn on/off mod_security for the server etc.

3. ConfigServer Explorer (cse) – free

cse1

Many times web hosting admins prefer to use the shell for file operations, but for beginners, this is a great tool. You can create/rename/delete/move both files and directories. You can also search the server for specific files.

4. ConfigServer Mail Queues (cmq) – free

cmq1

cmq is a tool to view the mail server queue. 

5. ConfigServer Mail Manage (cmm) – free

cmm1

With cmm you can manage user email accounts, create new accounts, set the hourly limit, manage forwarders etc.

6. ConfigServer eXploit Scanner (cXs) – $60/server

cXs is a tool that will scan your server files. It will scan files uploaded by users. A similar free product is maldet

7. Outgoing Spam Monitor (osm) – $40/server

A tool that will monitor email activities on the server. See more details on the product’s page.

Share this post:
Page 2 of 9
1 2 3 4 9