ich weis... diese thema hatten wir schon 1000mal, doch ich habe den Fehler nicht gefunden weder beim googeln noch inder Forumsuche oder auf apache.org......
Ich habe eine dynip daher nutze isch den dyndns service....
(Widlcard ist angeschaltet)
nun wollte ich eine Subdomain einrichten....
dazu habe ich die httpd.conf editiert.....
#
#
<VirtualHost 127.0.0.1>
ServerName invite.ath.cx
ServerAdmin support@invite.ch
DocumentRoot /srv/www/htdocs
</VirtualHost>
#
#
<VirtualHost 127.0.0.1>
ServerName tand.invite.ath.cx
ServerAdmin support@invite.ch
DocumentRoot /home/tand/public_html
</VirtualHost>
#
#
wenn ich nun http://invite.ath.cx aufrufe, geht das auch, doch wenn ich tand.invite.ath.cx aufrufen will, komme ich auf die mainpage von invite.ath.cx......
Die Hosts habe ich ebenfalls angepasst, doch ich komme nicht dahinter warum das nicht funktioniert....
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 invite.ath.cx
127.0.0.1 tand.invite.ath.cx
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 voyager.invite.ch voyager
Ich habe ja einen DNS Server (DynDNS) welcher Wildcard hat und daher sollte es ja so funzen...
wisst ihr weiter?