Discover the top-rated web hosting providers with trusted reviews, expert comparisons, and the latest deals.
Select Currency 7 Currencies
Select Region 9 Editions
VPS Hosting

VPS (Virtual Private Server) hosting is highly popular these days, and there are VPS plans available for small, medium, and even huge business websites!

In comparison to dedicated servers, VPS is pretty low-cost, and your enterprise remains independent if you buy a VPS plan!

Cheap Hosting

If you're starting your first website, you want to spend less on premium web hosting, worry about website performance, or know anything about CPU cores. You only need to consider usability, customer service, and long-term scalability.

Our experts have compiled a list of cheap hosting providers that combine affordability and reliability.

TheWebHostingDIR
DISCUSSION VPS Hosting

cPanel VPS Configuration

Asked by Conjuand
15 years ago
2,757 views
3 answers

Hello

I have just purchased a cPanel VPS from Host Dime. I am going to be installing cPanel shortly. After cPanel is installed can somebody list the security modules etc I need to install on the VPS and basically everything I need to do before it is fit for hosting clients?

Thanks!

3 Answers

24x7servermanagement 2
answered 9 years ago

1.First of all, install the firewall. Here are the steps for you -

Install CSF Firewall

cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

Edit /etc/csf/csf.conf and make the following changes (both settings are near the top of the file):

TESTING = "0"
RESTRICT_SYSLOG = "2"
Save

Now go to WHM > Security Center > SMTP Restrictions > Disable and then run: csf -r

ModSecurity Vendors

2. Install OWASP ModSecurity Core Rule Set (the default one available on that page)

Once installed, press edit on it.
Turn off:
rules/REQUEST-12-DOS-PROTECTION.conf
rules/REQUEST-13-SCANNER-DETECTION.conf
rules/REQUEST-20-PROTOCOL-ENFORCEMENT.conf
rules/REQUEST-30-APPLICATION-ATTACK-LFI.conf
rules/REQUEST-42-APPLICATION-ATTACK-SQLI.conf
rules/REQUEST-43-APPLICATION-ATTACK-SESSION-FIXATION.conf

========================================================================

3. Password Strength Configuration
Set Default to 70
Save

4. Shell Fork Bomb Protection
Enable Protection

M
answered 15 years ago

1) Installation of Firewall (CSF)
2) Securing /tmp Partition
3) Securing and optimizing Mysql
4) Scanning VPS Hosting with RKhunter
5) Installation of Mod_Security
6) Disable PHP functions
7) Disable direct root login

M
answered 15 years ago

Host dime/ Vpslatch vps's aren't any good for hosting unfortunately due to their process limits every service/operation web page served spawns a new process.

their only good for testing/development purposes

Your Answer

Please share accurate, constructive advice to help other community members.

Posting as Guest / Community Member
Live Preview

Posts are reviewed by moderation to maintain community quality and eliminate spam.

Link copied to clipboard!

Hosting Companies insights