PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : server4you + apache prob



Tuxist
06.11.05, 12:43
habe virtuellen apache server hinzugefügt:
apache2.conf


<VirtualHost www.tuxist.de>
ServerAdmin jan.koester@gmx.net
DocumentRoot /var/www/tuxist
ServerName www.tuxist.de
ErrorLog logs/www.tuxist.de-error_log
CustomLog logs/www.tuxist.de-access_log common
</VirtualHost>

Fehlermeldung:


sh apache2 force-reload
Forcing reload of web server: Apache2[Sun Nov 06 12:42:07 2005] [error] (EAI 2)Name or service not known: Cannot resolve host name www.tuxist.de --- ignoring!
[Sun Nov 06 12:42:07 2005] [warn] NameVirtualHost 62.75.184.90:80 has no VirtualHosts
httpd (no pid file) not running

[Sun Nov 06 12:42:17 2005] [error] (EAI 2)Name or service not known: Cannot resolve host name www.tuxist.de --- ignoring!
[Sun Nov 06 12:42:17 2005] [warn] NameVirtualHost 62.75.184.90:80 has no VirtualHosts

Roger Wilco
06.11.05, 13:08
Deine Syntax ist kaputt bzw. www.tuxist.de kann einfach nicht aufgelöst werden (Nameserver in Ordnung?).
Lies mal http://httpd.apache.org/docs/2.0/vhosts/name-based.html bzw. hauptsächlich http://httpd.apache.org/docs/2.0/mod/core.html#virtualhost und mach dir klar, was in die spitzen Klammern zu VirtualHost gehört.

Tuxist
06.11.05, 13:46
hat sonst jemand bsp conf. habe nicht viel zeit muss bald wieder zum bund

Roger Wilco
06.11.05, 14:05
Lies die Doku, dort findest du zahlreiche Beispiele.

matthias1306
06.11.05, 15:57
Ich glaub, dass muss so aussehen:

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin jan.koester@gmx.net
DocumentRoot /var/www/tuxist
ServerName www.tuxist.de
ErrorLog logs/www.tuxist.de-error_log
CustomLog logs/www.tuxist.de-access_log common
</VirtualHost>

AndreasDrasch
24.08.06, 09:35
Hallo,

ich habe das selbe Problem mit den Virtual Host Einträgen bei Server4you! Ist dieses Problem schon gelöst worden?

Gruss Andreas.

himbeere
24.08.06, 09:47
Es gibt kein Problem mit Virtual Host Einträgen bei Server4You.

AndreasDrasch
24.08.06, 10:02
Warum zeigt es mir dann dies an?

Forcing reload of web server: Apache2[Sat Aug 19 09:29:20 2006] [warn] NameVirtualHost 85.25.59.77:80 has no VirtualHosts
[Sat Aug 19 09:29:21 2006] [warn] NameVirtualHost 85.25.59.77:80 has no VirtualHosts

Wo muss ich den dann die Virtual Host Einträge setzen wenn nicht in der httpd.conf? Es ist unter anderem auch Confixx installiert!

Tomek
24.08.06, 10:07
Das sind einfache Syntax-Fehler, die sich beheben lassen, wenn man die Konfiguration der virtuellen Hosts wie folgt benutzt:
http://www.linuxserverforum.de/vb/showthread.php?t=389

Ist aber auch hier erklärt:
http://httpd.apache.org/docs-2.0/de/vhosts/