April 2018

All articles published in April 2018.

Install a LAMP stack (Apache, MariaDB, PHP) on Ubuntu Server

Ubuntu Server is a Linux distribution that is ideally suited to server workloads. For example: hosting websites and web applications.

In this tutorial, I’m going to show you how to install a LAMP stack – that’s Apache, MariaDB (in place of MySQL) and PHP – on Ubuntu Server using the latest available releases, and how to keep it up-to-date.

DevOps , Software Development Read more


Brexit forced me to change my identity

A year to the day before the UK leaves the EU, the European Commission announced that all .eu domains registered to a UK address would be dropped.

Horrified at the thought of losing my andys.eu domain name (and with it, my primary email address of 8 years) I tweeted out to EURid – the organisation that manages .eu domain names.

Reflections Read more


Redirect all visitors to a primary domain in Apache

There are several scenarios in which you may want to redirect all your website visitors to a single, primary domain in Apache:

  • Redirect the www and non-www (root domain) hostnames of your domain to avoid duplicate content and improve SEO
  • Redirect an old domain to a new domain, maintaining links and search engine reputation
  • Redirect secondary domains (e.g. “spelling mistake” domains, or alternative-spelling domains) to your primary domain

I have recently implemented the following on my own website, and I would like to share this Apache trick.

DevOps , Software Development Read more