cPanel Data transfer. *** Before performing the account transfer, please setup the servers to ‘SSH without password’ *** The below given is the script to transfer. # vi transfer_accounts.sh#!/bin/bash for i in `cat /etc/trueuserdomains | awk -F: ‘{print $2}’` do /bin/echo “$i” /scripts/pkgacct $i file=$(ls /home/cpmove*$i*) /bin/echo “$file” scp -P PORT $file root@IP:/root wait ls […]
Archive for the ‘cpanel’ Category
Packages not being displayed in Reseller WHM after transfer
1. Check if the packages are displayed under Create Account option in Reseller WHM.2, If so check the package names : they should be prefixed with its owner name ‘user_'(Reseller account name).3. If the username prefix is missing, it will not be available for editing or deleting in reseller WHM. E.g: For a package ‘testpack’ […]
Accessing Cpanel or Webmail on port 80
Sometimes customers complain about not being able to access Cpanel/Webmail as they are behind some firewall blocking the ports 2082 or 2095. If it is something that cannot be unblocked, then the only solution is to accesss the control panel/webmail via port 80. There is a script called cpanelproxy.php that help us to configure it. […]
Upgrade Perl to 5.8.8 (Cpanel 11.4.2)
The cpanel 11 requires perl version 5.8.8. To upgrade the perl version in the server you can use following steps:- 1. Download perl 5.8.8 using following link:- [root@serv ~]# wget http://layer1.cpanel.net/perl588installer.tar.gz 2. Untar the tar package using following command [root@serv ~]# tar -vzxf perl588installer.tar.gz 3. Then Install [root@serv ~]# cd perl588installer [root@serv ~]# ./install Once this has […]
Creating a Ruby On Rails application in Cpanel
Ruby On Rails icon is there in cpanel theme from cpanel 11 onwards. You can create a Ruby On Rails application in cpanel by following steps given below. 1. Login to cpanel 2. Click on the Ruby On Rails Icon in cpanel. 3. Fill in the “App Name” box with the application name you want […]
Cpanel/WHM: License expired error
If “License expired” error is encountered while accessing the cpanel/whm, it can be fixed by following below mentioned steps: 1. Check whether the license is expired. This is the most obvious cause and simple to verify. Access the URL ‘http://verify.cpanel.net/’ and check the IP of the server. 2. If it is “active”, Run the following command: $ […]
Basics Of cPanel : Access Information
cPanel is a control panel used in the server to handle different functionalities of a domain. This control panel is highly useful in web hosting industry. cPanel is used for server administration as well as domain administration. The server wide control panel is named as WHM(WebHost Manager) and the domain wise control panel is cPanel […]
Block IP addresses from accessing the site
You can block IP addresses from accessing the site by adding the following lines in .htaccess file. order deny,allow deny from 192.168.1.40 The order directive set the order in which the allow and deny directives will be processed and also the default access control state. In the above case, the default access control state is […]
Hide apache web server version
It is possible to hide apache web server version and other information. This is done for security reasons. It is not a good idea to broadcast the version of the software that you are running on the server. You should have noticed the following details(or something similar) when an error page is displayed. Apache/2.2.9 (Unix) […]



