Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/feed-rss2.php on line 8
cPanel/WHM Control Panel Guide – AKLWEB HOST LLC Support Center https://support.aklwebhost.com Thu, 16 Jun 2022 15:52:14 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.4 cPanel Branding Basics: A Guide for Reseller Hosts https://support.aklwebhost.com/knowledgebase/cpanel-branding-basics-a-guide-for-reseller-hosts/ https://support.aklwebhost.com/knowledgebase/cpanel-branding-basics-a-guide-for-reseller-hosts/#respond Thu, 16 Jun 2022 15:51:40 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3315 cPanel & WHM is a tool that has become synonymous with web hosting. However, while hosting providers around the world use this software to offer their customers the freedom to manage their websites, email accounts,  databases, and more, they have also been given very few options when it came to customizing, personalizing, and branding the dashboard they offer their clients. This has changed in our recent updates to cPanel & WHM. Now, with additions like Paper Lantern to our software suite, web hosts can alter the color, feel, and overall experience of the cPanel dashboard to provide their customers with a personally branded and truly unique cPanel experience. So grab a coffee, let’s rebrand, and design the cPanel dashboard as if it was your product.

Preparation

For this process, cPanel Reseller accounts will be the starting point. Any information related to Root accounts can be found in cPanel Style Documentation. Here are a few assumptions of what you’ll need to have:

  • cPanel & WHM 11.50 or later
  • Reseller account
  • Basic knowledge of HTML/CSS/JS
  • Basic Command Line
  • Design software

Game Plan

Like any project, you’ll need to come up with a game plan. Start by figuring out the areas you wish to customize. Customization can range from colors and layout to simple behavior interactions. You’re only limited by your imagination!

Once you have an idea of the changes you’d like to make, take the time to draw it out. This will help you achieve your vision without losing sight of your objectives. Think of it as your goal post.

Brand customization

To increase brand awareness, it’s beneficial to provide your customers with a way to identify and associate your brand with the cPanel dashboard. Here is the first course of action necessary to change the cPanel logo to your custom logo.

WHM cPanel Brand
  1. Log into your WHM dashboard [ex: http://yourdomain.com/whm]
  2. Navigate to cPanel > Customization
  3. Type in your company name
  4. Upload your company logo
  5. Upload favicon
  6. Click Save

When you’re finished, switch and log into the cPanel dashboard [ex: http://yourdomain.com/cpanel] and you’ll notice your logo and favicon have been updated.

cPanel Brand Result

Theme

The bulk of customization is done through CSS. The diagram below shows the common elements, in IDs and Classes, that allow you to specify and modify the custom style.

Pro Tip:
You can use your mouse and right-click on any area in your Chrome or Firefox browser and select inspect element within the cPanel dashboard to identify existing IDs and Classes with the style code. Inspecting elements and the steps below will show how each design can be overridden to your custom style.

cPanel's CSS Elements
  1. In your cPanel dashboard – navigate to Home > Files and select File Manager
  2. In File Manager, navigate to, or create the directory var/cpanel/reseller/styled if it doesn’t exist
  3. Under styled folder – create your folder name for the theme: ex: My_Custom_Theme
  4. Within the same directory – create a new file and name it styles.css (must be exactly as it’s spelled and in lower caps)
  5. Right-click styles.css and click edit
  6. In your styles.css type in the following
    .navbar-preferences {background-color: blue;}
  7. Save Changes
  8. Change your style to your custom style (User Preferences > Change Style) and select Apply on My Custom Theme (you’ll notice the background color on the navbar has changed in your cPanel dashboard). This is your theme.
  9. To include a preview image on the Change Style interface. Screen capture your new interface or design your preview image (500 by 500 pixel and png format), save the file name to preview.png, and upload it under the My_Custom_Theme directory.
File Manager Directory Structure

By now your directory path should look similar to the image you see above.

I encourage you to keep tinkering with your CSS style until you’re satisfied. For further information on styling elements, you can read through cPanel documentation on setting up your stylesheet or writing your custom CSS.

Content

Sometimes styling the layout isn’t enough. There might be occasions when additional pieces of information should be included in the dashboard. As of now, there is a total of four available areas where you can include your content. The first two areas are GLOBAL header and footer positions which show up on every page. The GLOBAL positions filename is”global_header.HTML.tt” and “global_footer.HTML.tt”. Then the other two are PAGE TEMPLATES header and footer positions which only show up in the named app. The PAGE TEMPLATES positions filename is “_page_header.HTML.tt” and “_page_header.HTML.tt”. With these content additions, you have the option to include plain text, HTML, CSS, and JS to extend your UI enhancement further.

Customize Content Templates

For this example, we’ll add content on both global and page templates using an FTP account.

Content Templates Directory Structure
  1. In your File Manager – create a folder name includes under this directory var/cpanel/reseller/
  2. Under the includes folder – Create the following files and name them exactly below:
    • global_header.html.tt
    • global_footer.html.tt
    • ftp_page_header.html.tt
    • ftp_page_footer.html.tt

    To view the filenames on different page templates, visit documentation at Customize Content in Paper Lantern

  3. Within each file, enter the following code:
    • Global Header:
      <div style="background-color: #82b74c; color: #fff; font-weight: bold; padding: 15px; text-align: center;">Global Header Area</div> 
    • Global Footer:
      <div style="background-color: #82b74c; color: #fff; font-weight: bold; padding: 15px; text-align: center;">Global Footer Area</div> 
    • FTP Header:
      <div style="background-color: #82b74c; color: #fff; font-weight: bold; padding: 15px; text-align: center;">FTP Header Area</div> 
    • FTP Footer:
      <div style="background-color: #82b74c; color: #fff; font-weight: bold; padding: 15px; text-align: center;">FTP Footer Area</div> 
  4. Save

Go to your cPanel dashboard and refresh your browser. You’ll notice all pages have global content and the FTP accounts page only include specific content for that page.
cPanel Customize Content Results

Icon

The default cPanel icons are there to help users quickly identify the tools they need, however, they may not complement your custom design or style. Before moving forward, ensure that your custom icons are no bigger than 48x48px, alpha-transparent (no background color) and that they are saved in png format.

Customize FTP Accounts Icon
    1. Design your custom icons. For this example let’s redesign the FTP Accounts icon.
    2. Visit Paper Lantern’s apply documentation and find the icon you wish to replace. In this case, the app key for FTP accounts is ftp_accounts.png so your custom icons should be saved as ftp_accounts.png.
    3. In your File Manager – navigate to var/cpanel/reseller/styled/My_Custom_Theme/ and create a folder name icons
 Icon File Directory Sturcture
  1. Upload your new icons ftp_accounts.png under the icons folder
  2. This is the only place where you’ll need to use the terminal (mac) / command prompt (pc). Open up your terminal/command prompt and type the following:
    • ssh reseller@server.example.net
    • password: <enter your password>
    • /usr/local/cpanel/bin/sprite_generator – theme paper_lantern – style My_Custom_Theme

    (replace ssh login credential with your username/server name and My_Custom_Theme to your theme name)

Go to your cPanel dashboard and force-refresh your browser. You should see your new FTP accounts icon.
cPanel Custom FTP Accounts Icon Updated

You can continue to design your icons and upload them all at once. When done, simply follow the steps above. It will generate the images and override the existing Paper Lantern icons.

Set your style to default

The last step is to set your default style to your custom design. Simply go to User Preferences > Change Style > Set as Default one of your custom designs. Once enabled, the new and existing hosting account will automatically see your new custom branded dashboard.

Set Your Default Style

Build it and be known

There you have it, folks! You now have the skills and knowledge to rebrand the cPanel dashboard your way. The possibilities are endless. Take control of your brand. There’s nothing but pure joy when it comes to creating your own identity and setting yourself apart from others.

Share your design in the comment section or on our forums. Below are a few examples of what you could do with your new branding skills and cPanel.

cPanel UI Screenshots 1
cPanel UI Screenshots 2

 

Paper Lantern Caveat

When creating your design style, it inherits all of the functionality and styling of Paper Lantern. This means Paper Lantern is your master template. Because Paper Lantern is constantly evolving and the code is frequently updated, your custom designs could potentially be affected. Visit our release site or subscribe to our mailing list so you can be notified of any changes that may affect your masterpiece.

]]>
https://support.aklwebhost.com/knowledgebase/cpanel-branding-basics-a-guide-for-reseller-hosts/feed/ 0
3 Ways to Prevent Email Abuse https://support.aklwebhost.com/knowledgebase/3-ways-to-prevent-email-abuse/ https://support.aklwebhost.com/knowledgebase/3-ways-to-prevent-email-abuse/#respond Thu, 16 Jun 2022 15:18:57 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3309 Over 100 billion emails get sent per day. Everything from out-of-office alerts to billing summaries gets transferred across the web, from server to server. While we expect the things we send and deliver to remain secure, we know it isn’t always the case. There are various ways mail servers can be compromised, however, there are also a number of things that you can do, as a hosting provider, to prevent email abuse on your cPanel & WHM server. Here are a few of our easy-to-administer tips.

Require a Minimum Password Strength

We all know….well, we all should know the difference between a secure password and an insecure one:

Less secure: amy1234

More secure: ~4my0n3tw0thr334

With that in mind, ensuring your mail account holders are using secure passwords is one of the simplest ways to protect their information. While capitalization, symbol usage, and spelling all factor into password security, as a hosting provider, you can set a character minimum to ensure that all of your users have a base level of protection.

Learn more about Password Strength Configurations>>

Enable cPHulk

Familiar with the 2012 Marvel film The Avengers? In the final battle sequence, a seemingly unstoppable (keyword) alien army attempts to take down NYC — that is of course until the neurotically lovable Bruce Banner turns into his not-so-jolly green alter ego.

cPanel & WHM includes its own secret weapon that was developed to defend against the onslaught of brute force attacks. By enabling cPHulk, you can drastically prevent brute force attacks  from affecting your users, your accounts, or your machine. Simply toggle the feature on from your Security Center and prevent malicious software from trying to muscle through your password security.

Find out the full power of cPHulk by reading our Documentation Site>>

Enable SMTP Restrictions

All online activity happens through a series of rules called protocols. For mail, SMTP, or Simple Mail Transfer Protocol, is the method used to submit messages to mail servers for delivery to the recipient.

With SMTP Restrictions, a feature you can enable straight from WHM,  you can prevent spammers from directly interacting with your remote mail servers or even working around your mail security settings.

Curious about SMTP Restrictions? Find out more here in our Documentation>>
There are, of course, many more ways you can up the security on your mail server and protect your customers. If you found this article helpful, be sure to share it with others. If you have a few tips for mail security worth mentioning, let us know by leaving a comment below.

]]>
https://support.aklwebhost.com/knowledgebase/3-ways-to-prevent-email-abuse/feed/ 0
How To Install SSL Certificate Into cPanel VIA Let’s Encrypted https://support.aklwebhost.com/knowledgebase/how-to-install-ssl-certificate-into-cpanel-via-lets-encrypted/ https://support.aklwebhost.com/knowledgebase/how-to-install-ssl-certificate-into-cpanel-via-lets-encrypted/#respond Fri, 09 Oct 2020 23:29:37 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3277 Before get started to install Free SSL certificate on your domain, please make sure your DNS configuration is correct, if your DNS configuration is incorrect then SSL certificate will not installed on your domain.

1) Open your cPanel hosting account. Scroll down to SECURITY tab and click on Lets Encrypt SSL tab.

2) When Let’s Encrypt Certificate APP will open click on ISSUE button to install certificate on your domain.

3)  Then check the button for cPanel subdomains after that click on ISSUE button to start the installation processes it will take 2 to 3 min to install certificate on your domain.

4) Your Free SSL certificate has been installed on your domain.

]]>
https://support.aklwebhost.com/knowledgebase/how-to-install-ssl-certificate-into-cpanel-via-lets-encrypted/feed/ 0
Converting from EasyApache 3 to EasyApache 4 https://support.aklwebhost.com/knowledgebase/converting-from-easyapache-3-to-easyapache-4/ https://support.aklwebhost.com/knowledgebase/converting-from-easyapache-3-to-easyapache-4/#respond Tue, 21 Jul 2020 11:01:43 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3270

Important!

EasyApache 3 was deemed completely end of life on . Anyone using the latest version of cPanel has been migrated automatically to the new system. These directions are for those people using end-of-life versions of cPanel (v76 or earlier).

You should immediately upgrade to EasyApache 4 (if you haven’t already) to avoid some potentially serious security issues.

EasyApache is the name of the cPanel system that installs and updates the Apache web server on supported operating systems.

If you are using an older version of cPanel, here is how to migrate from EasyApache 3 to EasyApache 4.

Converting from Within WHM

Follow these directions if you prefer to try the conversion from WHM.

  1. Log into WHM as root. Typically you can do this by accessing https://YOURSERVERNAME.COM/whm (Replace YOURSERVERNAME.COM with the sever’s hostname or your server’s main IP address.)
  2. Check to see if you are still using EasyApache 3 by selecting EasyApache 3 from the Software section of the WHM sidebar on the left. If you don’t see that option, you either aren’t logged in as root to WHM or your server is already converted to EasyApache 4 or you are using cPanel v52-58,
  3. If you are using EasyApache 3, you will see an EasyApache 4 Migration link near the top of the screen. Click on it.
  4. The system will walk you through the process of converting to EasyApache 4.
  5. The tool will warn you about any conditions that stop the conversion from happening. If so, address any reported concerns and try again.
  6. When complete, check your websites to make sure they work as expected.
    1. Errors after conversion are most often caused by incorrect directives in .htaccess files. Try removing any PHP directives from there or any custom php.ini files and then try setting the needed PHP options in that domain’s cPanel account instead.

Converting from the SSH Shell (Command Line)

You could also choose to handle the conversion to EasyApache 4 from the shell when you are logged into SSH as the root user.

cPanel Inc. recommends that this command gets run as the root user and not as a wheel user executing as root.

  1. Log into SSH as root to the server you want to convert.
  2. Execute the following command:

    Convert EA3 to EA4
    /usr/local/cpanel/scripts/migrate_ea3_to_ea4 --run
  3. The tool will warn you about any conditions that stop the conversion from happening. If so, address any reported concerns and try again.
  4. The conversion process will begin.
  5. When complete, check your websites to make sure they work as expected.
    1. Errors after conversion are most often caused by incorrect directives in .htaccess files. Try removing any PHP directives from there or any custom php.ini files and then try setting the needed PHP options in that domain’s cPanel account instead.

If you’d like more information about what the conversion process actually does, review the following documentation from cPanel Inc.:

https://documentation.cpanel.net/display/EA4/How+to+Install+or+Uninstall+EasyApache+4
https://documentation.cpanel.net/display/EA4/The+EasyApache+3+to+EasyApache+4+Migration+Process

]]>
https://support.aklwebhost.com/knowledgebase/converting-from-easyapache-3-to-easyapache-4/feed/ 0
Changing the Default PHP Version in cPanel https://support.aklwebhost.com/knowledgebase/changing-the-default-php-version-in-cpanel/ https://support.aklwebhost.com/knowledgebase/changing-the-default-php-version-in-cpanel/#respond Tue, 21 Jul 2020 10:57:40 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3264 On cPanel servers with Easy Apache 4 (EA4) or later, it is possible for end users to select the version of PHP the domains or subdomains you manage from within your cPanel account, so long as the server administrator permits you to do so.

Changing a Domain or Subdomain’s Active PHP version

Start by opening the MultiPHP Manager interface by navigating to: cPanel >> Software and then clicking on MultiPHP Manager:

Check the boxes on the row of each domain you want to change in the Set PHP Version per Domain section:

Select the PHP version from the list on the right-hand side of the screen above the domain list, and then click Apply:

The altered domains should now reflect the updated PHP version accordingly in the list:

Can I Modify the PHP Version for a Single Directory?

Yes, this is possible in most cases under EA4, but unfortunately not from within cPanel itself. It requires manually adding some information to certain files in your account and is beyond the scope of this particular article.

]]>
https://support.aklwebhost.com/knowledgebase/changing-the-default-php-version-in-cpanel/feed/ 0
How To Chang the Default PHP Version in cPanel https://support.aklwebhost.com/knowledgebase/how-to-change-the-default-php-version-in-cpanel/ https://support.aklwebhost.com/knowledgebase/how-to-change-the-default-php-version-in-cpanel/#respond Tue, 23 Jun 2020 22:34:41 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3235 On cPanel servers with Easy Apache 4 (EA4) or later, it is possible for end users to select the version of PHP the domains or subdomains you manage from within your cPanel account, so long as the server administrator permits you to do so.

Changing a Domain or Subdomain’s Active PHP version

Start by opening the MultiPHP Manager interface by navigating to: cPanel >> Software and then clicking on MultiPHP Manager:

Check the boxes on the row of each domain you want to change in the Set PHP Version per Domain section:

Select the PHP version from the list on the right-hand side of the screen above the domain list, and then click Apply:

The altered domains should now reflect the updated PHP version accordingly in the list:

]]>
https://support.aklwebhost.com/knowledgebase/how-to-change-the-default-php-version-in-cpanel/feed/ 0
How do I create a cron job in cPanel? https://support.aklwebhost.com/knowledgebase/how-do-i-create-a-cron-job-in-cpanel/ https://support.aklwebhost.com/knowledgebase/how-do-i-create-a-cron-job-in-cpanel/#respond Sun, 21 Jun 2020 23:29:24 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3232 You can set the Cron job in the cpanel using the following instructions.

To access the Cron Jobs Menu, click on the corresponding icon located in the Advanced section on the main screen of your cPanel interface.

Adding a Cron Job
Step 1: To access the Cron Jobs Menu, click on the corresponding icon located on the main screen of your cPanel interface.
Step 2: (optional): Enter the email address where the cron output will be sent to in the corresponding field.
Step 3: Enter the command you wish the cron job to run in the blank field next to the Command field.
Step 4: Select how often you wish the command to be run by selecting an option in each of the boxes or by selecting a predefined period from the Common Settings drop-down menu.
Step 5: Click on Add New Cron Job to save your changes and set up your cron job.

Important The command run by the cron job must be a valid command.

]]>
https://support.aklwebhost.com/knowledgebase/how-do-i-create-a-cron-job-in-cpanel/feed/ 0
PhpMyAdmin – Wrong username/password. Access denied. https://support.aklwebhost.com/knowledgebase/phpmyadmin-wrong-username-password-access-denied/ https://support.aklwebhost.com/knowledgebase/phpmyadmin-wrong-username-password-access-denied/#respond Sun, 21 Jun 2020 23:26:30 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3230 If you logged in to your control panel but unable to run phpmyadmin and you get this error instead. (Wrong username/password. Access denied.)

Here’s what you need to do to fix it.

Login to your control panel and browse to the “Change Password” page under “Site Management” from cPanel and reset your domain password and try to run phpmyadmin again,

if it doesn’t work still, open a ticket via client area.

]]>
https://support.aklwebhost.com/knowledgebase/phpmyadmin-wrong-username-password-access-denied/feed/ 0
phpMyAdmin access Denied https://support.aklwebhost.com/knowledgebase/phpmyadmin-access-denied/ https://support.aklwebhost.com/knowledgebase/phpmyadmin-access-denied/#respond Sun, 21 Jun 2020 23:25:07 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3228 To fix an “Access Denied” error when trying to launch phpMyAdmin, reset your cpanel password

Login to your account as you normally do and click on the “Chanage Password” link >> enter your old and new password as required >> click on “Change your password now!” button

Logoff cpanel and log back in, if you still have a problem open a ticket with your cpanel login information

]]>
https://support.aklwebhost.com/knowledgebase/phpmyadmin-access-denied/feed/ 0
I can’t create a database in phpMyAdmin https://support.aklwebhost.com/knowledgebase/i-cant-create-a-database-in-phpmyadmin/ https://support.aklwebhost.com/knowledgebase/i-cant-create-a-database-in-phpmyadmin/#respond Sun, 21 Jun 2020 22:58:27 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3226 Databases need to be created in cPanel.

You can then edit your database from phpMyAdmin.

If you have created the database in cPanel and you are still getting this error, look for a line in the beginning of your .sql file that contains “CREATE DATABASE” and remove that entire line. Now you should be able to complete the restore.

]]>
https://support.aklwebhost.com/knowledgebase/i-cant-create-a-database-in-phpmyadmin/feed/ 0