TOP

Install mod_pagespeed on cPanel

In the world of web hosting, speed matters more than price to clients and this lesson has been taught time and again when users cancel services and cite speed or lack thereof the primary reason.

So, today’s bit of feature enhancement focuses on speed for Apache via the addition of Google’s mod_pagespeed module.

Mod_pagespeed has been in the Google incubator since about 2010 and is a module with one purpose, speed up websites through on-the-fly optimizations. Its sole purpose is to increase site speed leading to higher viewer engagement, conversions and yes, even retention of traffic. In fact page speed so important, Google uses it as a primary signal in the famous Google Pagerank algorithm that ranks sites for listing in search results.

Let’s get started!

(more…)

Related Posts:
Read More
TOP

cPanel vs. DirectAdmin

Web hosting in and of itself is nothing without an easy to use set of tools and interfaces designed to control, maintain and monitor a hosting account commonly referred to as a control panel. Typically these control panels are installed, managed and maintained by the web hosting provider and can be installed on most VPS and dedicated servers by end-users if desired. The key advantage of a control panel is the ease-of-use it provides you to control your account via a graphic user interface which means you do not need to know or understand, at least not completely, operating system specific commands and information to perform common tasks for your hosting.

Control panel features normally include easy web-based methods of:

  • Manipulating Files (eg. File Manager)
  • Monitoring Quotas (eg. disk space, bandwidth, mail accounts, etc…)
  • E-mail Accounts (including creation, modification, termination and checking mail, auto responders, forwarding and more)
  • DNS Management (eg. creating, modifying or removing A, TXT, CNAME and MX records among many others)
  • FTP Accounts (including creation, modification, privileges of said accounts and more)
  • Domain Management (eg. creating separate addon domains, parked domains and subdomains)
  • Database Management (eg. creation, modification and removal including of database users among other tasks)
  • Statistics (eg. unique visitors, page views, search engine crawls, etc…)

A fast performing, reliable and feature-rich webhosting control panel can significantly increase the productivity and versatility of any website be it a personal site, a business site or a project site. With the right set of tools webmasters can perform the most crucial administrative procedures with ease. Without such a control panel however, every webmaster and user would need an extensive knowledge of Internet and server operating system training including various program configuration to effectively use their hosting accounts.

There are many solutions to the problem of an easy to use control panel for web hosting but the market has essentially made two industry standards out of cPanel and DirectAdmin. This is due to the unique set of features and capabilities provided with each of these separate solutions and due to their popularity with end-users. Although both cPanel and DirectAdmin have a Windows variant typically under a new name but, both are regarded as a Linux hosting platform control panel.

(more…)

Related Posts:
Read More
TOP

cPanel Named: 127.0.0.1#953 Connection Refused

Last night I was building a fresh cPanel server, after installation and configuration I went to edit a DNS zone and upon saving, I got an error in WHM. The first words out of my mouth, “Crap, now what’s wrong?
(more…)

Related Posts:
Read More
TOP

Fix User Permissions for cPanel

One thing that annoys me is when cPanel users (or cPanel) chmods themselves out of ownership or rights, so for WHM admins here is a nifty script that is an improvement of sorts over Quick and easy CHMOD fixes

#!/bin/bash
#permfix by solutionsfox
echo "Type the user you want to fix followed by [ENTER]:"
read user
 
#check the user
echo "Checking for valid user..."
grep -q "^$user:" /etc/passwd > /dev/null
if [ $? -eq 1 ]; then
	echo "$user is an invalid user"
	exit 1
else
echo "Running perm fix for $user..."
	if [ -d "/home/$user/public_html" ]; then
		cd /home/$user/public_html
		find /home/$user/public_html -type d -exec chmod 755 {} \;
		find /home/$user/public_html -type f -exec chmod 644 {} \;
		find /home/$user/public_html -type f -name "configuration.php" -exec chmod 444 {} \; #for joomla
		echo "Do you need to repair ownership? y/n"
		read response
		if [ "$response" == "y" ]; then
			echo "Repairing ownership..."
			cd /home/$user
			chown -R $user.$user /home/$user/*
			echo "Finished."
		exit 0
	elif [ "$response" == "n" ]; then
		echo "Finished."
	exit 0
		else echo "ERROR: Check last input."
	exit 1
		fi
		else echo "ERROR: Check home directory manually."
	exit 1
	fi
fi

So, grab the script, put it on your server, make it executable and from then on sh /whereyouputit/fixperms.sh and you’ll be prompted and what-not to fix a user account. Enjoy.

Related Posts:
Read More
TOP

Keeping a clean cPanel Server

Let’s face it if you’re a cPanel hosting provider with multiple servers, you will inevitably have suspended accounts littering your servers over time.

So why not head it off? Thanks to Mike Genie, you can do so very easily…

(more…)

Related Posts:
Read More

Switch to our mobile site