Introduction In this article, we will migrate the WordPress website from the source domain to the subdomain. Prerequisite Procedure Step 1: Login into the source domain server and find the document root on the domain configuration file(depends on the webserver installed on server). $ sudo cd /etc/<webserver>/sites-available/domain.conf Step 2: Go to… Continue Reading How to do WordPress website migration from domain to subdomain

The following guide will help you get started with installing python3 and pip3 on Ubuntu 16.04. First install python 3 from the “deadsnakes” repository from the Python Package Accesories ( PPA ) Add the package to repository $ sudo add-apt-repository ppa:deadsnakes/ppa Update the repository $ sudo apt-get update Now Install… Continue Reading How to install python3 and pip3 in Ubuntu 16.04

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