Just Host Web Hosting Help

Antivirus on Dedicated or VPS servers

Overview

If you suspect malicious content, hacks or a virus on your VPS/Dedicated account here are some tools located in your WHM that you can use.

WHM Settings

You will need to be able to login to your WHM, if you haven't done that before please see How to login in to WHM

  1. Login to the WHM by going to yourdomain.com/whm.
    The WHM login.
    The WHM login.
  2. If this is your first time logging into the WHM you may see a page titled "Feature Showcase". Click on Exit to WHM at the bottom of the page.
    The Feature Showcase page with 'Exit to WHM' spotlighted.
    The Feature Showcase page with "Exit to WHM" spotlighted.
  3. In the top left search bar type "Manage Plugins", then click on the Manage Plugins link.
    Searching for manage plugins.
    Searching for manage plugins.
  4. Under ClamAV click on "Install and keep updated" then scroll down and press save to start the install. This can take some time depending on how much CPU you have to spare.
    The Clam AV plugin install page.
    The Clam AV plugin install page.
  5. Once the install is done perform another search for "Configure ClamAV Scanner". Go to the configuration page and make sure all boxes are checked.
    Searching for Clam AV.
    Searching for Clam AV.
  6. Go to the Feature Manager.
    The feature manager in the WHM.
    The feature manager in the WHM.
  7. Edit the feature list to show "Virus Scanner".
    The edit list option in the feature manager.
    The edit list option in the feature manager.
    The Virus Scanner option in the Feature list.
    The Virus Scanner option in the Feature list.
  8. Now you are ready to start the scan. From the cPanel, in the advanced group of icons, you should see an icon now called "Virus Scanner". Click on it.
    The virus scanner icon.
    The virus scanner icon.
  9. Choose what you would like to scan. Keep in mind that "Scan Entire Home Directory" Would scan the entire Cpanel account however will use the most CPU and might result in slowness.
    The virus scanner page.
    The virus scanner page.

Using systems like cloudflare can help block hackers before they can access your site as well.

Most of the vulnerabilities a hacker uses to gain access to your home directory or public_html folder are often located in your website scripts. Making sure scripts are up to date as well as any plugins and mods can be very helpful in keeping security tight on your system.

Knowledgebase Article 22,256 views bookmark tags: clamav dedi dedicated malware virus vps


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to install ClamAV to help with virus protection.
Knowledgebase Article 44,345 views tags: antivirus clamav cpanel dedicated plugin server whm

This article will explain some common causes for 500 errors on Dedicated or V.P.S servers.
Knowledgebase Article 28,937 views tags: dedi dedicated error server vps

To help with transferring of accounts from other servers to your account.
Knowledgebase Article 82,771 views tags: account dedicated multi multiple reseller single transfer whm

Related Help Content

This article will explain how to create and manage users on Dedicated or VPS servers.
Knowledgebase Article 20,769 views tags: dedi dedicated users vps

How to fix inaccessible backups on Dedicated or VPS servers due to backup size.
Knowledgebase Article 15,005 views tags: backup dedi dedicated inaccessible loop stuck vps

This article will explain how to configure your dedicated or VPS server to use the new (non legacy) backup system.
Knowledgebase Article 12,875 views tags: backup dedi dedicated vps

This article will explain how to restart the email related services on a Dedicated or VPS server. This may be useful if you are experiencing trouble with your email.
Knowledgebase Article 21,363 views tags: dedi dedicated dovecot exim mail restart vps whm

This article will explain how to clear the outbound mail queue on a dedicated or VPS server.
Knowledgebase Article 24,109 views tags: dedi dedicated mail queue vps

This article will explain how to view the email logs on a Dedicated or VPS server. This may be usefull if you are experiencing trouble with your email.
Knowledgebase Article 21,099 views tags: dedi dedicated logs mail vps whm

This article explains how to manager your ports through IPTables.
Knowledgebase Article 18,914 views tags: close dedi dedicated iptables open ports vps

How to setup name servers for multiple cPanel accounts.
Knowledgebase Article 112,112 views tags: accounts custom dedicated multi multiple nameservers server servers