ServerAlias jugend-gahlen.de ServerName jugend-gahlen.de ServerAdmin webmaster@localhost DocumentRoot /var/www/jugendgahlen/ Options Indexes FollowSymLinks MultiViews AllowOverride None Require all granted ErrorLog /var/log/apache2/error.log LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On RewriteEngine on RewriteCond %{SERVER_NAME} =tensing-gahlen.de RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]