HostOnNet Blog

Category Archives: Cpanel Server

Adding DNS Entry with /scripts/adddns

Today a client told his domain is not working after server move. I have checked the domain on new server, found it is setup on Apache configuration file /usr/local/apache/conf/httpd.conf So i checked if DNS server resolves this domain. DNS server


Cpanel says Good bye to NeoMail

Cpanel control panel is going to remove its popular webmail NeoMail from the list of webmails it offers. Presently Cpanel provide Neomail Horde SquirrelMail Neomail is popular amoung many users as it is easy to use and first button to


Exim not working

Today a client told exim is not working properly on his server running Fedora C4 and Cpanel. I checked /var/log/exim_mainlog Found root@shah [~]# tail -f /var/log/exim_mainlog 2005-12-07 05:55:46 failed to open /etc/localdomains for linear search: No such file or directory


FreeBSD Cpanel Server – Pear not working

In a FreeBSD 5.4 Cpanel server, Apache is compiled with pear, but is not working. The site worked well on Linux Cpanel server, but after moving to FreeBSD server, start getting following error Warning: main(DB.php): failed to open stream: No


Moving a site between Cpanel server

If you have root access, you can move site between cpanel servers easily. You can do this by login to WHM as root, then using “Transfers Function” At times big sites fail to tranefer with this WHM feature. To move


Cpanel Show Current Disk Usage not working

In a Cpanel server running FreeBSD 5.4, Show Current Disk Usage link on WHM is not working. It shows error Software error: Can’t locate GD.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.6.2/mach /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.2/BSDPAN /usr/local/lib/perl5/5.6.2/mach /usr/local/lib/perl5/5.6.2 . /usr/local/cpanel /usr/local/cpanel/whostmgr/docroot/cgi) at ./cgi/diskusage.cgi


Install and configure cPanel

1. You must complete a server installation of one of the supported operating systems listed on cpanel.net main page. (Install suplimentary wget and lynx) 2. You must have a server with the following minimum specifications: At least a Pentium 3


Installing php5 with existing php4

This script allow you to install php5 along with php4 on a Cpanel server with Choon’s annonymous spamer patch. To run php 5 scripts, you have to name the file with .php5 extension. http://devel.webonce.com/php5.txt #!/bin/sh # Copyright 2005 (c) Jacob


Domain Name not resolving in Cpanel Server

In a cpanel dedicated server, client added a domain name. But it won’t resolve even after 24 Hours. So i checked the if the domain name resolved by the DNS server of the server. root@godislove [/tmp]# nslookup > server 72.36.203.186


Setting System Mail Preferences

In a Cpanel server, you can set System Mail Preferences, this allows you to specify destination for emails to system users like “root”, “cpanel”, etc… To do this, login to your WHM as root, you will find “Change System Mail