Archive for the ‘cpanel’ Category

Addon Domain vs. Parked Domains.

In case if you have ever wondered the difference between Addon Domain and a Parked Domain when adding them from within cPanel, here is what will help you understand:   Characteristic Addon Domains Parked Domains Main domain appears in the address bar Yes No Separate stats Yes No Apache directive used VirtualHost ServerAlias Separate logs […]

How do I uninstall / remove Tomcat

You can use the following commands to uninstall Tomcat. cd /usr/sbin/stoptomcat rm -f /usr/sbin/starttomcat rm -f /usr/sbin/startomcat rm -f /usr/sbin/stoptomcat It is important that you remove all mod_jk lines from httpd.conf, includingaddmodule, loadmodule, and include line.    

How to change SMTP port number

To set an alternate SMTP port in Microsoft Outlook Express: In Microsoft Outlook Express  go to Tools > Accounts Click the Mail tab. Click the account and then click Properties. Click the Advanced tab Change “Outgoing mail (SMTP)“. The alternate port will be provided to you by your host, which is generally 25 or 587 Click Apply and then OK. To set an alternate SMTP […]

Configure Cute FTP Client

Step by step procedure to configure Cute FTP client : To configure CuteFTP, please follow the instructions provided below: 1) Goto File, and open the site manager, the site setting window below will open. 2) Click on the NEW button 3) In the “Label for your site” field, type just the name of your website. […]

Configuring Passive ports in PROFTPD

Configuring Passive ports in PROFTPD Edit /etc/proftpd.conf or whatever your conf file is: PassivePorts 40000 40100 Now enable this port range in iptables.    

Unable to update main FTP account password

Unable to update the main (default) FTP account password via control panel. The following error occurred:   Attempting to modify nonexistent username Couldn’t delete previous ProFTPd user config file.   OR Unable to update the main FTP user password. The issue is occurring due to the absence of password entry in the passwd.vhosts file.   […]

Ftp error “553 Disk full – please upload later”

Problem: You get the ftp error “553 Disk full – please upload later”, even when the quota of the user has not been exceeded and the disk partition in which all the user accounts reside (say /dev/sda5) is not full. Cause: The value of the variable ‘MaxDiskUsage’ in the pure-ftpd configuration file (/etc/pure-ftpd.conf ) will […]

Hiding folders to avoid deletion via FTP

It is better to hide tmp/usr/lib/var folders via the conf file(when accessing ftp) so that these folders will not be accessed by the users. If it is proftpd, find out the proftpd.conf Add the following to the proftpd.conf file: <Directory ~> HideGroup wheel </Directory> <Directory ~> HideNoAccess yes </Directory> Enter the directory path near to […]

Update now button missing from awstats page

PROBLEM The update now option is missing from awstats page in control panel, even though the option allows users to update stats is checked in tweak settings of control panel. RESOLUTION  Open the file ~user/tmp/awstats/awstats.domainname.com.conf and edit the following line.AllowToUpdatefromBrowser=0Change this value to 1

How to access webalizer directly (outside of cPanel)

It is very easy to view webalizer stats directly without logging into cPanel. You can follow the steps below to access webalizer stats using the URL http://domain.com/stats/. 1- cd /home/username/public_html2- ln -s /home/username/tmp/webalizer stats 3- chown username.username stats 4- chmod 755 /home/username/tmp/ 5- chmod 755 /home/username/tmp/webalizer Now access webalizer using the URL:http://domain.com/stats/.