Baby’s first VPS!
Now that the homelab cluster is running multiple external services, I’m starting to hit some speed bumps. Using my single domain name with tons of port numbers was working okay to keep services separated for personal use. But now with friends and family connecting and using some of these services, it’s time to switch to easy-to-remember subdomains. I will use a reverse proxy to intercept https requests and send them to the proper IPs and ports.
That has been easier said than done, though! I have a lot more to learn about virtual hosts, ssl redirect loops, and how to format those dang config files!
A VPS will allow me to keep some of my crap running externally while I figure all of that out.
let’s begin–buy a vps and start it
I was able to find a 1 core, 1.5gb KVM VPS with 3TB monthly bandwidth and 30gb ssd for $16/year from RackNerd! Not a bad deal.
In the RackNerd control panel, I chose Ubuntu 22.04 as the OS for this vps.
Once you start it up, they will email you some credentials to log in via ssh.
After logging in, let’s install the latest security updates:
apt update && apt upgrade -y
Use wget to download the easyengine installation script:
wget -qO ee https://rt.cx/ee4 && bash ee
After the script finishes up, easyengine is ready to go.
create a site
For most users, a single site with proxy caching on and SSL enabled through Let’s Encrypt is the best choice:
ee site create stinky.blog –type=wp –ssl=le –proxy-cache=on –proxy-cache-max-size=1g –proxy-cache-max-time=30s
Replace stinky.blog with your domain.
That’s it– it’s online! Access your site at http://_your_url_.com/wp-admin/ and start creating pages.
Leave a Reply