Define a Catch-all Named Virtual Host in Apache

Let say you have 2 virtual hosts A.com and B.com on your web server, do you know that it is possible that your visitor may accidentally access A.com while browsing B.com? As a best practice, defining a catch-all Virtual host can prevent such scenario. Continue reading “Define a Catch-all Named Virtual Host in Apache”

Speed up your website with Google mod_pagespeed

In short, Google mod_pagespeed is a Apache HTTP server module that helps you optimize your web pages without changing a single lines of code in your web application. ┬áIn this article I’ll demonstrate how to get the mod_pagespeed up and running.

Note: This article is written for CentOS environment, if you’re using other Linux distros, please find the installation steps here.

Continue reading “Speed up your website with Google mod_pagespeed”