Hallo Com.
Ich habe einen kleinen vServer hier "Preisbrecher 5.0" und 1x .de Domain!
Ich möchte mehrere Subdomains einstellen! Komme jedoch nicht weiter ._.
Ich arbeite unter Ubuntu 14.04 LTS
unter /etc/apache2/sites-available/ habe ich die 000-default,conf so abgeändert:
Code
<VirtualHost *:80>
ServerName <meine domain>.de
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
<VirtualHost *:80>
DocumentRoot /www/var/test
ServerName test.<meine domain>.de
# Other directives here
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /www/var/test2
ServerName test2.<meine domain>.de
# Other directives here
</VirtualHost>
Alles anzeigen
Bei zugriff über Browser auf test.<meine domain>.de
Code
Forbidden
You don't have permission to access /
on this server.
Apache/2.4.7 (Ubuntu) Server at test.<meine domain>.de Port 80
Fehlermeldung bei Apache2
Code
AH00112: Warning: DocumentRoot [/www/var/test] does not exist
AH00112: Warning: DocumentRoot [/www/var/test2] does not exist
Die Verzeichnisse sind aber vorhanden!!!
Und versteh nicht warum test.<>.de nicht erreichbar ist?!