Monday, March 20, 2023

cpanel

Apache Rebuild Failed using easyapache on WHM/Cpanel “localhost did not have any working mirrors.”

EasyApache is a built-in very intresting tools developed by cpanel and one of the major Cpanel intention to use in my opinion is its easyapache that rebuild apache the best way along other Web...

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

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...

Restore multiply Cpanel/WHM backups shell script

#!/bin/bash BACKUPS=$(ls -al /home/*.gz |awk '{print $9}') for i in $BACKUPS do echo "Restoring $i now...." /scripts/restorepkg $i done

How to have Custom VirtualHost configurations without being overwritten with 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...

backup and restore Cpanel accounts with command line usnig ssh

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...

How to have both fantastico running and shell_exec disabled on 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...

Free Hosting Manager

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...

How to secure tmp the easy way if you have WHM/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...

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

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

creating backup of accounts in 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...