By default SMTP usually uses port 25, but as sometimes ISP’s may prevent the port 25 for access. In such circumstances we need to set up an alternate port of SMTP. This can be done on a cPanel servers as follows: […]

By default SMTP usually uses port 25, but as sometimes ISP’s may prevent the port 25 for access. In such circumstances we need to set up an alternate port of SMTP. This can be done on a cPanel servers as follows: […]
One of our client installed joomla successfully, and tried to access the administrative URL:: http://www.domainname.com/administrator/ and got an error. While checking on Server error logs it displayed: [wpfmb type=’error’ theme=2][error] [client XX.XX.XX.XX]Directory index forbidden by rule: /home/user/public_html/domainname.com/administrator/[/wpfmb] This error normally occurred due to multiple index files in the “administrator” folder. Follow the steps in order to remove the […]
When trying to access awstat getting following error: [wpfmb type=’error’ theme=2]Error: awstats failed to create directory DirData (DirData=”/home/old_username/tmp/awstats”, CreateDirDataIfNotExists=1). Setup (‘/home/new_username/tmp/awstats/awstats.domain.com.conf’ file, web server or permissions) may be wrong.[/wpfmb] To resolve the error: move /home/new_username/tmp to different name. Run: /scripts/runweblogs Now access awstat. [wpfmb type=’info’ theme=2]If you are facing error while adding or removing IP’s […]
When you add IP from WHM, you may get the following message: [wpfmb type=’warning’ theme=2]To add, edit, or remove IPs, please contact your server administrator.[/wpfmb] To fix this issue, Login to your server as root and try adding the IP Address + Netmask to /etc/ips. cat /etc/ips ip:netmask:broadcast 192.168.1.XX:255.255.255.255:192.168.1.255 After that restart the ipalias service /etc/init.d/ipaliases […]
First of all get all the users name in a file : users.txt Then touch a file script.sh chmod 755 script.sh Copy the following code to that file: #!/bin/bash for i in `more users.txt` do randstring=`tr -dc _#$%^\&*\(\)\=A-Za-z0-9\~\+@! < /dev/urandom | head -c 8` echo “$i $randstring” >> newpass.txt /usr/local/cpanel/scripts/realchpass $i $randstring /scripts/mysqlpasswd $i $randstring […]
1) Login to the server as root. 2) Open the configuration file for pure-ftpd. vi /etc/pure-ftpd.conf 3) Locate the line which says : LimitRecursion 2000 8 This is ‘ls’ recursion limits. The first argument is the maximum number of files to be displayed and the second one is the max subdirectories depth. 4) Edit the […]
To change the Time zone for any particular account on the cPanel server you can do the following steps: 1) Login to the server as root. 2) Go to the home directory of the account. […]
While adding a SQL statement to Database sometimes we get an error as follows: [wpfmb type=’error’ theme=2]Can’t create/write to file ‘/tmp/#sql_50e0_0.MYD’ (Errcode: 17)[/wpfmb] In order to remove the error. Navigate to the root of the domain. […]
Sometimes phpMyAdmin is inaccessible and gives the error message”Cannot start session without errors”. […]
Redirecting a domain to WWW is a very simple task. In this tutorial you will show you how to add or remove www on Apache (using mod_rewrite) and Nginx web servers. For example http://mydomain.com should be redirect to http://www.mydomain.com. Add WWW PREFIX IN DOMAIN URL Go to your website’s home directoty: […]