• Das Erstellen neuer Accounts wurde ausgesetzt. Bei berechtigtem Interesse bitte Kontaktaufnahme über die üblichen Wege. Beste Grüße der Admin

XAMPP: VirtualHost im Apache 2 anlegen

pro.grammer

New member
Hallo,
ich habe ein Problem mit den Subdomains (VirtualHost).

Ich nutze Windows XP->XAMPP.


Diesen Code habe ich in die httpd.conf eingetragen:
Code:
NameVirtualHost localhost

<VirtualHost localhost>
ServerName localhost
DocumentRoot C:/www/http
</VirtualHost>

<VirtualHost dev.localhost>
ServerName dev.localhost
DocumentRoot C:/www/http/dev
</VirtualHost>

Das Problem: Die Subdomain wird nicht gefunden...

Im error.log steht:

[Mon Apr 05 14:15:26 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Apr 05 14:15:26 2010] [notice] Child 3344: Exit event signaled. Child process is ending.
[Mon Apr 05 14:15:27 2010] [notice] Child 3344: Released the start mutex
[Mon Apr 05 14:15:28 2010] [notice] Child 3344: All worker threads have exited.
[Mon Apr 05 14:15:28 2010] [notice] Child 3344: Child process is exiting
[Mon Apr 05 14:15:28 2010] [notice] Parent: Child process exited successfully.
[Mon Apr 05 14:15:35 2010] [error] (EAI 11001)APR does not understand this error code: Could not resolve host name dev.localhost -- ignoring!
[Mon Apr 05 14:15:43 2010] [error] (EAI 11001)APR does not understand this error code: Could not resolve host name dev.localhost -- ignoring!
[Mon Apr 05 14:15:46 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Apr 05 14:15:46 2010] [notice] Digest: done
[Mon Apr 05 14:15:48 2010] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Apr 05 14:15:48 2010] [notice] Server built: Nov 11 2009 14:29:03
[Mon Apr 05 14:15:49 2010] [notice] Parent: Created child process 2588
[Mon Apr 05 14:15:52 2010] [error] (EAI 11001)APR does not understand this error code: Could not resolve host name dev.localhost -- ignoring!
[Mon Apr 05 14:15:58 2010] [error] (EAI 11001)APR does not understand this error code: Could not resolve host name dev.localhost -- ignoring!
[Mon Apr 05 14:16:00 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Apr 05 14:16:00 2010] [notice] Digest: done
[Mon Apr 05 14:16:03 2010] [notice] Child 2588: Child process is running
[Mon Apr 05 14:16:03 2010] [notice] Child 2588: Acquired the start mutex.
[Mon Apr 05 14:16:03 2010] [notice] Child 2588: Starting 150 worker threads.
[Mon Apr 05 14:16:03 2010] [notice] Child 2588: Starting thread to listen on port 443.
[Mon Apr 05 14:16:03 2010] [notice] Child 2588: Starting thread to listen on port 80.


Jetzt bin ich überfragt, was das ganze bedeutet. Währe für Hilfe sehr dankbar.


Gruß
Thomas
 
Das bedeutet, dass Du Dir nicht einfach wild irgendwelche Namen ausdenken kannst, die kein DNS Server (oder keine Hostdatei) kennt.

Das soll heißen, das es sich um eine belegte Zeichenkette handelt? Wohl nicht...geht auch mit bla.localhost nicht.
 
Zurück
Oben