Some times there may arise some problem in adding a domain using WHM Creade account function and recive this error message that indicates the domain i still in virtualhost in apache configuration httpd.conf
this may have many reasons that mostly is because of
1-that domain is added before and is the primary …
24 December 2011
No comments
#!/bin/bash
BACKUPS=$(ls -al /home/*.gz |awk ‘{print $9}’)
for i in $BACKUPS
do
echo "Restoring $i now…."
/scripts/restorepkg $i
done
24 July 2010
No comments
Cpanel virtualhost Function
Cpanel will always create apache configration and virtual host by its own template and every domian creation or susspenssion or termination or any thing else related to virtualhost configration of apache if being done will resultin cpanel to recreate apache virtualhost configration that will overwrite other custom modified …
25 June 2010
No comments
Cpanel has ready made scripts that will make your works so easier
such are pkgacct for backing up and restorepkg for restoring individual accounts through command in ssh
First you need to login to the ssh as root
Create Backup of Individual Account
Then use the following command to backup that spicific account:
/scripts/pkgacct username
Notice …
17 May 2010
No comments
For security resons not to allow php shells to be able to run on your server you must disable the shell_exec function in the php.ini using disable_functions
but when you do so on the time you want to autoinstall a cms with fantastico within your cpanel as a customer, you will …
10 May 2010
No comments
about 13 month ago i was looking for a free Hosting manager to manage my accounts, and do the actions such as creating invoices, susspending, terminating accounts in automated mode.
I searched in google and I found “fhm-script.com” which was so cool but was in a bad shape and bad design …
15 March 2010
No comments
if you have WHM/Cpanel already installd as a WebHost manager then you will gain this great feture of secureing temp by just running a simple command
just run the following command:
/scripts/securetmp
result:
root@box01 [~]# /scripts/securetmp
Would you like to secure /tmp & /var/tmp at boot time? (y/n) y
Would you like to secure /tmp & …
5 March 2010
2 comments
type the folowing command into ssh
cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz
21 February 2010
No comments
It is so much important to have backup at least of a month ago
As no server is 100% secure and even your server may became hacked someday or maybe your server would crashed or even the hard may burned up without any speaking reasons, Having a backup will gelp you …
5 February 2010
No comments