Domain: wpmu.work
ip: 128.199.8.245
This is a fresh install of Ubuntu 20.04 with Apache installed. I used the instructions to obtain a wildcard from here: Certbot - Ubuntufocal Apache
The certbot plugin I used is digitalocean.
Here is the command I ran:
sudo certbot -a dns-digitalocean --dns-digitalocean -i apache --dns-digitalocean-credentials ~/.secrets/certbot/digitalocean.ini -d *.wpmu.work -d wpmu.work
Output:
Created an SSL vhost at /etc/apache2/sites-available/wpmu-le-ssl.conf
Enabled Apache socache_shmcb module
Enabled Apache ssl module
Deploying Certificate to VirtualHost /etc/apache2/sites-available/wpmu-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-available/wpmu-le-ssl.conf
Redirecting vhost in /etc/apache2/sites-enabled/wpmu.conf to ssl vhost in /etc/apache2/sites-available/wpmu-le-ssl.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations! You have successfully enabled https://*.wpmu.work and
https://wpmu.work
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Seems successful... but when I visit https://wpmu.work or http://wpmu.work, it times out.
wpmu.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName wpmu.work
ServerAlias www.wpmu.work
DocumentRoot /var/www/wpmu
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =wpmu.work [OR]
RewriteCond %{SERVER_NAME} =www.wpmu.work
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
wpmu-le-ssl-.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName wpmu.work
ServerAlias www.wpmu.work
DocumentRoot /var/www/wpmu
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/wpmu.work/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/wpmu.work/privkey.pem
</VirtualHost>
</IfModule>
Can anyone spot what it is I am doing wrong?
Not sure if this is helpful, but there is this as well...
root@wpmu-work:/var/log/apache2# tail -n 5 error.log
[Tue Feb 09 05:56:40.955107 2021] [core:notice] [pid 16014:tid 140521637821504] AH00094: Command line: '/usr/sbin/apache2'
[Tue Feb 09 05:56:49.380984 2021] [mpm_event:notice] [pid 16014:tid 140521637821504] AH00493: SIGUSR1 received. Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Tue Feb 09 05:56:49.405766 2021] [mpm_event:notice] [pid 16014:tid 140521637821504] AH00489: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Tue Feb 09 05:56:49.405786 2021] [core:notice] [pid 16014:tid 140521637821504] AH00094: Command line: '/usr/sbin/apache2'