Setting up Ubuntu, WordPress, and Apache on RackNerd

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.

  1. Hotsauceisthe.best
  2. ShearsonSolutions.com (/Polymers subdirectory)
  3. DoxxFree.com
  4. ShearLuckGames.com
  5. RememberThisTomorrow.com

OOO is:

  1. GoDaddy DNS -> IP
  2. Create a new directory in /var/www/*
  3. Chown www-data:www-data and Chmod 755 both recursive for the new directory
  4. Add an index file for testing OR install WP. An installer for WP is found in /var/www/tmp/.
  5. 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.
  6. 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
  7. 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.

Share

One response to “Setting up Ubuntu, WordPress, and Apache on RackNerd”

  1. A WordPress Commenter Avatar

    Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

Leave a Reply

Your email address will not be published. Required fields are marked *

Post you may like

Categories