ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Optimize your WebHost Manager (WHM)

Updated on December 31, 2010

Optimizing and Securing WHM

Web Host Manager (WHM) is an all in one system that allows simple administration over your VPS. You use WebHost Manager to create individual accounts, add domains to your server, manage hosting features, and performing basic system and control panel maintenance. WebHost Manager is used in conjunction with cPanel. cPanel is designed for managing particular domains or hosting accounts on your dedicated or virtual dedicated server. End users can control everything from adding/removing email accounts to administering MySQL databases.

You can easily optimize and secure WHM by configuring a few options in the GUI itself that can increase your server's productivity.

WHM > Server Configuration > Tweak Settings

Mailman

Mailman is a memory glutton. It runs constantly as a process, gobbling memory for no good reason. Mailman allows you to create and manage mailing lists. Mailing lists allow you to send an email message to a single address, which then forwards it to multiple addresses.

If you don't need it, pop into WHM >> Server Configuration >> Tweak Settings >> Enable Mailman mailing lists and turn it off.

SpamAssassin Server

If you don't need anti-spam, nowadays most e-mail software/webmail provide anti-spam protection, so no point running it on your server, unless mail security is essential, also if you need it, you need to configure it properly so at least its not such a big performance hit.

Stats Programs

Statistical analysis programs allow your users to view information about their site visitors. Well with google analytics and other offsite statistics software, you can live with just one stats software and webalizer is probably the lightest, disable the rest.

Webmail

Unless you are hosting, most people are using pop3/imap or just offsite mail, so choose the most basic like squiremail, disable the RoundCube and Horde webmail.

FTP - File Transfer Protocol

In WHM >> Service Configuration >> FTP Server Configuration, there is an option to change 2 settings for FTP.

Allowing anonymous logins in generally considered to weaken the security of the server. Setting this option to "No" is recommended.

Allowing anonymous uploads in generally considered to weaken the security of the server. Setting this option to "No" is recommended.

WHM > Security Center

Apache mod_userdir Tweak > Enable mod_userdir protection

The mod_userdir feature provides the ability to view websites on your server by typing your hostname followed by a tilde and the website owner's username. (Example: http://host.example.com/~username.) Disabling this is desirable, as the bandwidth used when the site is accessed using this method is attributed to the web host's main domain, skipping bandwidth monitoring systems.

Shell Fork Bomb Protection > Shell Fork Bomb Protection

Fork Bomb Protection will prevent users with terminal access (ssh/telnet) from using up all the resources on the server. Unchecked resource allocation can potentially lead to a server crash. It is recommended that this protection be enabled for servers providing terminal access.

Compiler Access > Disable compilers

Many common exploits require a working C compiler on the system. This tweak allows you to deny compiler access to unprivileged users; you can also choose to allow some users to use the compilers while they remain disabled by default. You can grant access to specific users by clicking Allow specific users to use the compilers. To remove compiler access for a user, click that user's name under Remove a user from the compiler group.

How to Enable/Disable the SSH service from WHM?

Due to various reasons you may want to disable or enable SSH access to your VPS. Here is how to do this easily:

1) Connect to your WHM panel.

2) Scroll down in left hand menu to the section called "Service Configuration".

3) Find the link "Service Manager" and click it.

4) From the main screen find the name "sshd" (Secure Shell Daemon) located in "Service Information" column.

5) Uncheck the check boxes against the "sshd" to disable the service or make the opposite, to activate it.

Click "Save" button in the bottom of the page for the changes to take effect.

WHM > System Health > Background Process Killer

This feature allows you to pick programs that should automatically be terminated if they are found running. After a process is killed, you will receive an email notifying you that the process that has been killed. The processes in the list commonly result in denial of service attacks (DoS or DDoS) launching from or against your server. Many times, malicious users will rename the process so that it is difficult to find. However, this WHM feature will detect the process no matter what it has been renamed and automatically shut the program down when it is encountered.

Check the following and then save:

BitchX - A popular command line IRC client.

bnc - BNC is a common IRC bouncer.

eggdrop - A popular IRC bot.

generic-sniffers - Sniffers can be used by a 3rd party to collect and analyze packets of information as they are transmitted between computers.

guardservices - An IRC bot.

ircd - The daemon that enables IRC.

psyBNC - psyBNC is a popular IRC network bouncer.

ptlink - ptlink is an IRC server.

services - An IRC bot.

working

This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://corp.maven.io/privacy-policy

Show Details
Necessary
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
Features
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Marketing
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Statistics
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
ClickscoThis is a data management platform studying reader behavior (Privacy Policy)