Domain Name Server

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

Domain Name Server

Postby mango » 25. January 2006 22:00

Hallo
Ich habe Xampp am laufen.
Hat auch immer super funktioniert
Nun ist es aber so dass ich bis jetzt in meiner httpd.conf nur dyndns.org Adressen gehostet habe.
Jetzt kommt aber eine xxxxxx.ch domain dazu
Aber das Problem ist, dass die xxxxx.dyndns.org Adressen ohne problem funktionieren aber dïe xxxxxxxxxx.ch kommt nicht. Kann nicht gefunden werden im Browser.

Meine Frage muss ich ein Name Server auf dem Debian installiern (Bind)

Ich hab hier mal ein Auszug aus meinen Virtual Host

Code: Select all
#
# VHost für xxxxx.ch
#
#NameVirtualHost xxxxx.ch:8080

<VirtualHost *:8080>
  ServerAdmin blabla@xxxxx.ch
  DocumentRoot /opt/lampp/htdocs/xxxxx
  ServerName xxxxx.ch
  ServerAlias xxxxx.ch *.xxxxx.ch
  ErrorLog logs/xxxxx.ch-errror_log
  CustomLog logs/xxxxx.ch_log common
</VirtualHost>

#
# VHost für xxxxx.dyndns.org
#
#NameVirtualHost xxxxx.dyndns.org:8080

<VirtualHost *:8080>
  ServerAdmin blabla@xxxxx.dyndns.org
  DocumentRoot /opt/lampp/htdocs/xxxxx
  ServerName xxxxx.dyndns.org
  ServerAlias xxxxx.dyndns.org *.xxxxx.dyndns.org
  ErrorLog logs/xxxxx.dyndns.org-errror_log
  CustomLog logs/xxxxx.dyndns.org_log common
</VirtualHost>


mango
 
Posts: 42
Joined: 29. June 2003 20:44

Postby Wiedmann » 25. January 2006 22:11

Am Anfang der VHosts fehlt ein:
Code: Select all
NameVirtualHost *:8080


Es wird auch irgendwie in keinem der VHosts ein Zugriff auf das jeweilige DocumentRoot gestattet. Muss aber hier, auf Grund der angegebenen Pfadstruktur, kein Problem sein.

Ansonsten kann man auf Grund der X'se nicht viel mehr sagen.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby mango » 09. February 2006 16:09

I poste mal meine VHost
Ich begreiffe nicht wieso die dyndns.org Accounts funktionieren und der rollinrockers.ch nicht??

Code: Select all

### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# VHost für well
#
NameVirtualHost *:8080

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:8080>
    ServerAdmin postmaster@well.dyndns.org
    DocumentRoot /opt/lampp/htdocs/PostNuke/html
    ServerName well.dyndns.org
    ServerAlias well.dyndns.org *.well.dyndns.org
    ErrorLog logs/well-error_log
    CustomLog logs/well_log common
</VirtualHost>

#
# VHost für now
#
#NameVirtualHost now.dyndns.org:8080
 
<VirtualHost *:8080>
    ServerAdmin postmaster@well.dyndns.org
    DocumentRoot /opt/lampp/htdocs/phpBB2
    ServerName now.dyndns.org
    ServerAlias now.dyndns.org *.now.dyndns.org
    ErrorLog logs/now-error_log
    CustomLog logs/now_log common
</VirtualHost>

#
# VHost für rollinrockers.ch
#
#NameVirtualHost rollinrockers.ch:8080

<VirtualHost *:8080>
    ServerAdmin postmaster@well.dyndns.org
    DocumentRoot /opt/lampp/htdocs/rollinrockers
    ServerName rollinrockers.ch
    ServerAlias rollinrockers.ch *.rollinrockers.ch
    ErrorLog logs/rollinrockers-error_log
    CustomLog logs/rollinrockers_log common
</VirtualHost>

#
# VHost für go
#
#NameVirtualHost go.dyndns.org:8080

<VirtualHost *:8080>
    ServerAdmin postmaster@well.dyndns.org
    DocumentRoot /opt/lampp/htdocs/RR
    ServerName go.dyndns.org
    ServerAlias go.dyndns.org *.go.dyndns.org
    ErrorLog logs/go-error_log
    CustomLog logs/go_log common
</VirtualHost>



Alias /phpmyadmin "/opt/lampp/phpmyadmin"
Alias /phpsqliteadmin "/opt/lampp/phpsqliteadmin"

# since XAMPP 1.4.3
<Directory "/opt/lampp/phpmyadmin">
    AllowOverride AuthConfig Limit
</Directory>


Der rollinrocker Account ist bei Switch.ch registiert (muss man in der Schweiz)
Die dyndns.org Accounts sind wie gehabt bei dyndns.org registiert.

mfg
mango
 
Posts: 42
Joined: 29. June 2003 20:44

Postby deepsurfer » 12. February 2006 18:07

Wird denn der rollinrockers.ch auch auf deine IP geschickt wo dein XAMPP läuft ?

Wenn du von DynDSN-Accounts schreibst, sieht es so für mich aus das du den XAMPP bei dir zuhause stehen hast.
Ich weiss jetzt nicht ob du eine so genannte Feste-IP für dich zuhause besitzt oder wie im bekannten masse das man immer eine neue IP bekommt sobald das DLS entweder zwangsgetrennt wird oder man aus gründen wie auch immer sich neu einwählt.

Solltest du so eine Dynamische-IP Vergabe haben muss sichergestellt das die angemeldete Domainname auch auf deine immer neu werdende IP aufläuft.
Sonst nützt das rein gar nichts.
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian


Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 24 guests