How to setup Certbot wildcard certificate on Apache

Certbot allows simple, quick and free provisioning of SSL certificates using LetsEncrypt. How to install Certbot Option 1 (recommended) sudo snap install core; sudo snap refresh core sudo snap install --classic certbot sudo ln -s /snap/bin/certbot /usr/bin/certbot Option 2 apt update apt install certbot How to run Certbot If you want to run the automated setup and get your certificate installed directly to apache, then: sudo certbot --apache If you only want the certificate, then:...

May 19, 2021 · 1 min · 190 words · Andrew

IPv4 CIDR Chart

CIDR stands for Classless Inter-Domain Routing and is a method for allocating IP addresses as well as for IP routing. It was introduced in 1993 by the Internet Engineering Task Force to replace the previous classful network addressing architecture on the internet. When choosing a CIDR range for your network, the following chart will show you how many maximum IP’s you can have on that network. For example, /32 will give you 1 usable IP, /24 will give you 256 usable IPs, while /3 will give you 512 million usable IPs....

June 11, 2020 · 2 min · 250 words · Andrew

How to keep your web server or blog up when you get a traffic spike

So you’re about to be featured on some very high ranking website. You’re worried that when all the visitors come rushing towards you, your web server?is going to crash and burn.?Well, you’re probably right! Did you know that 95% of all websites on the internet are not able to handle more than 30 concurrent visitors the way they are setup? Even worse still, most websites run off of either Shared hosting or un-tweaked VPS configurations that are not meant to handle many visitors in the first place....

May 8, 2020 · 5 min · 926 words · Andrew

Introducing the Hetzner Cloud

I could honestly not tell you how many hosting providers I’ve tried over the past 15 years. Probably more than 30, 40… Easily! Today I would like to introduce you to the Hetzner Cloud. No, I do not work for Hetzner, or have any affiliation to them whatsoever, this is purely a sharing exercise as I have noticed that when I speak of them in my professional capacity, most colleagues don’t know about them....

January 27, 2020 · 6 min · 1067 words · Andrew

Unable to delete an AWS Internet Gateway

So you need to delete an AWS Internet Gateway, sounds good. You navigate to the VPC (Virtual Private Cloud) dashboard and go to Internet Gateways. At this stage you select “Actions” and choose the “Detach VPC” option. In a perfect world, this would return a “success” and the IG would be deleted. But sometimes this isn’t the case and you have to do a little more. In this instance, you need to figure out what other services (network resources) are using this IG....

November 22, 2019 · 1 min · 159 words · Andrew

Squid Proxy behind a Load Balancer on AWS

Squid is a proxy software that allows a computer without internet access to proxy through another computer that does have internet access. Squid is very easy to get setup and the computer that needs internet just needs to specify environment variables called HTTP_PROXY and HTTPS_PROXY which have the value of http://squid.ip.address:3128/ The complication comes in where you need a Squid instance (sitting on an EC2) to sit behind an AWS load balancer....

October 4, 2018 · 2 min · 215 words · Andrew

International hosting governments and forensic email cases

Cyber forensics is hard, but it is even harder when servers are hosted in different geographical locations and an investigation needs all localities to cooperate and hand over every part of the data consistently. This is primarily due to privacy laws that each region may apply or carry out in differing ways. Multiple regions Even if a compilation can source multiple regions data; dealing with international governments could mean prolonged wait times, unfamiliar processes to follow or even citizens of those regions withholding data due to privacy rights within that region....

September 30, 2018 · 3 min · 564 words · Andrew

Everybody’s a web host

To cut straight to the point, “we’re living in the age where everybody’s a web host”. Whether it be small and quite pathetic or just another reseller of a larger service trying to get their cut of things, everybody truly is spamming the world with more and more web hosting packages. Just a few short years ago this problem didn’t exist and getting web hosting was quite expensive, unless you went with free services such as the good ol’ “geocities” and co, but then larger companies started up their shared hosting and reseller hosting packages which immediately led to everybody thinking all it took to become a web host was to get themselves a reseller account and start trading....

September 28, 2011 · 2 min · 246 words · Andrew