Proxy access for cPanel/WHM/webmail.
With Linux Shared Hosting accounts, you have access to a control panel that contains the admin functions of your account. Generally you would access this using the following syntax:
http://yourdomain.com/cpanel
http://yourdomain.com:2082
This URL causes a problems for some owners, as it attempts to connect to port 2082. This is an uncommon port and may be blocked by corporate and public firewalls, thus preventing access.
If you are unable to access your cPanel using the above URL, you can access it using the following syntax:
http://cpanel.yourdomain.com
This syntax does not connect using an uncommon port, and will allow you access. The same rules apply for Webmail and WHM.
http://whm.yourdomain.com
http://webmail.yourdomain.com
Note: You will need to create A records for each subdomain above if not created by default during account creation process.
IonCube PHP Loader Error on website
Site error: the file /home/USER/public_html/index.php requires the ionCube PHP Loader ioncube_loader_lin_X.X.so to be installed.
To Resolve this issue
Create a ‘php.ini’ within the following:
zend_extension = /home/USER/public_html/ioncube/ioncube_loader_lin_4.X.so
Download from : http://www.ioncube.com/loaders.php
Replace USER with the username of the account you are uploading the php.ini file to.
Replace “X” with the appropriate version of the ioncube loader
Upload the php.ini to your public_html directory.
If you are running your script from a directory other than public_html - for example /home/USER/public_html/blog/index.php you will need to upload the php.ini file to that directory.
How To Unblock IP address from command line in CSF Firewall
In order Unblock IP address from CSF Firewall at command line you need to execute below mentioned commands.
Login into the server via shell access and go to the path of CSF firewall.
Edit the file csf.deny.
Remove the IP address from the list and save the file.
Once the IP address removed we need to restart the Firewall.
To Restart Firewall one need to execute below mentioned command.
CentOS Quick Install CD ISO Images from Cpanel
The ISO files can be downloaded from:
http://layer1.cpanel.net/CentOS-5.4-i386-cPanel.iso
http://layer1.cpanel.net/CentOS-5.4-x86_64-cPanel.iso
Sample kickstart file for automated CentOS Linux installs: http://httpupdate.cpanel.net/cpanel-ks.cfg
How can I setup secondary DNS server.
1. You can use two of the IP’s assiged to your server.
2. You can setup an additional linux based server and install the free, “DNS Only” version of cPanel.
Latest Installer for DNSONLY servers.
http://layer1.cpanel.net/cpanel-dnsonly-install.sea
This script can also be downloaded as http://httpupdate.cpanel.net/latest-dnsonly