Posts Tagged ‘whm’

How to install Varnish on CPANEL Server

Installation 1. Make Apache listen in any other port other than 80. Here I am making Apache to listen in port 8080. It can be done in two ways. Either editing the httpd.conf file or editing the Tweak settings in WHM a) Editing httpd.conf file # vi /usr/local/apache/conf/httpd.conf Locate the following line in /usr/local/apache/conf/httpd.conf file and change the port…

Read More

Customize virtulahosts on WHM/Cpanel

Each domain/subdomain you create on cpanel is created as a virtualhost. The definitions of each virtualhost are saved on: /usr/local/apache/conf/httpd.conf And if you created a site name mysite.com, you should be able to find a virtualhost like this: ServerName mysite.com DocumentRoot /home/mysite/public_html ## User reds # Needed for Cpanel::ApacheConf UserDir enabled reds suPHP_UserGroup reds reds…

Read More