diese Kombination funktioniert auch. Jetzt habe ich zweite Account bei DynDNS eingerichtet. Dann habe ich zwei VirtuellHost für beide Accounts konfiguriert. Doch leider landet man, wenn man www.Account1.dyndns.org oder www.Account2.dyndns.org nicht im Verzeichnis \Account1 oder \Account2 sondern im htdocs.
bei Xampp habe ich unter apache/conf/ in der Datei httpd.conf folgende Einstellungen
- Code: Select all
NameVirtualHost 127.0.0.1:80
<VirtualHost www.Account1.dyndns.org>
ServerAdmin info@Account1.de
DocumentRoot "D:/program files/xampp/htdocs/Account1/"
ServerName www.Account1.dyndns.org
DirectoryIndex index.php
</VirtualHost>
<VirtualHost www.Account2.dyndns.org>
ServerAdmin info@Account2.de
DocumentRoot "D:/program files/xampp/htdocs/Account2/"
ServerName www.Account2.dyndns.org
DirectoryIndex index.php
</VirtualHost>
Dann auch in die HOST Datei unter c:\winnt\system32\drivers\etc
- Code: Select all
127.0.0.1 localhost
127.0.0.1 www.Account1.dyndns.org
127.0.0.1 www.Account2.dyndns.org
Wo muss ich denn noch etwas ändern damit es funktioniert
Vielen Dank für Eure Hilfe.
MfG max