This Post will help you in setting Max Emails allowed per hour in various Levels: To set the Value Server Wide: You can set the value in the following file in the case of cPanel: ===== /var/cpanel/maxemailsperhour===== You can set this limit at the user level by editing the following… Continue Reading cPanel max emails per hour, max emails per domain

Prompt for Username and password when accessing the site in Plesk:============================================ Issue : We may get a pop-up prompting for username and password when we access a site in the browser. Cause : The permission for the User will be wrong. Resolution : Please check whether ‘Plesk Domain user, Plesk… Continue Reading Site prompting for username and password when accessing in browser

You can check with the following command to see the opened/closed ports of a server: ======# nmap -P0 -T4 -sV -p- Server_IP_AddressStarting Nmap 5.00 ( http://nmap.org ) at 2012-02-16 06:28 ISTConnect Scan Timing: About 90.53% done; ETC: 06:47 (0:01:47 remaining) Interesting ports on xxx.xxxx.xx (Server_IP_Address): Not shown: 65480 filtered ports,… Continue Reading Command to check the opened/closed ports in a server

Now a days we are getting more DDOS issues. In order to track down the actual site undergoing the attack, following commands will help you. Find the IP to which connections are established: # netstat -plan|grep :80|awk {‘print $4’}|cut -d: -f 1|sort|uniq -c|sort -nk 1 This will give you IP… Continue Reading To troubleshoot DDOS

Script to check the load of all VPS from the main node: # for i in `vzlist |egrep -v ‘(VEID|CTID)’ |awk ‘{print $1}’`; do echo “For VEID $i (`vzctl exec $i hostname`) —>” ; vzctl exec $i w ; echo; doneInstead of “w” replace with the COMMANDS you need to… Continue Reading Script to check Virt VPS load (and other commands)

You can make use of the following script to generate a backup of all the databases and also restoring the DB from the available backup in cPanel owned by a particular user. ============= #!/bin/bash cd /var/lib/mysql ls -al | grep username | awk {‘print$9’} > dblist for i in `cat… Continue Reading Script to Make a backup of the current database and restore DB from the available backup of all the database owned by a particular user in cPanel

WordPress index page hacked by hackers. You need to replace the new index page in the current wordpress directory. May of my customers gave a complain that the wordpress index.php files are hacked by the hackers. They are placing their own logo or hack message in the wordpress. How can… Continue Reading WordPress index hacked page recovery

The WordPress website will not be loading fine. Check the following factors to resolve the issue. 1. If you are getting a database connection problem, then go to wp-config.php file and gather the information about the database settings and the database user login details. Cross check whether the login credentials… Continue Reading Common issues with WordPress and their Fixes

WordPress index file. “index.php”. This file can be used if the index hacking has done in the wordpress.