How to solve “404 Not Found” error while accessing subpages on website. Date: 17-01-2021 Step 1: You need to enable Apache2 rewrite module by using below command.# sudo a2enmod rewrite Step 2: Restart Apache2.# sudo systemctl restart apache2 Step 3: Add the below details in your website Apache (etc/apache2/sites-available) configuration… Continue Reading How to solve “404 Not Found” error while accessing subpages on website.

Please follow the below steps inorder to download files from S3 bucket 1) yum install s3cmd- Cent OS sudo apt-get install s3cmd – Ubuntu/Debian 2) s3cmd –configure It will ask for Access key & Secret key. Give them and proceed further 3) List all S3 bucket s3cmd ls 4) Download… Continue Reading How to download files from S3 bucket to local machine or server

Login to AWS console and go to S3. Create a new S3 bucket or if you want to copy the objects to another existing bucket, you can use it. Install and configure the AWS Command Line Interface (AWS CLI) with the below steps.a) curl “https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip” -o “awscliv2.zip”b) unzip awscliv2.zipc) sudo… Continue Reading How to copy objects from one bucket to another bucket in the same region.

How to create Sending API for domain in Mailgun Date: 09-01-2021 Step 1: Login to the mailgun portal Step 2: Click on Domains under the Sending section on the left side. Select the domain in which you wish to create a sending key. Step 3: Click on Domain Settings and navigate to… Continue Reading How to create Sending API for domain in Mailgun

Install PHP 7.2-mcrypt Module on Ubuntu 18.04 Date: 01-01-2021 Introduction: The PHP mcrypt module has been deprecated in PHP 7.2 so it’s not available by default. PHP 7.2-mcrypt package is missing in Ubuntu server. You need to follow the below steps to install this module for PHP 7.2. Step 1:… Continue Reading Install PHP 7.2-mcrypt Module on Ubuntu 18.04

Sometimes we may run in to troubles when one of our web-server or site is down,We should be able to identify this problem which are likely causing the issues and fix the problem. Please follow the below steps which are the some of the common steps taken by administrators when… Continue Reading How To Troubleshoot When your site is down on a Linux Server

How to secure MongoDB databases Date: 22-12-2020 You must edit mongod.conf, MongoDB’s configuration file to enable authentication. Once you enabled it and restart the Mongo service, users will still be able to connect to the database without authenticating. However, they won’t be able to read or modify any data until… Continue Reading How to secure MongoDB databases

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

How to solve the Website internal server error from the following apache error log”Invalid command ‘Header’ perhaps misspelled or defined by a module not included in the server configuration” Date: 16-12-2020 Step 1: You are getting above error due to header module is not enabled in Apache on Ubuntu. You… Continue Reading How to solve the Website internal server error from the following apache error log”Invalid command ‘Header’ perhaps misspelled or defined by a module not included in the server configuration”