Blog

Blog

13 May
2018
ColorHosting zapbase

Script to restart server if load increases above a given limit

Here is the script to restart a server automatically if it’s load increases above a limit : #!/usr/bin/ bash LOAD=`uptime |awk ‘{print $NF}’` LOADCOMP=`echo $LOAD \> 10 |bc -l` if [ $LOADCOMP -eq 1 ] then /sbin/shutdown -r 0 fi Note : Here 10 defines the server load, you can adjust as per your need. […]

02 May
2018
ColorHosting Deepak

Setting up Virtual Hosts on Windows, Linux, and MacOS

Want to test something on local and DNS Propagation is taking time? Here you can edit your System Host file and then proceed with your tests. Just follow this simple guide for setting up virtuals hosts on your system, whether its Windows, Linux, or macOS. Requirements Administrator Access (Windows only) sudo access (Linux and macOS only) […]

30 Apr
2018
ColorHosting Deepak

Guide to install MailScanner on cPanel/WHM Server

Tired of SPAM emails in your WHM cPanel based server? No Problem, we will share an awesome tool that will be the solution to fix SPAM Emails. ConfigServer Services developed a very smart tool MailScanner for WHM/cPanel Systems. It can be called as an add-on for cPanel. MailScanner will scan all your emails for SPAM […]

10 Apr
2018
ColorHosting BaseZap

[Solved] How to control mail spam in WHM / cPanel

If you are facing problem that a user’s code is sending tons of spam mails and you can’t suspend that user or don’t wish to do same, here is the solution. You can simply suspend the outgoing email facility of that particular user (it won’t create log entries in your mail queue too) Connect to […]

13 Mar
2018
ColorHosting Deepak

Guide to Install NGINX on cPanel/WHM Server

Hello, Need NGINX on your cPanel/WHM Server and confused how to install and configure it? Don’t worry, we are here to help you out. Installing NGINX is very easy and quick on cPanel/WHM Server. We will use Engintron to install NGINX on your cPanel/WHM Server. There are a few basic requirements to follow this guide […]

13 Mar
2018
ColorHosting Deepak

Guide for Setting 301 Redirect Rules for .htaccess

Moved your website from one domain to other and have no clue how to redirect the traffic to a new domain? Then you are stumbled upon the right place. Here we will show how you can redirect your traffic to a new domain. This can be done by setting permanent 301 Redirect rules in the .htaccess […]

13 Mar
2018
ColorHosting Deepak

Learn about different types of Memory Limits in PHP | WHM

Curious about memory limits and their purpose? Your curiosity is over and its time to increase your knowledge today. In this article, we will discuss different types of memory limits and we will show how to set/change those limits in WHM. Requirements WHM Credentials Types of Limits memory_limit = 128M This limit means that how much […]

10 Mar
2018
ColorHosting Deepak

How to recover or recreate MYI file of a Table in MySQL DB

Hello, Today we will tell you about MyISAM and MYI file and how to recover or recreate MYI file for Table in MySQL Database. MySQL relational database management system prior versions to 5.5 were using MyISAM as a default storage system for databases. MyISAM is old but it has many useful extensions till date. MyISAM table […]

08 Mar
2018
ColorHosting Deepak

Guide for Installing Pure-FTPd and Creating Virtual Users

Hey Zappers, Bored of managing files over WebUI and want some change? So, we have a good choice for a change. We will show how you can install FTP Server on your VPS or Dedicated Machine using Pure-FTPd tool. We will also show you how you can create Virtual Users for FTP Service that can […]

24 Feb
2018
ColorHosting Deepak

Guide to Backup and Restore Redis Database and Automate

Hello, Today we will show how we can backup and restore Redis database and we will also show how we can automate the process of taking backup. Cronjob will be created for automation of the backup of the database on the machine locally. Requirements Redis-CLI installed on Linux Machine Redis Server Running Root Access to […]

NEED ADDITIONAL HELP? WE'RE HERE FOR YOU.

Our team is available and on-site 24/7 ready to help you.