Viewing Category » cpanel

How to fix Sorry, that domain is already setup (remove it from httpd.conf?) on CPanel

Post Thumbnail of How to fix Sorry, that domain is already setup (remove it from httpd.conf?) on CPanel
 cpanel       

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

Restore multiply Cpanel/WHM backups shell script

Post Thumbnail of Restore multiply Cpanel/WHM backups shell script
 cpanel       

#!/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

How to have Custom VirtualHost configurations without being overwritten with cpanel?

Post Thumbnail of How to have Custom VirtualHost configurations without being overwritten with cpanel?
 Apache,cpanel       

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

backup and restore Cpanel accounts with command line usnig ssh

Post Thumbnail of backup and restore Cpanel accounts with command line usnig ssh
 cpanel       

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

How to have both fantastico running and shell_exec disabled on cpanel?

Post Thumbnail of How to have both fantastico running and shell_exec disabled on cpanel?
 cpanel       

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

Free Hosting Manager

Post Thumbnail of Free Hosting Manager
 cpanel       

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

How to secure tmp the easy way if you have WHM/Cpanel

Post Thumbnail of How to secure tmp the easy way if you have WHM/Cpanel
 cpanel       

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

How to install Fantastico on WHM/CPanel using CentOS 5.x or Fedora Core 5.x or 6.x

Post Thumbnail of How to install Fantastico on WHM/CPanel using CentOS 5.x or Fedora Core 5.x or 6.x
 cpanel       

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

creating backup of accounts in cpanel

Post Thumbnail of creating backup of accounts in cpanel
 cpanel       

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
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone