Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

virtuelle Hosts unter Xampp einrichten

Empfohlene Antworten

Hallo ich habe auf meinem recher Win XP Prof Xampp laufen, dazu einen Account bei DynDNS, den Dyndns Updater installiert und

diese Kombination funktioniert auch. Jetzt habe ich zweite Account bei DynDNS eingerichtet. Dann habe ich zwei VirtuellHost für beide Accounts konfiguriert. Doch leider landet man, wenn man www.Account1.dyndns.org oder www.Account2.dyndns.org nicht im Verzeichnis \Account1 oder \Account2 sondern im htdocs.

bei Xampp habe ich unter apache/conf/ in der Datei httpd.conf folgende Einstellungen


NameVirtualHost 127.0.0.1:80

<VirtualHost www.Account1.dyndns.org>
ServerAdmin info@Account1.de
DocumentRoot "D:/program files/xampp/htdocs/Account1/"
ServerName www.Account1.dyndns.org
DirectoryIndex index.php
</VirtualHost>

<VirtualHost www.Account2.dyndns.org>
ServerAdmin info@Account2.de
DocumentRoot "D:/program files/xampp/htdocs/Account2/"
ServerName www.Account2.dyndns.org
DirectoryIndex index.php
</VirtualHost>
[/PHP]

Dann auch in die HOST Datei unter c:\winnt\system32\drivers\etc

[PHP]
127.0.0.1 localhost
127.0.0.1 www.Account1.dyndns.org
127.0.0.1 www.Account2.dyndns.org

Wo muss ich denn noch etwas ändern damit es funktioniert

Vielen Dank für Eure Hilfe.

MfG max

Muss noch was bestiemen. Wenn ich local www.Account1.dyndns.org oder www.Account1.dyndns.org aufrufe, funktioniert alles Super. Ich kann nicht in richtigen Verzeichnis von ein anderen Rechner (aus Netz) landen.

Mit der NameVirtualHost-Anweisung geben Sie die IP-Adresse an, unter der der Server Anfragen für namensbasierte virtuelle Hosts entgegennimmt.

Falls eine Firewall oder ein anderer Proxy die Anfrage in Empfang nimmt und Sie zu einer weiteren IP-Adresse des Servers weiterleitet, müssen Sie die IP-Adresse der physikalischen Schnittstelle der Maschine angeben, welche die Anfragen bedient.

Damit ist es auch kein Wunder, dass das lokal geht. Denn lokal wird der Name nach 127.0.0.1 aufgelöst.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.