I’m running a private Arch Linux (18.104.22.168-ARCH) server with Apache (2.4.20) for some private webapps (invoicing, database, testserver, backups, etc…). This machine has a dynamic ip from freedns dot org. For the sake of example let’s say mycomputer,afraid,org.
I have a public website, let’s say www,mywebsite,com that points to a different server alltogether. To make it easier for myself, I have configured a subdomain for each service I want to access on my private server. I pointed each subdomain to CNAME mycomputer,afraid,org
This is how it looks
invoicing,mywebsite,com --> mycomputer,afraid,org (cname)
phpmyadmin,mywebsite,com --> mycomputer,afraid,org (cname)
backups,mywebsite,com --> mycomputer,afraid,org (cname)
–> apache handles the separation between these by using vhosts
Now I have recently discovered lets encrypt, I’m in love with it. I have already converted all my public websites (which have cpanel) to use letsencrypt and it’s working flawlessly. I haven’t had any problems because it’s pretty straightforward.
Obviously I would also like to get SSL going on my private websites, but I don’t know where to start. I have followed the tutorial on the archlinux wiki. https://wiki.archlinux.org/index.php/Let’s_Encrypt
Do I have to register the certificate for (each of) the subdomains of mywebsite,com or one for mycomputer,afraid,org?