Testing http2

http2 is the latest protocol  everyone is migrating on it due to its reliability and speed. So my client asked me the same to enable it for his server, i had to enable http2 protocol on one of my client’s dedicated server. After enabling it i faced very strange issue that took my couple of hours figuring out the main cause.

I enabled http2 and then tried to access web site with local chrome browser (Version 65.0.3325.181 (Official Build) (64-bit)) it returned http/1.1 all the time in network tab. Then i tried accessing it on my remote desktop server having windows 2012 standard version i saw all the things work fine and in network tab i saw h2 which means it is working.

So i searched on google and came to the conclusion it is either network (ISP), antivirus or firewall which is blocking the access via http2 and reverting back to http/1.1 protocol. Here are 2 URLs to check for http2 support locally and on web server.

Read More

Switching between litespeed and apache from ssh | switch from litespeed

Today i will tell you the ssh command to switch between apache and litespeed web servers. You must have litespeed installed on the server.

This command is useful when you have apache and litespeed installed and your cPanel license is no more operational or expired. You can still swtich between web servers by executing this command via terminal/ssh.

 

Login to your server with root access via ssh terminal and run followimg ssh command:

To switch from litespeed to apache:

sh /usr/local/lsws/admin/misc/cp_switch_ws.sh apache

To switch from apache to litespeed:

sh /usr/local/lsws/admin/misc/cp_switch_ws.sh lsws

Please note you should write correct path of your litespeed installation directory.

WHMCS integration of domain check for PKNIC domains

PKNICPakistan’s largest domains (cTLDs) provider PKNIC has no WHMCS modules or domain checking mechanism for 3rd party tools.

You can add these domains checker functionality to your WHMCS by doing below simple steps:

  • Login to your FTP and edit file “WHMCS installation folder/includes/whoisservers.php” in any text editor or Dreamweaver
  • Now paste following below code at the end of the file and save that file to your server.

Read More

Installing WHM/cPanel on dedicated server/vps | whm/cpanel trial

installing cpanel/WHM

installing cPanel/WHM

In this post i will discuss how to install WHM/cPanel trial version on dedicated server or onVPS, if your IP has not used cPanel/WHM before you will be eligible to use trial version of WHM/cPanel (30 days for dedicated server and 15 days for VPS) once your trial is over you need to license for it.

Minimum Requirements:

  • 512 MB minimum RAM
  • 10GB minimum Hard Disk
  • 2 GHZ minimum processor
  • 1 Public IP
  • Linux CentOS 5+/CentOS 6 Read More