XAMPP Virtual Hosts funktioniert nicht

Vor der Markierung dieser als beantwortet, bitte Lesen Sie die ganze Sache, weil, ja, es gibt eine gute Menge von diesen Fragen, aber KEINE Antworten auf Sie haben, gearbeitet werden.

Den letzten 6 Monaten habe ich mir angeschaut rund 50 verschiedene form Beiträge hier und rund um das web zu versuchen und meine XAMPP virtual hosts arbeiten.

Hosts-Datei

127.0.0.1       localhost
127.0.0.1       vws.localhost
127.0.0.1       instancegaming.net
127.0.0.1       vws.instancegaming.net

http-vhosts-Datei (Aktualisiert 7/26)

 # Virtual Hosts
 #
 # Required modules: mod_log_config

 # 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.4/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.

 #
 # Use name-based virtual hosting.
 #
 # NameVirtualHost *:80
 #
 # VirtualHost example:
 # Almost any Apache directive may go into a VirtualHost container.
 # The first VirtualHost section is used for all requests that do not
 # match a ##ServerName or ##ServerAlias in any <VirtualHost> block.
 #
 <VirtualHost *:80>
    ServerName localhost
    DocumentRoot "C:\xampp\htdocs"
    <Directory "C:\xampp\htdocs">
      DirectoryIndex index.php
    </Directory>
 </VirtualHost>

Ich bin an einem Verlust, was zu tun ist, habe ich versucht, indem Sie alle Felder auf "localhost" dann zu instancegaming.net aber nichts scheint zu funktionieren. Ich habe gelesen, das Apache-log und es gibt nur SSL-Fehler, die herum schwimmt.

Wenn ich versuche Sie zu [ http://] vws.localhost, vws.192.168.0.47, vws.instancegaming.net alle die den gleichen Fehler in chrome:

ERR_NAME_NOT_RESOLVED

Dann habe ich versucht, die Entleerung Chrome-host-cache, aber das hat auch nicht geholfen.
Nebenbei bemerkt: habe ich neu installiert XAMPP 4 mal versucht diese Arbeit zu machen.

ERR_NAME_NOT_RESOLVED ist nicht apache Verwandte, etwas ist falsch mit der Namensauflösung. Was passiert, wenn Sie versuchen ping vws.instancegaming.net von der Kommandozeile aus?
Ich bekomme die folgende: C:\Windows\System32>ping vws.instancegaming.net Ping vws.instancegaming.net [127.0.0.1] mit 32 bytes Daten: Antwort von 127.0.0.1: bytes=32 Zeit<1ms TTL=128 Antwort von 127.0.0.1: bytes=32 Zeit<1ms TTL=128 Antwort von 127.0.0.1: bytes=32 Zeit<1ms TTL=128 Antwort von 127.0.0.1: bytes=32 Zeit<1ms TTL=128 Ping-Statistik für 127.0.0.1: Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms
Können Sie download curl und versuchen Sie curl -v vws.instancegaming.net von der cmd-Zeile?
Ergebnis von Curl: C:\Users\JAcOb\Desktop\stuff\curl>curl.exe -v vws.instancegaming.net * Umgebaut URL: vws.instancegaming.net/ * Trying 127.0.0.1... * eine Verbindung zu 127.0.0.1 port 80 failed: Connection refused * Failed to connect to vws.instancegaming.net port 80: Connection refused * Closing connection 0 curl: (7) Failed to connect to vws.instancegaming.net port 80: Connection refused
stackoverflow.com/questions/27754367/...

InformationsquelleAutor Jacob Jewett | 2016-07-23

Schreibe einen Kommentar