Difference between revisions of "WHM (Web Host Manager)"

From Hostek.com Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
#https://documentation.cpanel.net/pages/viewpage.action?pageId=1507786
 
#https://documentation.cpanel.net/pages/viewpage.action?pageId=1507786
 
#For a different version of WHM, please see this page: https://documentation.cpanel.net/pages/viewpage.action?pageId=1507796
 
#For a different version of WHM, please see this page: https://documentation.cpanel.net/pages/viewpage.action?pageId=1507796
===cPanel Video Tutorials===
+
===WHM Video Tutorials===
 
*The link below will send you to our SmarterMail Video Tutorials Wiki:
 
*The link below will send you to our SmarterMail Video Tutorials Wiki:
 
#https://wiki.hostek.com/CPanel_Tutorials#WHM_.5BReseller_or_VPS.5D
 
#https://wiki.hostek.com/CPanel_Tutorials#WHM_.5BReseller_or_VPS.5D
 +
===Account Management===
 +
*The link below will send you to our Linux/cPanel Reseller Management Wiki:
 +
#https://wiki.hostek.com/Reseller_Management#Linux.2FcPanel_Reseller_Management
  
==Common WHM Errors==
+
==WHM Errors==
 +
===Error Handling===
 +
*The link below will send you to our Error Handling Wiki:
 +
#https://wiki.hostek.com/Error_Handling#cPanel_VPS
 +
===Common WHM Errors===
 
*This wiki goes over known WHM errors that appear often and provides fixes and workarounds for them.
 
*This wiki goes over known WHM errors that appear often and provides fixes and workarounds for them.
 
<pre>Using nameservers with the following IPs: xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server.  
 
<pre>Using nameservers with the following IPs: xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server.  
Line 23: Line 30:
 
==Linux/cPanel VPS==
 
==Linux/cPanel VPS==
  
===How to Modify a User's Quota===
+
===Helpful Links===
 +
*This link will take you to our SSH wiki:
 +
#https://wiki.hostek.com/SSH
 +
*This link will take you to our IP Address Blocking Wiki:
 +
#https://wiki.hostek.com/Blocking_IP_Addresses#Linux
 +
*This link will take you to our VPS Resources Wiki:
 +
#https://wiki.hostek.com/VPS_Resources
 +
*This link will take you to our Firewall Alert Wiki:
 +
#https://wiki.hostek.com/Managing_Linux_VPS_Firewall_Alerts
 +
*This link will take you to our NameServer Wiki:
 +
#https://wiki.hostek.com/DNS_(Name_Servers)
  
*Video tutorial [http://hostek.com/tutorials/whm11_quota.html here]
+
===WHM/cPanel Updates===
  
*Here are the written steps to manage your customers' quotas:
+
====Updating from v.11.41 to v.11.46====
#Login to '''WHM'''
+
*Before you can upgrade to v.11.46 you will need to uninstall the Frontpage extensions in WHM.
#Go to '''Account Functions'''
+
If doing this from SSH, use the following /scripts/upcp and it will upgrade to v.11.46
#Select '''Quota Modification'''
+
#Access WHM/cPanel and in the search bar, go to FrontPage.
#You can manually find the account by looking through the list, or use the Account Search feature to search by domain or user.
+
#At the bottom, there is a check box to uninstall FrontPage extensions.
#Click one of the options at the bottom of the screen:
+
#Check it and update.
##Click '''Modify''' to change a single quota.
+
#Once removed, go to update cPanel and start the upgrade process.
##Click '''Show all Accounts''' to view all of your users’ quotas.  
+
====Updating from v.11.38 to v.11.40====
###From this list, you can change multiple quotas at once.
+
When cPanel puts out an update to their Web Host Manager (WHM) and cPanel systems, example v.11.38 to v.11.40, the update almost always includes a features change in WHM. They improve their settings and give more functionality to the hostmaster and list the updates in the Feature Showcase when you log in for the first time.
##Click '''Show Only this Reseller’s Accounts''' to view only the accounts that belong to a specific reseller.
+
 
#Define the new quota(s) in the available text field(s).
+
===Feature Showcase===
##(The quota is defined in Megabytes.)
+
[[file:Features_Showcase.png|right|500px]]
#Click Save.
+
*When a user first logs back into WHM they are presented with a Feature Showcase.
 +
*This showcase list the latest updates and gives the user an option to enable or not enable the new feature (see example below):
 +
====Options====
 +
*There are a few option to go with here. Some of these options are core features within WHM/cPanel and may require some thought.
 +
*However, if you're not sure or don't wish to be bothered by this just go with Option #2 - '''Leave Features Disabled'''.
 +
#Enable Features
 +
##If you read through the options and have a good understanding of what they are and wish to implement them, simply select the <b>Enable</b> radial button and then click <b>Save Settings</b>.
 +
#Leave Features Disabled
 +
##If you wish to not enable the features then select the <b>No, thank you</b> radial button and click <b>Save Settings</b>.
 +
#Get Assistance
 +
##If you're not sure about the updated Feature set but wish to have more information and/or have us go ahead and enable/disable these features for you. Select the <b>Exit to WHM</b> option then put in a support ticket at https://support.hostek.com and we will be happy to assist you in this matter.
  
===How to clear a cPHulk Block (GUI)===
+
===cPHulk Brute Force Protection===
 +
====How to clear a cPHulk Block (GUI)====
 
*If you're unable to login to WHM/cPanel like your normally do, chances are that you could be blocked by the cPHulk Brute Force Protection system that is part of cPanel. cPHulk blocks brute force attacks based on the number of failed logins from a specific IP.
 
*If you're unable to login to WHM/cPanel like your normally do, chances are that you could be blocked by the cPHulk Brute Force Protection system that is part of cPanel. cPHulk blocks brute force attacks based on the number of failed logins from a specific IP.
====If you have access to a computer on a different network (with a different IP)====
+
=====If you have access to a computer on a different network (with a different IP)=====
 
#Login to WHM  
 
#Login to WHM  
 
#If you're able to login to go Security Center
 
#If you're able to login to go Security Center
 
#Find the cPHulk Brute Force Protection feature
 
#Find the cPHulk Brute Force Protection feature
 
#From here you are able to view and clear the blocked IPs and failed login attempts.
 
#From here you are able to view and clear the blocked IPs and failed login attempts.
====If you don't have access to a computer on a different network====
+
=====If you don't have access to a computer on a different network=====
 
#SSH into the VPS
 
#SSH into the VPS
 
#Temporarily Disable cPHulk with this command:
 
#Temporarily Disable cPHulk with this command:
Line 59: Line 87:
 
##You can do this in the WHM cPHulk Brute Force Protection page or by running the following command in SSH:
 
##You can do this in the WHM cPHulk Brute Force Protection page or by running the following command in SSH:
 
##<code>/usr/local/cpanel/bin/cphulk_pam_ctl --enable</code>
 
##<code>/usr/local/cpanel/bin/cphulk_pam_ctl --enable</code>
===Clear cPHulk Block (Non-GUI)===
+
====Clear cPHulk Block (Non-GUI)====
 
*If for some reason you need to clear the blocks directly from the database, here is how you do it:
 
*If for some reason you need to clear the blocks directly from the database, here is how you do it:
 
#SSH into your VPS
 
#SSH into your VPS
Line 93: Line 121:
 
#<code>/usr/local/cpanel/bin/cphulk_pam_ctl --disable</code>
 
#<code>/usr/local/cpanel/bin/cphulk_pam_ctl --disable</code>
 
#<code>/usr/local/cpanel/bin/cphulk_pam_ctl --enable</code>
 
#<code>/usr/local/cpanel/bin/cphulk_pam_ctl --enable</code>
 +
 +
[[Category:VPS]]
 +
[[Category:Control Panels]]
 
[[Category: cPanel]]
 
[[Category: cPanel]]
 
[[Category: Linux-VPS]]
 
[[Category: Linux-VPS]]

Latest revision as of 19:19, 17 June 2015

WHM Help

WHM Documentation

  • The link below will send you to the WHM Documentation, this will familiarize you with the interface and it's functions:
  1. https://documentation.cpanel.net/pages/viewpage.action?pageId=1507786
  2. For a different version of WHM, please see this page: https://documentation.cpanel.net/pages/viewpage.action?pageId=1507796

WHM Video Tutorials

  • The link below will send you to our SmarterMail Video Tutorials Wiki:
  1. https://wiki.hostek.com/CPanel_Tutorials#WHM_.5BReseller_or_VPS.5D

Account Management

  • The link below will send you to our Linux/cPanel Reseller Management Wiki:
  1. https://wiki.hostek.com/Reseller_Management#Linux.2FcPanel_Reseller_Management

WHM Errors

Error Handling

  • The link below will send you to our Error Handling Wiki:
  1. https://wiki.hostek.com/Error_Handling#cPanel_VPS

Common WHM Errors

  • This wiki goes over known WHM errors that appear often and provides fixes and workarounds for them.
Using nameservers with the following IPs: xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. 
Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver.
  • If you haven't pointed the domain to your VPS yet, or DSN hasn't propagated you may get this error.
  • A work around:
  1. Log in to WHM.
  2. Select Server Configuration.
  3. Select Tweak Settings.
  4. Select the Domains tab.
  5. Change the setting for Allow Remote Domains.
  6. Click Save.

Linux/cPanel VPS

Helpful Links

  • This link will take you to our SSH wiki:
  1. https://wiki.hostek.com/SSH
  • This link will take you to our IP Address Blocking Wiki:
  1. https://wiki.hostek.com/Blocking_IP_Addresses#Linux
  • This link will take you to our VPS Resources Wiki:
  1. https://wiki.hostek.com/VPS_Resources
  • This link will take you to our Firewall Alert Wiki:
  1. https://wiki.hostek.com/Managing_Linux_VPS_Firewall_Alerts
  • This link will take you to our NameServer Wiki:
  1. https://wiki.hostek.com/DNS_(Name_Servers)

WHM/cPanel Updates

Updating from v.11.41 to v.11.46

  • Before you can upgrade to v.11.46 you will need to uninstall the Frontpage extensions in WHM.

If doing this from SSH, use the following /scripts/upcp and it will upgrade to v.11.46

  1. Access WHM/cPanel and in the search bar, go to FrontPage.
  2. At the bottom, there is a check box to uninstall FrontPage extensions.
  3. Check it and update.
  4. Once removed, go to update cPanel and start the upgrade process.

Updating from v.11.38 to v.11.40

When cPanel puts out an update to their Web Host Manager (WHM) and cPanel systems, example v.11.38 to v.11.40, the update almost always includes a features change in WHM. They improve their settings and give more functionality to the hostmaster and list the updates in the Feature Showcase when you log in for the first time.

Feature Showcase

Features Showcase.png
  • When a user first logs back into WHM they are presented with a Feature Showcase.
  • This showcase list the latest updates and gives the user an option to enable or not enable the new feature (see example below):

Options

  • There are a few option to go with here. Some of these options are core features within WHM/cPanel and may require some thought.
  • However, if you're not sure or don't wish to be bothered by this just go with Option #2 - Leave Features Disabled.
  1. Enable Features
    1. If you read through the options and have a good understanding of what they are and wish to implement them, simply select the Enable radial button and then click Save Settings.
  2. Leave Features Disabled
    1. If you wish to not enable the features then select the No, thank you radial button and click Save Settings.
  3. Get Assistance
    1. If you're not sure about the updated Feature set but wish to have more information and/or have us go ahead and enable/disable these features for you. Select the Exit to WHM option then put in a support ticket at https://support.hostek.com and we will be happy to assist you in this matter.

cPHulk Brute Force Protection

How to clear a cPHulk Block (GUI)

  • If you're unable to login to WHM/cPanel like your normally do, chances are that you could be blocked by the cPHulk Brute Force Protection system that is part of cPanel. cPHulk blocks brute force attacks based on the number of failed logins from a specific IP.
If you have access to a computer on a different network (with a different IP)
  1. Login to WHM
  2. If you're able to login to go Security Center
  3. Find the cPHulk Brute Force Protection feature
  4. From here you are able to view and clear the blocked IPs and failed login attempts.
If you don't have access to a computer on a different network
  1. SSH into the VPS
  2. Temporarily Disable cPHulk with this command:
    1. /usr/local/cpanel/bin/cphulk_pam_ctl --disable
  3. Login go WHM
  4. Go to Security Center
  5. Select cPHulk Brute Force Protection
  6. From here you are able to view and clear the blocked IPs and failed login attempts.
  7. Once you clear the block enable cPHulk.
    1. You can do this in the WHM cPHulk Brute Force Protection page or by running the following command in SSH:
    2. /usr/local/cpanel/bin/cphulk_pam_ctl --enable

Clear cPHulk Block (Non-GUI)

  • If for some reason you need to clear the blocks directly from the database, here is how you do it:
  1. SSH into your VPS
  2. Run this command:
    1. mysql
  3. And this one:
    1. use cphulkd;
cPHulk SSH Commands
Description Syntax
To view the blocks:
SELECT * FROM brutes;
To view the login attempts:
SELECT * FROM logins;
To clear all blocks:
DELETE FROM brutes;
To clear all login attempts:
DELETE FROM logins;
To delete a block on a specific IP:
DELETE FROM brute WHERE IP = '0.0.0.0';
To delete login attempts on a specific IP:
DELETE FROM logins WHERE IP = '0.0.0.0';
  • For these changes to take effect you will need to Stop and Start (Restart) the cPHulk Service with these commands:
  1. /usr/local/cpanel/bin/cphulk_pam_ctl --disable
  2. /usr/local/cpanel/bin/cphulk_pam_ctl --enable