We want to reset an admin’s password on an Ubuntu system. Step1: When Booting up the machine, we hold down the left Shift or Esc key. Step2: Select Recovery Mode. Use the arrow keys to scroll to the first boot option from the top that contains (recovery mode). Hit Enter. Step3: Select root. Use the arrow keys to… Continue Reading How to Reset Password on Ubuntu Linux

Introduction If you have the “Mount Backup Drive as Needed” option enabled, cPanel reads the /etc/fstab configuration and looks for a configuration that matches the backup directory that you have configured in the Backup Configuration interface of WHM. It then uses the configuration from the /etc/fstab file to mount the disk that is configured to mount… Continue Reading How to use the automount feature with cPanel backups

Introduction In some cases, you may wish to keep more than one backup of your accounts. Through the WHM Backup Configuration page, you can easily adjust the number of backups that you want to keep.  Procedure To do so, please follow these steps: Log into your server’s WHM interface. 2.… Continue Reading How-To adjust the number backups retained by WHM

Step 1: Login to your cPanel account and find Spam Filters.  Step 2:Click on “Show Additional Configurations” at the bottom. Step 3:Next, click “Edit Spam Whitelist settings”. Step 4:Click “Add A New “whitelist_from” Item”. If SpamAssassin often blocks certain email senders and marks its emails as spam (incorrectly), it is… Continue Reading How do I whitelist a domain in Spam Assassin on cPanel

Date Posted: 31-01-2018 In this Post we will explain How to Setup lftp – A Simple Command Line FTP Program. This article is about Lftp and how we can install Lftp in our Linux Operating System. Lftp is a command line based File Transfer Software also known as FTP Client.… Continue Reading Connecting to an FTP Server with LFTP

Step:1 – Deny all hosts deny all incoming SSH connections Open file /etc/hosts.deny by using a text editor:  vi /etc/hosts.deny Add the following line to deny all incoming SSH connections to the server:  sshd: ALL Save and close the file. Step:2 – Allow IP Address Open the file /etc/hosts.allow file by using a text… Continue Reading Restrict SSH login to a specific IP or host

Sometimes we may delete the cPanel account accidentally. May be we will be having the backups enabled but still inorder to get the latest backup before termination, you can use the below script. Go to the below path/usr/local/cpanel/scripts Create a file with name “prekillacct”vi prekillacct Install AWS CLI in the… Continue Reading Script to backup the cPanel account to S3 before the termination

Please find the below steps to monitor the website using status codes. Nagios supports monitoring the website using status coodes and there is a command in /etc/nagios-plugins/config/http.cfg . Example:- We can use a command like below to monitor a URL like https://domain1.com. define command{ command_name check_https_url command_line /usr/local/nagios/libexec/check_http -H domain1.com… Continue Reading Monitoring website using status codes on Nagios

Please find the below steps in configuring the SMTP Gsuite relay service: 1) Disable 2 factor. You can check the below link to disable the 2factor. https://support.google.com/accounts/answer/185833?hl=en 2) Turn on Less secure apps. Please find the below link to turn on.https://myaccount.google.com/u/1/lesssecureapps 3) Sign-in to you google admin console using administrator… Continue Reading Mail Configuration using the SMTP Gsuite relay service

Follow the below steps to enable ACME challenge mkdir .well-known unde var/www/example.com(document root) mkdir acme-challenge under .well-known create file test.txt under acme-challenge goto /etc/nginx/sites-avaialble/example.com and add the below lines You can see the example below.