Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vhosts problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Dherkhon
n00b
n00b


Joined: 07 Apr 2003
Posts: 25

PostPosted: Tue Mar 23, 2004 10:40 am    Post subject: Vhosts problem Reply with quote

Hi !

Folgendes problem:

In der /etc/apache2/conf/vhosts/vhosts.conf habe ich folgende einträge:

-----------

NameVirtualHost 193.201.*.*:80

<VirtualHost 193.201.*.*:80>
ServerAdmin webmaster@
ServerName DOMAIN1.de
DocumentRoot /home/www/domain1
</VirtualHost>

<VirtualHost 193.201.*.*:80>
ServerAdmin webmaster@
ServerName www.DOMAIN1.de
DocumentRoot /home/www/domain1
</VirtualHost>

<VirtualHost 193.201.*.*:80>
ServerAdmin webmaster@
ServerName DOMAIN2.com
DocumentRoot /home/www/domain2
</VirtualHost>

<VirtualHost 193.201.*.*:80>
ServerAdmin webmaster@
ServerName www.DOMAIN2.com
DocumentRoot /home/www/domain2
</VirtualHost>

<VirtualHost 193.201.*.*:80>
ServerAdmin webmaster@
ServerName subdomain.DOMAIN2.com
DocumentRoot /home/www/domain2_subdomain_ordner
</VirtualHost>

<VirtualHost 193.201.*.*:80>
ServerAdmin webmaster@
ServerName www.subdomain.DOMAIN2.com
DocumentRoot /home/www/domain2_subdomain_ordner
</VirtualHost>


----------

Jetzt ist es so das die 2 roten container garnicht funktionieren.

Was ich damit sagen will ist das subdomains ala test.domain.tld ins nirvana führen.Es kommt ein 404

Jemand eine ahnung warum das so sein koennte ? Die Domains liegen bei providerdomain.Kein eigener nameserver.

Danke
Back to top
View user's profile Send private message
equinox0r
l33t
l33t


Joined: 18 Feb 2004
Posts: 614

PostPosted: Tue Mar 23, 2004 11:03 am    Post subject: Reply with quote

was steht denn in deinen logs?
Back to top
View user's profile Send private message
Dherkhon
n00b
n00b


Joined: 07 Apr 2003
Posts: 25

PostPosted: Tue Mar 23, 2004 11:12 am    Post subject: Reply with quote

rein garnichts

auch komisch oder ? Jedenfalls keine fehler...

nichts in der access.log und auch nichts in der error.log vom apache2
Back to top
View user's profile Send private message
kurt
Guru
Guru


Joined: 25 Aug 2003
Posts: 403
Location: Arni (AG); CH

PostPosted: Tue Mar 23, 2004 11:23 am    Post subject: Reply with quote

hi

das braucht zusätzliche DNS einträge.

gruss

kurt
Back to top
View user's profile Send private message
Dherkhon
n00b
n00b


Joined: 07 Apr 2003
Posts: 25

PostPosted: Tue Mar 23, 2004 11:30 am    Post subject: Reply with quote

wie jetzt ? das sind doch virtual hosts

die hab ich doch frher auch nie gebraucht ( dns einträge )
Back to top
View user's profile Send private message
kurt
Guru
Guru


Joined: 25 Aug 2003
Posts: 403
Location: Arni (AG); CH

PostPosted: Tue Mar 23, 2004 11:43 am    Post subject: Reply with quote

Hallo

der brouwser fragt den DNS-Server nach der IP.
anderst gesagt wenn der DNS-Server den namen nicht auflössen kann sagt er unbekant.
alternative hosts file einträge.
Back to top
View user's profile Send private message
Dherkhon
n00b
n00b


Joined: 07 Apr 2003
Posts: 25

PostPosted: Tue Mar 23, 2004 11:48 am    Post subject: Reply with quote

also das versteh ich nicht ganz

Die domain liegt bei schlund ( nameserver ) und die anfrage wird von schlund aus per ip an meinen server weiter gleitet.Jetzt entscheidet apache wohin es weiter geht.Sonst würden die anderen Domain ja auch nicht gehn.

Sag mir wenn das falsch ist

gruss
Back to top
View user's profile Send private message
kurt
Guru
Guru


Joined: 25 Aug 2003
Posts: 403
Location: Arni (AG); CH

PostPosted: Tue Mar 23, 2004 11:55 am    Post subject: Reply with quote

hi

das ist ganz einfach die anderen sind im DNS-Server eingetrage?

gruss

kurt
Back to top
View user's profile Send private message
Dherkhon
n00b
n00b


Joined: 07 Apr 2003
Posts: 25

PostPosted: Tue Mar 23, 2004 12:01 pm    Post subject: Reply with quote

nein

ich kann bei schlund lediglich ein ip/mx update machen

Also brauche ich wohl einen nameserver und geb den als secondary bei schlund an. Richtig ?
Back to top
View user's profile Send private message
kurt
Guru
Guru


Joined: 25 Aug 2003
Posts: 403
Location: Arni (AG); CH

PostPosted: Tue Mar 23, 2004 12:12 pm    Post subject: Reply with quote

Hi

richtig

aber wiso wartest du nicht gleich den DNS-Server selber?
dazu brauchst du zwar mindesten zwei scharfe server im internet aber du bist dann nicht abhängig vom provieder DNS.

also ich hab ein 4er range und das reicht gerade als minimum. die switch (top domeinverwaltung ch u. li) verlangt mindest zwei scharfe DNS der rest ist ihr egal. ich nehme ans dass das bei de nicht anderst ist.

gruss

kurt
Back to top
View user's profile Send private message
Dherkhon
n00b
n00b


Joined: 07 Apr 2003
Posts: 25

PostPosted: Tue Mar 23, 2004 12:33 pm    Post subject: Reply with quote

ich hab nur einen rootserver

einen zweiten kann ich mir nicht leisten und brauchen tu ich ihn auch nicht :)

ich installiert mal bind9 in chroot..... die configs hab ich noch

Danke
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum