Fix ERR_TOO_MANY_REDIRECTS Using Let’s Encrypt With Cloudflare

I’ve been moving my domains to Cloudflare, and after initially having problems getting Cloudflare to work with a non-SSL website, it was time to move a website that has SSL using Let’s Encrypt. Should be OK this time I thought… just let Cloudflare’s edge servers handle the SSL. Nope, it broke again!

Read on to find out why, and how to fix it!

Continue reading ‘Fix ERR_TOO_MANY_REDIRECTS Using Let’s Encrypt With Cloudflare’ »
Fix ERR_TOO_MANY_REDIRECTS On http-only (Non-SSL) Website With Cloudflare

I recently moved a domain to Cloudflare and to my delight I found that Cloudflare’s edge servers provide SSL, which automatically upgrades your http:// connection to https:// free of charge. Brilliant, I thought! Except it broke my website.

Read on to find out why, and how to fix it!

Continue reading ‘Fix ERR_TOO_MANY_REDIRECTS On http-only (Non-SSL) Website With Cloudflare’ »

Ubuntu Suddenly Lost All Network Connectivity

One morning I switched my work laptop on, running Ubuntu 14.04, and found that I had completely lost all network connectivity. No ethernet LAN nor Wi-Fi connection, and no Gnome network manager icon. It turned out to be one of those peculiar things that seem to “just happen” from time-to-time in the Linux world.

Read on to find out how I fixed it.

Continue reading ‘Ubuntu Suddenly Lost All Network Connectivity’ »

Configuring A General-Purpose Ubuntu 14.04 Server

Over the years I’ve used many different hosting solutions. From shared hosting, a dedicated server, to several VPSes. These all came with a graphical control panel, most often Plesk, from which the server could be administered. The downside was the cost of the licence. So a little while ago I took the plunge and purchased a standard cloud-based VPS from Fasthosts with no control panel, taking on the job of system administrator for the first time.

Read on to learn how it’s fairly straightforward to set up a general-purpose Ubuntu 14.04 server, administering it over SSH.

Continue reading ‘Configuring A General-Purpose Ubuntu 14.04 Server’ »

Suddenly Unable To Browse Facebook As Your Page?

If, like me, you own or manage a Facebook page, you may be used to switching identity to your page and then browsing Facebook like normal as your page, liking other pages, sharing posts etc… I’m not an avid Facebook user so I only noticed recently that I was no longer able to browse as any of my pages, like I had been always been doing until now.

At first I thought it might be a problem due to a browser plugin; Facebook just wasn’t working like it always had done. Well after some searching I found the answer and it was a lot simpler than I expected. Read on for the details!

Continue reading ‘Suddenly Unable To Browse Facebook As Your Page?’ »

Use grep And sed To Search And Replace Text, But Beware Git

I recently needed to search and replace some text in a large number of PHP scripts. Back in my Windows days I had a lightweight freeware programme that was perfect for the job. But what to do on Linux? The answer was to combine grep and sed. But don’t forget to watch out for Git!

Continue reading ‘Use grep And sed To Search And Replace Text, But Beware Git’ »