Problem mit der Einrichtung eines VirtualHosts

Apache, Lighttpd, nginx, Cherokee
Post Reply
itsfd
Posts: 8
Joined: 2003-10-31 21:45
 

Problem mit der Einrichtung eines VirtualHosts

Post by itsfd »

Hallo.
Ich habe ein Problem mit der Einrichtung eines VirtualHosts unter Apache 1.3 auf einem 1&1-Rootserversystem (Suse 8.1/Confixx2)

Der Aufruf http://domain.tld/ liefert eine Fehlerseite (Domain nicht gefunden)

Der Aufruf http://xyz.domain.tld/ liefert die gewünschte Seite
Mit anderen Domains klappt es. Mit einer einzelnen nicht.


Bitte um Hinweise, wie ich weiter vorgehen sollte.

Danke, Frank.


Hier ein Auszug aus confixx_vhost.conf:
<VirtualHost 111.111.111.111:80>
ServerName http://www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /home/www/web1/html/start
DirectoryIndex index.php index.html
User web1
Group ftponly
ScriptAlias /cgi-bin/ /home/www/web1/html/cgi-bin/
CustomLog /home/www/web1/log/access_log confixx2
ErrorLog /home/www/web1/log/error_log
php_admin_value open_basedir /home/www/web1/
php_admin_value upload_tmp_dir /home/www/web1/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>
kama
Posts: 51
Joined: 2004-05-11 22:07
Location: Aachen
Contact:
 

Problem mit der Einrichtung eines VirtualHosts

Post by kama »

Hallo,

stell mal wie folgt um:

Code: Select all

<VirtualHost 111.111.111.111:80>
ServerName domain.tld
ServerAlias *.domain.tld
DocumentRoot /home/www/web1/html/start
DirectoryIndex index.php index.html
User web1
Group ftponly ...
weil http://www.domain.tld => *.domain.tld entspricht.....

MfG
[/code]
itsfd
Posts: 8
Joined: 2003-10-31 21:45
 

Re: Problem mit der Einrichtung eines VirtualHosts

Post by itsfd »

Danke, jetzt geht's.

Frank
Post Reply