ServerName bavbavhaus.net ServerAlias www.bavbavhaus.net RewriteEngine on RewriteCond %{SERVER_NAME} =www.bavbavhaus.net [OR] RewriteCond %{SERVER_NAME} =bavbavhaus.net RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] ServerName bavbavhaus.net ServerAlias www.bavbavhaus.net DocumentRoot /home/urosm/public_html/bavbavhaus.net ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateFile /etc/letsencrypt/live/bavbavhaus.net/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/bavbavhaus.net/privkey.pem