Setting up different documentroot for subdirectory on nginx Date Posted: 24-09-2017 Nginx is a fastest webserver when compared to apache.  In this post, we are going to explain how to setup different documentroot for subdirectory. The maindomain documentroot will be /var/www/html and subdirectory folder documentroot /var/www/folder. Prerequisites: Nginx Webserver. If nginx… Continue Reading Setting up different documentroot for subdirectory on nginx

How to install CentOs 7 on VMware fusion on MAC OSX. VMware Fusion Pro and VMware Fusion let anyone run Windows and hundreds of other operating systems on a Mac without rebooting. Simple enough for new users and powerful enough for IT professionals, developers and businesses, Fusion provides agility, productivity… Continue Reading Install CentOS 7 on VMware fusion on Mac OS.

Install Mod evasive module on cPanel(Easy Apache 4 ): Date Posted: 23-09-2017 Mod evasive is a DDOS prevention module used to prevent DDOS prevention on HTTP level. Latest cPanel version has easy apache 4 and by default mod_evasive doesn’t come with it. Recently, cPanel added cl-ea4-experimental repository. In this post, we will… Continue Reading Install Mod evasive module on cPanel(Easy Apache 4 )

Posted Date:20-07-2017 In this we will explain mysql_query update using custom user created function Step 1: Create table name as product using following code CREATE TABLE `product` ( `pid` int(11) NOT NULL AUTO_INCREMENT, `pname` varchar(100) NOT NULL, `price` int(11) NOT NULL, `pimg` varchar(100) NOT NULL, `cat_id` int(11) NOT NULL, PRIMARY… Continue Reading Update query in php using function

Fatal error: Call to undefined function request_filesystem_credentials() in wordpress Recently, we have faced an issue with the wordpress which reports the below error. Fatal error: Call to undefined function request_filesystem_credentials() in wordpress Resolution: Download the latest version of wordpress on the local machine. Upload the file to the file.php to… Continue Reading Fatal error: Call to undefined function request_filesystem_credentials() in wordpress

Install SSL certificate for vestacp panel Date posted: 12-09-2017 Vestacp is an open source control panel and by default it listens on 8083. By default, vestacp uses self signed certificate. In this post, we will explain on how to install SSL certificate for vestacp panel. Prerequisites: Vesta cp panel access… Continue Reading Install SSL certificate for vestacp panel

Enable SNMP on Cisco Router Date Posted: 11-09-2017 In this post, we will explain on how to enable snmp on cisco router. Assumption: Cisco Router Implementation: This post assumes that we have root privilege of the router. Login as enable mode. You need to enter root credentials. enable Enter configure… Continue Reading Enable SNMP on Cisco Router

DNS Cluster Setup between cpanel servers Date Posted: 09-09-2017 cPanel is widely used control panel for managing webhosting.  This post deals on how to setup DNS cluster between cPanel servers.  This post assumes that we have two DNS only cPanel server and one cPanel webserver. cPanel DNS only server is… Continue Reading DNS Cluster Setup between cpanel servers

Configure multiple php on litespeed cPanel server Date posted: 04-09-2017 By default cPanel runs with apache webserver. Normally Easy apache 4 or Easy apache 4 will help on installing multiple php version.  In this post, we will explain on how to configure litespeed webserver to use multiple php version. Prerequisites:… Continue Reading Configure multiple php on litespeed cPanel server

Add Access Control Allow Origin Region(CORS) in NGINX? Date Posted: 31-08-2017 In this post, we will explain on how to allow cors (Cross Origin Region) on nginx. We may have seen the following on google chrome console or firefox firebug addon. No ‘Access-Control-Allow-Origin’ header is Prerequisites: Nginx Webserver.  If nginx… Continue Reading Allow Cross Origin Region(CORS) in NGINX