Subdomain - Ubuntu erstellen
Erscheinungsbild
In der hosts eintragen:
78.47.142.214 foto2.patrickitten.ch
#subdomain foto.patrickitten.ch
<VirtualHost *:80>
ServerName foto.patrickitten.ch
DocumentRoot /var/www/html/foto
<Directory /var/www/html/foto>
# enable the .htaccess rewrites
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error_orlybg.log
CustomLog ${APACHE_LOG_DIR}/access_orlybg.log combined
</VirtualHost>