Hallo ihr,
ich möchte gerne subdomains für meinen Apache einrichten. Nun hab ich in meiner localhost Datei hinzugefügt:
Die ersten drei sollen meine Subdomains sein bei jeder wird jedoch DNS Fehler angezeigt.
Dann habe ich noch Google hinzugefügt um zu sehen ob er Google dann "sperrt", funktioniert auch nicht.
Meine httpd_vhost.config habe ich um folgendes ergänzt: (Noch nicht folständig aber ich denke das der Fehler nicht dort liegt da der normale localhost noch funktioniert)
Hoffe ihr könnt mir helfen
Gruß
js
EDIT:
Wenn ich über den normalen localhost zugreife zeigt er mir nur die htm seite an, alle css Dateien werden nicht geladen. Im Browser wird für die ein 403 Fehler ausgespuckt
und hier noch das Errorlog beim tarten des Apache:
[Thu Dec 25 21:19:50.846865 2014] [ssl:warn] [pid 8444:tid 372] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Dec 25 21:19:50.972048 2014] [core:warn] [pid 8444:tid 372] AH00098: pid file C:/phoenix/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Dec 25 21:19:50.979059 2014] [ssl:warn] [pid 8444:tid 372] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Dec 25 21:19:51.067187 2014] [mpm_winnt:notice] [pid 8444:tid 372] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[Thu Dec 25 21:19:51.067187 2014] [mpm_winnt:notice] [pid 8444:tid 372] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Thu Dec 25 21:19:51.067187 2014] [core:notice] [pid 8444:tid 372] AH00094: Command line: 'c:\\phoenix\\apache\\bin\\httpd.exe -d C:/phoenix/apache'
[Thu Dec 25 21:19:51.070194 2014] [mpm_winnt:notice] [pid 8444:tid 372] AH00418: Parent: Created child process 5596
AH00548: NameVirtualHost has no effect and will be removed in the next release C:/phoenix/apache/conf/extra/httpd-vhosts.conf:20
[Thu Dec 25 21:19:52.651039 2014] [ssl:warn] [pid 5596:tid 436] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Dec 25 21:19:52.791243 2014] [ssl:warn] [pid 5596:tid 436] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Dec 25 21:19:52.879372 2014] [mpm_winnt:notice] [pid 5596:tid 436] AH00354: Child: Starting 150 worker threads.
ich möchte gerne subdomains für meinen Apache einrichten. Nun hab ich in meiner localhost Datei hinzugefügt:
Code:
127.0.0.1 meinserver.lo 127.0.0.1 admin.meinserver.lo 127.0.0.1 i.meinserver.lo 127.0.0.1 google.com
Dann habe ich noch Google hinzugefügt um zu sehen ob er Google dann "sperrt", funktioniert auch nicht.
Meine httpd_vhost.config habe ich um folgendes ergänzt: (Noch nicht folständig aber ich denke das der Fehler nicht dort liegt da der normale localhost noch funktioniert)
Code:
NameVirtualHost *:80 <VirtualHost *:80> ServerName admin.waldreiter.lo DocumentRoot "C:/phoenix/htdocs/phoenix/admin" DirectoryIndex index.php index.html index.html index.htm index.shtml </VirtualHost> <VirtualHost *:80> ServerName i.waldreiter.lo DocumentRoot "C:/phoenix/htdocs/phoenix" DirectoryIndex index.php index.html index.html index.htm index.shtml </VirtualHost>
Hoffe ihr könnt mir helfen
Gruß
js
EDIT:
Wenn ich über den normalen localhost zugreife zeigt er mir nur die htm seite an, alle css Dateien werden nicht geladen. Im Browser wird für die ein 403 Fehler ausgespuckt

und hier noch das Errorlog beim tarten des Apache:
[Thu Dec 25 21:19:50.846865 2014] [ssl:warn] [pid 8444:tid 372] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Dec 25 21:19:50.972048 2014] [core:warn] [pid 8444:tid 372] AH00098: pid file C:/phoenix/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Dec 25 21:19:50.979059 2014] [ssl:warn] [pid 8444:tid 372] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Dec 25 21:19:51.067187 2014] [mpm_winnt:notice] [pid 8444:tid 372] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[Thu Dec 25 21:19:51.067187 2014] [mpm_winnt:notice] [pid 8444:tid 372] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Thu Dec 25 21:19:51.067187 2014] [core:notice] [pid 8444:tid 372] AH00094: Command line: 'c:\\phoenix\\apache\\bin\\httpd.exe -d C:/phoenix/apache'
[Thu Dec 25 21:19:51.070194 2014] [mpm_winnt:notice] [pid 8444:tid 372] AH00418: Parent: Created child process 5596
AH00548: NameVirtualHost has no effect and will be removed in the next release C:/phoenix/apache/conf/extra/httpd-vhosts.conf:20
[Thu Dec 25 21:19:52.651039 2014] [ssl:warn] [pid 5596:tid 436] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Dec 25 21:19:52.791243 2014] [ssl:warn] [pid 5596:tid 436] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Dec 25 21:19:52.879372 2014] [mpm_winnt:notice] [pid 5596:tid 436] AH00354: Child: Starting 150 worker threads.
Kommentar