Ich möchte Domains an unterschiedlichen Ports lauschen lassen.
bsp. ich.dyndns.tv an Port 80
du.dyndns.tv an Port 5000
Dazu habe ich die entsprechenden Vhosts angelegt.
edit: Natürlich auch ein Listen 5000 eingefügt!
Klappt soweit auch, mit einer Einschänkung:
Wenn ich du.dyndns.tv ohne Portangabe aufrufe, werde ich auf ich.dyndns.tv umgeleitet.
Bei du.dyndns.tv:5000 <-- richtige Seite
Bei du.dyndns.tv <-- umleitung zu ich.dyndns.tv
Wie kann ich das verhindern?
auszug aus den Vhosts:
- Code: Select all
NameVirtualHost 192.168.2.107:5000
<VirtualHost 192.168.2.107:5000>
ServerAdmin webmaster@localhost
DocumentRoot /usr/share/phpmyadmin
ServerName du.dyndns.tv
ServerAlias du.dyndns.tv *.du.dyndns.tv
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
NameVirtualHost 192.168.2.107:80
<VirtualHost 192.168.2.107:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/ich.dyndns.tv/
ServerName ich.dyndns.tv
ServerAlias ich.dyndns.tv *.ich.dyndns.tv
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
Danke schonmal