File: //etc/apache2/sites-available/sftpkvkprod4hhgo.conf
# Auto generated VHOST configuration for Hostingpackage sftpkvkprod4hhgo
###################################################
# sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl #
###################################################
<VirtualHost 171.22.67.17:80 [2a04:8400:2:1::20f]:80>
ServerAdmin support@resellerdns.nl
ServerName sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl
Redirect permanent / https://sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl/
</VirtualHost>
<VirtualHost 171.22.67.17:80 [2a04:8400:2:1::20f]:80>
ServerAdmin support@resellerdns.nl
ServerName www.sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl
Redirect permanent / https://www.sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl/
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost 171.22.67.17:443 [2a04:8400:2:1::20f]:443>
ServerAdmin support@resellerdns.nl
ServerName sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl
ServerAlias www.sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl
DocumentRoot /home/sftpkvkprod4hhgo/sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl/
Redirect permanent /phpmyadmin https://hosting103.resellerdns.nl/phpmyadmin
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/sftpkvkprod4hhgo/sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl>
Options MultiViews IncludesNoExec ExecCGI FollowSymlinks Includes
AllowOverride FileInfo AuthConfig Limit Indexes Options=All,MultiViews
Require all granted
</Directory>
ErrorLog /var/log/apache2/hostingpackages/sftpkvkprod4hhgo/sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl-error.log
LogLevel warn
CustomLog /var/log/apache2/hostingpackages/sftpkvkprod4hhgo/sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl-access.log combined
AccessFileName .htaccess
Protocols h2 http/1.1
AddDefaultCharset utf-8
SSLEngine on
SSLCertificateFile /etc/ssl/certs/sftpkvkprod4hhgo-sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl.pem
SSLCertificateKeyFile /etc/ssl/private/sftpkvkprod4hhgo-sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl.key
SSLCipherSuite "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384"
Header always set Strict-Transport-Security "max-age=31536000; preload"
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/.well-known/
RewriteRule ^(.*)$ https://hosting103.resellerdns.nl$1 [P]
SSLProxyEngine On
</IfModule>
</VirtualHost>
</IfModule>
####################################################################
# sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl.domainpreview.nl #
####################################################################
<VirtualHost 171.22.67.17:80 [2a04:8400:2:1::20f]:80>
ServerAdmin support@resellerdns.nl
ServerName sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl.domainpreview.nl
ServerAlias www.sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl.domainpreview.nl
DocumentRoot /home/sftpkvkprod4hhgo/sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl/
Redirect permanent /phpmyadmin https://hosting103.resellerdns.nl/phpmyadmin
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/sftpkvkprod4hhgo/sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl>
Options MultiViews IncludesNoExec ExecCGI FollowSymlinks Includes
AllowOverride FileInfo AuthConfig Limit Indexes Options=All,MultiViews
Require all granted
</Directory>
ErrorLog /var/log/apache2/hostingpackages/sftpkvkprod4hhgo/sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl.domainpreview.nl-error.log
LogLevel warn
CustomLog /var/log/apache2/hostingpackages/sftpkvkprod4hhgo/sftp-kvkprod4hhgoej2gii3ymau4wacp5kk3.korper.nl.domainpreview.nl-access.log combined
AccessFileName .htaccess
Protocols h2 http/1.1
AddDefaultCharset utf-8
</VirtualHost>