Hosting

All articles categorised as Hosting.

Deploying PHP applications with RunCloud on UpCloud

My first post of 2019 is a tutorial that’s all about the cloud.I’m going to show you how to deploy a PHP application with a MySQL database on a cloud server from UpCloud. I’ll be using the brilliant RunCloud control panel to deploy my PHP photo gallery – Blue Twilight – to an UpCloud server.My friends over at UpCloud have provided an awesome promo-code for free credit to try out their service. Details at the end of the article.Let’s start with a quick introduction of these 2…

DevOps, Software Development Read more


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


Why I prefer self-hosted Git repositories to Github, Bitbucket, etc.

It’s the year 2018 and it’s impossible for a software developer to have not heard about (or used) Github, or a variant like Bitbucket. Even self-hosted Git evangelist GitLab is a popular choice.I have held a paid-for Github account for a few years now. Github hosts my open-source PHP photo gallery, Blue Twilight.However, at the start of February 2018, I provisioned a new Cloud VPS to run my website and other apps. I also chose to migrate all my private Git…

Software Development Read more


The Great Big Cloud Hosting Speed Test 2017

2017 was an exciting year for the bigger players in the cloud hosting arena.Both Linode and DigitalOcean upgraded their network capacity.OVH opened new data centres in Germany and the UK.Bytemark launched an automated backup service for their cloud server platform.My own hosting provider, Memset, launched a new OpenStack region in their wholly-owned Dunsfold data centre. They also launched block storage for VPS and rebranded their product range to be more “cloud.”With all these improvements…

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


Server maintenance – 1st/2nd November

My hosting company, Memset Ltd., have advised me they will be performing important maintenance work on their Miniserver platform.This maintenance is to apply critical security patches to the Linux kernel of the physical servers that host the virtual servers like mine – that power this website.It is taking place between 22:00 GMT on 1st November and 04:00 GMT on 2nd November. My server will be down for 15-30 minutes during this period.This affects my:personal website/blog (this…

Miscellaneous 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