da gabt es wenig problem.
Nun habe ich einen 1&1 Root-Server vor mir und wollte Domain in der Vhost eintragen,
aber irgendwie funktioniert es nicht so wie geplant.
unter
test.domain.de (2. Eintrag in der Vhost)
erscheint die Webseite des 1. Eintrag.
Apache meldet beim Restart
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/vhosts.d/domain.conf:1
Als System läuft Suse 13.1
Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName beispiel.de
ServerAlias *.beispiel.de
DocumentRoot /webserver/http/htdocs/beispiel
ErrorLog /var/log/apache2/beispiel/error_log
CustomLog /var/log/apache2/beispiel/access_log combined
</VirtualHost>
<VirtualHost *:80>
ServerName http://test.domain.de/
DocumentRoot /webserver/http/htdocs/domain
ErrorLog /var/log/apache2/domain/error_log
CustomLog /var/log/apache2/domain/access_log combined
</VirtualHost>