How to redirect www to non-www URL using htaccess
To redirect all www traffic to non-www URL – you need to add the following lines in .htaccess file: RewriteEngine On RewriteCond ...
How to create Raid1 mirroring with 3rd & 4th Drives in OVH servers
OVH panel offers easy Raid configuration for the partitions in up to 2 drives. Recently I was working on a server that has 2 SSDs and 2 ...
How to clean /tmp directory automatically in Linux/cPanel using tmpwatch
The “tmpwatch ” command in linux is to removes files which haven’t been accessed for a period of time. The tmpwatch recursively ...
How to recursively change Directory & File permission to 755 & 644 respectively
To change all the directories to 755 (drwxr-xr-x): find /directory_location -type d -exec chmod 755 {} \; To change all the files to ...
How to force redirect http to https using .htaccess
If you have an SSL certificate installed and would like to force your website to load with https URL – you may add the following ...
10 best Web Hosting companies – Plans & Pricing 2019
# 1 HostGator is the largest shared hosting service provider in the whole world. There are good reasons for which millions of clients ...
Whitelist IP or IP range in/out using iptables
#Flush existing rules iptables -F # Set up default DROP rule for eth0 (Assuming eth0 is the Ethernet Port) iptables -P INPUT DROP # ...
Why email accounts get hacked and How to prevent it
As a web hosting professional, I often come across with issues where clients’ email get hacked. It is not something tough to ...
How to check your website rank for certain keywords?
Want to check what your website rank is for some certain keywords? Here is the link where you can check your website rank in SERP ...
GMail Phishing scam – Becareful !!
If you are a tech savvy person – you probably know how phishing works. However, this time attackers tried to use optical illusion ...