Set "ServerName" in /etc/apache2/apache2.conf.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 8 Nov 2020 10:53:59 +0000 (02:53 -0800)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 8 Nov 2020 10:55:53 +0000 (02:55 -0800)
data/notes/mail_web_git_server.md

index ac1dd91..c298d14 100644 (file)
@@ -41,9 +41,6 @@ etc in the examples.
 
 # TODO List #
 
 
 # TODO List #
 
-  - Set hostname to `sgk-main-2020` and ensure Apache recognizes it as the
-    ServerName (see: `systemctl status apache2`).
-
   - Setup SSL with automatic certificate renewal.
 
       - Find a reliable way to alert me when renewal fails.
   - Setup SSL with automatic certificate renewal.
 
       - Find a reliable way to alert me when renewal fails.
@@ -116,6 +113,9 @@ Install Apache2.
 
     apt-get install apache2
 
 
     apt-get install apache2
 
+If not already defined elsewhere, add a "ServerName 127.0.0.1" to the bottom of
+`/etc/apache2/apache2.conf`, or whatever is appropriate.
+
 Since we use `/srv` instead of `/var/www`, edit `/etc/apache2/apache2.conf` to
 comment out the `<Directory ...>` entry for `/var/www` and replace it with
 this:
 Since we use `/srv` instead of `/var/www`, edit `/etc/apache2/apache2.conf` to
 comment out the `<Directory ...>` entry for `/var/www` and replace it with
 this: