# apt-get update # apt-get -y install apache2 systemctl status apache2 # mkdir /var/www/www.example1.de # mkdir /var/www/www.example2.de # chmod -R 755 /var/www/www.example{1,2}.de # a2ensite www_example1_de.conf # systemctl reload apache2 # a2dissite www_example1_de.conf # systemctl reload apache2 curl -I http://example1.de curl -I http://www.example1.de apt-get -y install nginx # ln -s /etc/nginx/sites-available/www.example1 .de/etc/nginx/sites-enabled/ # systemctl reload nginx # apt-get -y install snapd [... New registration ...] # snap install core # snap install --classic certbot # ln -s /snap/bin/certbot /usr/bin/certbot # certbot --apache