Let’s document this so we don’t forget next time! This is Ubuntu 24.04 LTS with Apache2 and using .conf files found in /etc/apache2/sites-available/. Both default config files are already disabled with a2dissite (000- and the SSL ones), and the following domains have been added to the server (7950X on RackNerd, 107.172.133.220). Current credentials can be found in Drafts as usual.
- Hotsauceisthe.best
- ShearsonSolutions.com (/Polymers subdirectory)
- DoxxFree.com
- ShearLuckGames.com
- RememberThisTomorrow.com
OOO is:
- GoDaddy DNS -> IP
- Create a new directory in /var/www/*
- Chown www-data:www-data and Chmod 755 both recursive for the new directory
- Add an index file for testing OR install WP. An installer for WP is found in /var/www/tmp/.
- Copy an existing .conf file in /etc/apache2/sites-available to create a new domain/website. Simply replace all instances of the old domain with the new one you are adding in this file, save with VIM, and then reload Apache2.
- Run a2ensite on the new configuration file. Note: Failure to perform this step will prevent the domain from showing up in Certbot in the next step
- Run Certbot on. This should automatically populate from the .conf files and will show up in a numbered list – just select it from the list and CertBot does the rest.
Leave a Reply