X-Git-Url: https://git.subgeniuskitty.com/website_subgeniuskitty.com/.git/blobdiff_plain/562bd1873aecfa00d8be6ed9794df009bfbf96d9..7c21ac6b341172333673560299a6397e18edd0bf:/data/notes/mail_web_git_server.md?ds=sidebyside diff --git a/data/notes/mail_web_git_server.md b/data/notes/mail_web_git_server.md index ac1dd91..de6f013 100644 --- a/data/notes/mail_web_git_server.md +++ b/data/notes/mail_web_git_server.md @@ -41,9 +41,6 @@ etc in the examples. # 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. @@ -55,10 +52,7 @@ etc in the examples. - Take a snapshot on Linode's backup service once the basic services are operational. - - Delete old mail/web/git vservers after downloading a disk image. - - - Setup log rotation, or at least make sure everything ties into whatever is - pre-configured on Debian for log rotation. + - Migrate mail server. Delete old linode vserver after downloading a disk image. - Finish this documentation. @@ -116,6 +110,9 @@ 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 `` entry for `/var/www` and replace it with this: