How to change file permissions in cPanel

Step 1: Log in to your cPanel Step 2: Click  on “File manager”  under the section ” FILES’ Step 3:  You can change permission directly by clicking here. Step 4:   Or  You can change it alternatively by clicking ‘ Permissions ‘ button. Step 5: Select the permission you want to assign and click change. The new permission level is saved and the…

Read More Read More

How to reset Password from cPanel

We highly recommend to periodically reset the cPanel and all important passwords related to your hosting accounts, because most account compromises are the result of poor or lack of security on the part of  user accounts, including shared or weak passwords and insecure permissions. Here you can find the steps to reset the cPanel password. Step 1: Log into your…

Read More Read More

Disable modsec for a domain

Because of security reason this method is permitted only for the root or super user.   Method 1: Add below mod_sec tag in corresponding virtual host in httpd.conf <IfModule mod_security2.c> SecRuleEngine Off </IfModule> Restart httpd /etc/init.d/httpd restart   Method 2: Create a directory: mkdir -p /usr/local/apache/conf/userdata/ std/2/username/domain.com Then create a file: /usr/local/apache/conf/userdata/std/ 2/username/domain.com/ mod_security.conf In that file add: <IfModule mod_security.c>…

Read More Read More

How to Add Multiple IPs in Linux Server with Single Network Interface

This is called as IP aliasing. This is very useful for setting up multiple virtual sites on Apache using one single network interface with different IP addresses on a single subnet network. This can be done through two methods. Please find them below, Method 1: Add every IPs manually by creating seperate “ifcfg-” files cp -p /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0 vi /etc/sysconfig/network-scripts/ifcfg-eth0:0…

Read More Read More