HostOnNet Blog

Author Archives: flashweb

Setting ProFTPd default tranfer mode

By default ProFTPd transfer all files in BINARY mode. This will work fine for images, zip files, other data files. When you upload scripts, mainly .pl and .cgi (perl scripts), you have to upload then in ASCII mode to get


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


portupgrade – upgrading installed ports

Today i have upgraded software packages installed on my FreeBSD 5.4 server. This is done with utility called portupgrade. To upgrade installed ports, you have to first install portupgrade from ports. Check if you have portupgrade package already installed #


Getting List of all A Records of a Domain

host command can be used to list all A Records of a domain name. host -l domainname.extn name-server.extn Here domainname.extn is the domain name for which you want to list all A Records. name-server.extn is name server that host the


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


Upgrading FreeBSD Ports with portsnap

I used to upgrade FreeBSD ports tree with CVSup. I run it through cron everyday. Today found a much better way to upgrade FreeBSD ports tree – portsnap portsnap is more efficient and secure way to upgrade ports tree. Here


Upgrading FreeBSD 5.3 to FreeBSD 5.4

FreeBSD can easily upgraded to latest version. Recently i have upgraded my FreeBSD 5.3 server to FreeBSD 5.4. Upgrading FreeBSD 5.3 to FreeBSD 5.4


Cpanel Accounting

Cpanel keep a record of all domains created or deleted on your server. This file is located in /var/cpanel/accounting.log # tail /var/cpanel/accounting.log 1131464485:REMOVE:rstrekt:root:hotelmaharaja.com:wwwhote Tue Nov 8 18:58:17 2005:CREATE:rs2doty:root:ephesuskosova.com:216.67.232.215:ephesusk 1131515706:REMOVE:hoston:root:stefin.com:stefinc 1131518840:REMOVE:hoston:root:jesusyouthmission.com:jesusyou 1131537567:REMOVE:rromir:root:ccp-ks.com:ccp 1131605302:REMOVE:hoston:root:nangianagpur.com:nangiana Thu Nov 10 07:04:24 2005:CREATE:rs2doty:root:finnet-ks.net:216.67.232.215:finnetk 1131608713:REMOVE:hoston:root:karimpumkala.com:karimpum Thu Nov


FreeBSD booting with different kernel

If you upgrade or recompile FreeBSD kernel and it won’t boot up properly, you need to boot with old kernel and do the recompiling again. To boot with previous version of kernel, reboot the server, select option 6 “Boot Loader”


Test

Adding Image with HTML code <img src=”http://blogs.bizhat.com/bizhat/files/2005/11/371.jpg”> Drag and Drop an Image uploaded with “Upload File” http://blogs.bizhat.com/bizhat/2005/11/15/test/freebsd/ When i Drag and Drop, i love to see the images in the post here itself, not a link to image on another