logoalt Hacker News

tim--last Monday at 3:02 AM0 repliesview on HN

For fun, I am building a little tool called 'domain-manager'. Basically just a binary that automates configuring a Linux host to run a bunch of WordPress/Laravel/PHP sites.

It creates all the necessary boilerplate to generate PHP Docker containers, creates all of the MySQL users, and sets up all of the directory structures to get a new website up and running. It even helps set up SFTP users and gets letsencrypt certificates set up with certbot.

It's still very early days, but I appreciate that what used to be a bunch of commands that I would run by hand and slightly change every few months is now pretty much just all self contained. Should mean the next migration to a different server is easier.

Created in frustration because I was too cheap to pay the $50/month for a cPanel license.

https://github.com/timgws/domain-manager