CentOS 7 – Serving HTTPS with Apache2
KB ID 0001210 Problem This week I’ve been working on changing the site over to https. Buying a digital certificate used to be an expensive long winded affair, but not anymore. A quick internet search turned up a 3 year SSL certificate for less than 15 quid. Getting the certificate was the easy bit, getting it installed so that Apache would use it was another ‘challenge’. On a scale of one to ten, I’m about a...
Google Analytics – Redundant Hostnames
(Redirecting non www URL’s to www URL’s) KB ID 0001016 Problem I noticed this a while back, apparently Google Analytics started flagging this for many users on October 14th 2014. But I’ve only just got round to sorting it out. If you are seeing this error its because your site is ‘addressable’ in more than one way, in my case you could get to me via http://petenetlive and http://www.petenetlive.com. I...
Apache Web Server – Change the Default Page
KB ID 0000882 Problem Out of the box, Apache expects your website homepage to be called index, on this site the homepage is called home, here’s how to change it. Solution 1. Connect to the server via SSH, (or open a terminal session). The file you need to edit is called httpd.conf. This server is running CentOS, so you should find that file in the /etc/httpd/conf folder. 2. I’m going to edit it with nano. 3. Locate the...