Harden your Ubuntu 20.04 hosting server

We will look at some general server steps to harden your Ubuntu 20.04. 1. Set Auto-update On Ubuntu 20.04 # sudo apt install unattended-upgrades Now open the below file and edit # vim /etc/apt/apt.conf.d/50unattended-upgrades Uncomment this line :...

Secure Apache with Lets Encrypt – Ubuntu 20

With Ubuntu 20 released and available, many would be going to host the websites on it. How do you secure Apache with a free SSL ? Lets take a look. First make sure your domain has its A recorded pointed to the Ubuntu 20 server. Once that is made sure, lets install the...

CSF cheatsheet

Some useful CSF / LFD commands to do via SSH. CommandsPurposeExamplecsf -eEnable CSFcsf -xDisable CSFcsf -fFlush/Stop firewall rulescsf -d IP CommentBlock the IP csf -d 1.2.3.4 badguycsf -d IP/netmaskBlock the IP rangecsf -d 145.123.44.0/24csf -dr IPUnblock an IPcsf...

Securing your bitnami WordPress site with Free SSL

We will secure the WordPress site with the free SSL – Letsencrpyt. Note : Applicable only for domains having Apache as Web-server Make sure you have git installed # sudo apt-get install git # cd /tmp # git clone https://github.com/certbot/certbot # cd certbot...

Setup Free SSLs on your shared cPanel account

At times, the hosting guys wont enable the AutoSSL option or you wont find the letsencrpyt plugin in your cPanel interface to install Free SSLs. So how will you go about ? You can go to https://www.sslforfree.com/ and enter your domain name. After you give the domain...