Infrastructure

All articles categorised as Infrastructure.

Website maintenance: 16/17th October

My new hosting provider (blog post on that coming soon!) has notified me of 2 maintenance windows next week:16th October, 22:00 – 02:0017th October, 00:00 – 00:30The first window specifically targets the VPS platform, and will see my server powered down and migrated to new infrastructure.The second window will see an upgrade to the core network adding additional capacity and DDOS protection.This outage will affect:andysh.ukphotos.andysh.ukapps.andysh.uk (web and git…

Miscellaneous Read more


Upgrade Ubuntu Server 16.04 to 18.04

The Ubuntu team will this week release Ubuntu Server 18.04.1, the first minor revision to 18.04 since its release on April 26th.Following the release on July 26th*, Ubuntu 16.04 machines everywhere will soon start to get notifications that a new release is available to upgrade to.In this article, I’ll show you how to upgrade Ubuntu 16.04 to 18.04 using the command-line. This can be used on all Ubuntu derivatives, but is mostly aimed at Server installs that do not have a graphical…

DevOps Read more


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.One of the annoying things I find about some Linux distributions – Ubuntu included – is that packages are “frozen in time” through the life of a release. For example, Ubuntu 16.04 was released with PHP 7.0. However PHP 7.2 is now the latest release. Vendors typically apply security fixes to their packages, but you’re still missing out on new features.In…

DevOps, Software Development 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 SEORedirect an old domain to a new domain, maintaining links and search engine reputationRedirect secondary domains (e.g. “spelling mistake” domains, or alternative-spelling domains) to your primary domainI have recently implemented the following on my own…

DevOps, Software Development Read more


Content Delivery Networks can improve your website’s performance

Content Delivery Networks were created for one reason: to speed up your websites and web applications. In this article, I explore how you can take advantage of Content Delivery Networks (CDNs) to improve your website performance for a small cost.  The ProblemModern websites and web-based applications have a number of digital assets. These are the stylesheets, scripts and images that make up the websites you use. My website is no exception – it has 15 such assets.These assets are…

Software Development Read more


Sky become the first UK ISP to enable IPv6

Sky – who provide broadband and digital TV services to UK residents and businesses – have recently enabled IPv6 to their consumer broadband customers. I believe they are the first UK ISP to do so, and I hope others follow very soon.IPv6 is a replacement addressing scheme for all computers connected to the Internet. The current scheme – IPv4, which uses dotted numerals like 127.0.0.1, is fast running out of available addresses.IPv6 uses longer addresses that contain both letters and numbers…

Miscellaneous Read more


Linode: Why I chose them to host my website and applications

Software developers sometimes have to get involved in choosing an infrastructure partner or web hosting provider, especially if that developer runs their own application or websites, or they work in a small company that can’t afford (or don’t want) to employ separate infrastructure engineers.In my current role as a technical consultant, I can be called upon by a client to recommend a hosting environment, so it’s important I know what’s available on the market, and who to trust.This is…

Software Development Read more