Around The Sun 2024
When I originally provisioned this web server, I actually used the Linode one-click Marketplace. I selected the OpenLiteSpeed WordPress option and I was off to the races. I’ve manually installed WordPress in the past; using both Apache and NGINX guides that I found online. I’ve attempted to get WordPress working even on Lighttpd. I had been demoing and breaking OpenLiteSpeed for a few days and this was my final set-up and keep. I’d call it Production-ready. Plot twist, we are far away from WordPress and NEVER going back!
OpenLiteSpeed is actually really cool. I found the GUI to be responsive and easy to use. It has all the features you would need to host multiple websites on a single VM. The downside is that for a low-memory environment, it’s just not the perfect fit. Since this website is just composed of static, rarely changing content; I can use something more lightweight like Caddy’s file server function. If you are reading this, my deployment was successful!
Official Caddy Docs - Installing
Following the Caddy docs was simple enough. Nothing unusual happened. Then I stopped the Port 80 and Port 443 listeners on OpenLiteSpeed to make way for Caddy.
I edited the Caddyfile located at /etc/caddy/Caddyfile
to look a bit something like this.
example.net {
encode gzip
root * /my/file/path/here
file_server
}
www.example.net {
redir https://example.net{uri}
}
While I’d only lightly tinkered with Caddy in the past, I read a ton of documentation on their website before this deployment. I knew I would need my CNAME record to resolve directly to my server. So a few hours prior I updated my DNS records with 15 minute TTLs. After a few tries to get the config just the way I wanted it was working!
I found caddy adapt -c Caddyfile --validate
to be useful. I did crash it out a couple of times with improperly formatted tweaks for things like HTTP3/QUIC support and better logging.
Simple systems are often reliable systems. OpenLiteSpeed is rather complex and requires the use of a database. I don’t need any of that! So now here we are. My DNS records are back to normal 1 Hour TTLs and the website latency has remained consistent over the last 24 hours. Now I have fewer attack vectors, simpler config, and utilizing over 50% less memory!
Matt’s Guide to CB Radios and more.
De-Google-Fi, Step 1
Matt’s Guide to Securing a Linux Box for Production.
Quick overview of my websites architecture.
One Night in Glacier NP - 2024
Exploring and capturing the scenery in American Truck Simulator, Nebraska DLC
how-to be safe while downloading linux isos.
Exploring South Dakota with the Jacksons.
how I reduced my home page 610 percent.
how-to add oneko.js to the minimal-mistakes jekyll template.
My personal running notes for growing cannabis.
Dealing with CIFS errors between TrueNAS and Debian.
how-to bounce a Juniper JunOS switchport.
how-to fix ‘the list of sources could not be read.’ when using apt.
how-to troubleshoot a home network, by a Network Engineer.
Moving my webserver from OpenLiteSpeed to Caddy
how-to resolve, could not resolve packages.adoptium.net
how-to validate XZ-Utils impact.
How and Why I use Ninite
Manually renewing Certbot on OpenLiteSpeed
Yet Another Benchmark Results
Linux Basics and Core Concepts by Matt F.
how-to Buy and Manage a Web Domain
My Udemy Course Completion Certification.
Scion FRS Service Manual Download and Sources
My Discord Server Widget
How I moved from QUIC.Cloud to BunnyNet CDN.
My High Uptime Plan for 2024.
Personal notes for Magic the Gathering
HTML Hobbiest Webring Landing Page/Post
Method of Procedure for migrating from WordPress to plain HTML.
W900 Tuning Pack DLC Review.
Google Domains is Ending.
Deep dive into OpenLiteSpeed webserver.
how-to resolve my Jekyll/Cloudflare Pages deployment error.
In High School I had one dream that stands out. Own a Porsche by the time I was 26. Looking back, I have no idea where this dream came from; because I was ra...
Personal ramblings about my new town.
Knowledge Filled PDF Bundle
how-to Jellyfun.
ProtonMail Review - 1 Year
how-to manage Pi-Hole.
My new Gaming PC. Its boring but it’ll do.
how-to setup Pi-Hole and Wireguard on Linode.
how-to update the hostname of a Raspberry Pi.
Can a Raspberry Pi Zero host a family VPN Server? Yes.
Logitech G413 Keyboard review.
Razer Huntsman Mini review.
YouTube video cruising through Colorado!
Ramblings about PiAware after one month of operation.
Guide to setup a Raspberry Pi from start to finish!
Guide to configuring the Timezone on a Raspberry Pi.