Being a BAMF
February 03, 2021
Being a Bad-Ass Mother-Fucker™ is awesome, even for nerd shit like your approach to your web server.
Here's a simple BSD / Apache / MySQL / FastCGI-PHP launch script for an AWS Lightsail FreeBSD instance.
Want your own BAMF webserver?
- Buy a domain name through Google Domains, GoDaddy, or whoever
- Go sign up for Lightsail
- Sign up for a new FreeBSD instance (smallest is fine)
- Use this as your launch script (put in your domain name as the HOST)
- Add a Static IP (under Networking) and attach it to your FreeBSD instance
- Tell your domain name provider to use your static IP address
- Follow the instructions when you log into your instance to set up HTTPS/SSL
- Add all your content on your new server under /usr/local/www/data/