Tach Leute,
ich möchte gerne, dass meine Domain www.meinedomain.de auf einem Ordner weitergeleitet wird (--> z.B. ROOT-IP/meinedomain/).
Dazu muss ich ja Vhosts bestimmen, ich habe nun folgendes in /opt/lampp/etc/extra/httpd-vhosts.conf hinzgefügt :
NameVirtualHost *:80
<VirtualHost rootIP:80>
ServerName rootIP
ServerAlias rootIP
DocumentRoot /opt/lampp/htdocs/
</VirtualHost>
<VirtualHost rootIP:80>
ServerName meinedomain.de
ServerAlias www.meinedomain.de
DocumentRoot /opt/lampp/htdocs/meinedomain/
</VirtualHost>
Das selbe habe ich auch in /opt/lampp/etc/httpd.conf hinzugefügt.
Aber wenn ich meinedomain.de besuche , werde ich auf /opt/lampp/htdocs/ weitergeleitet ....
Wo liegt das Problem ?
danke