Enable “Update now” link in AwStats on cPanel server

July 4, 2010 · Filed Under cPanel Hosting Tutorials · Comment 

To enable the manual statistics update (“Update now” link) in Awstats, you should edit the following configuration file:

[1] Open the following file:

tmp/awstats/awstats.yourdomain.com.conf (substitute yourdomain.com with your actual domain name)

[2] Look for the following line:

AllowToUpdateStatsFromBrowser=0

Change the above value to 1:

AllowToUpdateStatsFromBrowser=1

[3] Save your configuration file.

If you have any questions related to cPanel, just ask your questions in our webmaster forum.

Prevent the user nobody from sending email from cPanel server

December 13, 2009 · Filed Under cPanel Hosting Tutorials · Comment 

If you are running PHP script as an Apache user on cPanel server, it is difficult to find the account if someone sends large amount of emails via PHP script. It is due to the fact that all emails will be sent as a nobody user. cPanel provides settings to block emails which are sent via nobody user. To enable this option, follow the below steps:

- Login to your WHM.

- Go to Server Configuration -> Tweak Settings.

- Select option “Prevent the user “nobody” from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)” and save it.

Please note if PHP processes are running as a nobody user and you enable above option, your clients will not be able to send emails outside their domains using PHP mail() function.

Kailash Aghera

How to change MySQL database collation from phpMyAdmin in cPanel

May 5, 2009 · Filed Under cPanel Hosting Tutorials · 5 Comments 

Sometime you may require to change MySQL collation in your web hosting account to use foreign character encoding. There are many ways to change MySQL collation. Here are the steps to change MySQL collation from phpMyAdmin in cPanel:

[1] Login to your cPanel and click on “phpMyAdmin” icon.
[2] Click on your database name and the go to “Operations” tab.
[3] At the bottom of the page you will see the collation option. You can now select a collation from the drop down menu and click on the Go button.

Please note that the new collation will be set for new tables only. Old table will use the previous collation under which they were created. If you want to use new collation for already created tables, you will need to change collation for all tables.

create an email account in cpanel

April 28, 2009 · Filed Under cPanel Hosting Tutorials · Comment 

You can create an email account from cPanel in two easy steps. Follow the below steps to create an email account from cPanel (x3 theme):

[1] Login to your cPanel and click on “Email Accounts”.

cPanel - Create an email account

[2] On next screen, enter the email account which you would like to create, enter the password twice and the quota. Now click on “Create” button.

cpanel - create an email account

That’s it. Now, the email account should be created in your cPanel.

Untitled Document