I am an experienced developer but have run into an issue setting up lets encrypt on an Ubuntu bionic virtual private server.
My domains are:
Now I had this working with just gordonbanderson.com. The command I ran was
certbot certonly -v --staging --no-eff-email --webroot --preferred-challenges http --email "firstname.lastname@example.org" --agree-tos -d gordonbanderson.com -d www.gordonbanderson.com -w /var/www/gba/public/
When I added arbroathunited.cc as a domain to the same IP address the above command fails, when I try to create a certificate for gordonbanderson.com it tries to authenticate against the other domain associated with the server, arbroathunited.cc:
Output from the above command after adding the second domain, https://pastebin.com/6ANANPDz
My web server is (include version):
The virtual hosts are responding correct, I added the same filename to both servers with different text, and the responded as expected.
The operating system my web server runs on is (include version):
Alpine Linux 3.10 (note I am using docker with multiple containers). Certbot is running Debian stretch
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
NO, using SSH
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot):
The attempt to authorize gordonbanderson.com against the webroot of arbroathunited.cc, which is failing, is where I am confused.
Any pointers appreciated