Each time you access a web page via web browser, the browser caches (i.e., stores) it. This makes the browser to act in a fast manner by optimizing the time to retrieve data each and every time. It is better to clear the browser cache periodically, in order to make… Continue Reading How to Clear Browser Cache

How to find Live Resource usage for a User: If Cloud linux is be enabled in the server, then you can use the following command to find resource usage:  # lveinfo –period=1W -u Output:# lveinfo –period=1W -u jahwaggyID              aCPU    mCPU    lCPU    aEP    mEP    lEP    aMem    mMem    lMem    MemF    MepF544             1  … Continue Reading Live Resource usage for a User

The  mail sent by nobody is usually restricted in most of the server in order to prevent spamming activity. In most of the CMS, the mail functions will be handled by the PHP scripts which has the ownership of nobody. You can see the following snippet present in the exim… Continue Reading Mail sent by user nobody being discarded due to sender restrictions in WHM->Tweak Settings

Reset WordPress admin password using database:  1. Find the database name in “wp-config.php” for the corresponding WP domain. 2. cd /var/lib/mysql 3. Take backup   mysqldump databasename > databasename.sql 4. Enter into MySQL prompt.   mysql root@hostname# mysqlWelcome to the MySQL monitor.  Commands end with ; or \g.Your MySQL connection id is… Continue Reading Reset WordPress admin password

 Art of Port Scanning  — namp We can find custom SSH port number using  nmap: command:  nmap -P0 -T4 -sV -p- “IP address”            -PO[protocol list]:  IP Protocol Ping           -T: Set timing template (higher is faster). By default it will be in milliseconds.           -sV: Probe open ports to determine service/version… Continue Reading Find custom SSH port number

Simple difference b/w Sub domain, Parked, and Add-On domain. Sub domain * Lets say your domain is mysite.com. * You install a Message Board and put in in a directory called mysite.com/board/. * You can turn the directory board into a sub-domain by adding it as a sub-domain from your… Continue Reading Simple difference b/w Sub domain, Parked, and Add-On domain.

Modules install with Apache to avoid DDOS attacks: To mitigate DDoS attacks, you can install : Mod_securityMod_dosevasiveMod_limitipconnDoS-Deflate ***************1) “Mod_security” : “Mod_security” is a module which helps us to protect our server from exploits that are passed though apache. Mod_security does this by inspecting the information send in apache and filtering… Continue Reading Modules install with Apache to avoid DDOS attacks.

Few steps to be taken when you feel that the server is under DDOS attack: Step 1: Check the load using the command “w”. Step 2: Check which service is utilizing maximum CPU by “nice top”. Step 3: Check which IP address is taking maximum connection using the command: netstat… Continue Reading Few steps to be taken when you feel that the server is under DDOS attack:

How to find the bandwidth utilized by individual users via SSH? 1)Create a new file with following code.2) chmod +x bandwidth3) Then execute the file with 2 parameters viz. month and year. vi bandwidth #!/bin/bash cd /var/cpanel/bandwidth/ls | grep -v “\.” | xargs -n 1 -izzz sh -c “echo -n… Continue Reading Find user Bandwidth via SSH shell (CPanel/WHM)

>> Hi. This is the qmail-send program at smtpgate2.pacific.net.sg.>> I’m afraid I wasn’t able to deliver your message to the following >> addresses.>> This is a permanent error; I’ve given up. Sorry it didn’t work out.>>>> :>> Connected to 180.210.205.241 but greeting failed.>> Remote host said: 554 5.7.2 Service denied,… Continue Reading Remote host said: 554 5.7.2 Service denied, closing transmission channel