CPanel

There are instances when additional IPs are assigned to a certain server but they still do not ping or respond, and only the main IP of the server pings. For Cpanel based servers you will find them assigned at below link as well : WHM >> IP Functions >> Show IP Address Usage You can […]

Continue reading about How To : Start IPs on the server if they are assigned but not working

Riz Khan on April 27th, 2010

Many times swap is not setup according to the requirement during the server setup/OS install, and once the server has been inducted in production its not possible to reinstall the OS. Or simply the swap size requirement can increase over time on a server. In such scenario we can add swap on the server using […]

Continue reading about How To : Add swap on server using swap file

Riz Khan on April 27th, 2010

Perl is normally installed without thread support, but you may need to install threaded perl on your server to fulfill requirement for any application or for perl based software development. This require additional -Dusethreads parameter used during the configuration step of installation. Below are the exact steps that you can follow to install threaded perl […]

Continue reading about How To : Install threaded Perl

Riz Khan on April 24th, 2010

Cpanel now support the optional apache module mod_spelling using which you can have the optoin for your URLs to load even if they have one spelling mistake or there is one capitalization error, which would give non found 404 otherwise as Linux is cases senstive operating system. e.g. If you have below URL : http://yourdomain.com/yourpage.html […]

Continue reading about How to use mod spelling on Cpanel server

When sending emails from scripts, not setting proper from address can give two problems, once is email ending up in spam/junk box of recieving email server and second is that the return path would be user@server.hostname.com. To avoid this and to setup return path using php mail() function you need to use the fifth parameter […]

Continue reading about How To : Use 5th parameter in php mail() function on Cpanel server

Riz Khan on April 24th, 2010

If you happen to mess up your ssh configuration some how and lock yourself out of ssh then you can reset the ssh config from Cpanel using below method : Login to WHM on non secure port i.e 2086 And then use below URL to reset the config : http://YOUR.SERVER.IP:2086/scripts2/doautofixer?autofix=safesshrestart If it do not help […]

Continue reading about How To : Reset ssh configuration from WHM/Cpanel Gui