This is an old revision of the document!
Set up the following directory structure (look at the others there as an example):
$ sudo tree -a /var/www/well-known /var/www/well-known +-- example.com \-- .well-known -> .
For your regular HTTP site (non-SSL) add the following to your <VirtualHost/>
block:
Include /etc/apache2/conf-available/well-known.conf
Now reload Apache for your configuration to take effect.
Finally run:
sudo certbot certonly --webroot -w /var/www/well-known/coremem.com -d example.com -d www.example.com