As cPanel treats addon domain as a subdomain for main account so it is accessed in web browser as a subdomain but if you want to access the addon domain in web browser as: http://addondomain and not as as sudomain like :http://maindomain/addon domain. In that case we needs to create a .htaccess and define below rules: <IfModule […]
Category: Cpanel
PHPMYADMIN SHOWING BLANK PAGE
We come across a strange issue with phpMyAdmin. We keep getting a blank page although MySQL is installed and running just fine. In order to get this issue resolved run the following commands: /scripts/makecpphp –force /scripts/upcp –force Done. […]
Enable cagefs for cPanel Users
You can enable CageFS by using following commands: To enable CageFS for a single user: /usr/sbin/cagefsctl –enable <username> To enable CageFS for all users: /usr/sbin/cagefsctl –enable-all To disable CageFS for a user: /usr/sbin/cagefs –disable <username> […]
Cloudlinux multiple php Versions
PHP is the dominant language on the Internet, Many cPanel customers used multiple versions of php 5.2, 5.3, 5.4 and 5.5 for their customer php application. In Cpanel, CloudLinux providing option to select among multiple PHP versions. […]
How to Change php handler from cpanel/whm
To change php handler from cpanel/whm you need to search for the option “Configure PHP and suEXEC” from whm. Home »Service Configuration »Configure PHP and suEXEC You can now see the current configuration of php from the window under the “Current Configuration” option,There are 3 drop down boxes in the “Alter Configuration” here you can change the php handler by […]
How to Configure maldet to scan daily and get reports on mail
You can configure maldet to scan the whole server daily and get the report via mail. For that you need to follow the below steps, If you have maldet installed in your server see the next step. If not, for installing maldet click here. Go to the maldet configuration file, vi /usr/local/maldetect/conf.maldet Here you can […]
Install maldet malware scan on server
You can install maldet malware scan on Linux server by following the below steps, Go to, /usr/local/src/ Download the tarfile using the command below, wget http://www.rfxn.com/downloads/maldetect-current.tar.gz Now extract the file , tar -xvf maldetect-current.tar.gz Change the directory where extracted files located, cd maldetect-1.4.2 Install the maldet using the script, ./install.sh Maldet will be successfully installed […]
How to check installed perl modules in the server
To check installed perl modules in the server,run following command: perl -MCPAN -e ‘CPAN::Shell->r’ […]
Way to install pcntl in cpanel server
To install pcntl: Create a file called: /var/cpanel/easy/apache/rawopts/all_php5 Add this to the file: –enable-pcntl Run easy apache with the default settings. […]
Access files through ftp
To access files through ftp: ftp://ftpuser@domain.com/ The files in directory ftpuser will be accessed. […]