Localhost redirects everywhere to the dashboard

Xampp under Windows, localhost is always redirected to domain, don't find errors!

Without http works ....


dns cache


Problem still there ...

nslookup works too ...

complement ()


I got a little further now ...

Deleting the dnscache with ipconfig / flushdns doesn't help, but if I stop the DNS client service and then start the xampp server, http: // localhost / dashboard / is opened again ... the DNS service is then probably automatic activated again ... probably because the browser needs it? no idea...


Well, I'll shut down the server again, then go there and enter my document path to the project in httpd.conf ...

of...
#DocumentRoot "C: / Privat / Xampp / htdocs"
#

to...
DocumentRoot "D: / Website / site2017"
<Directory "D:/Website/site2017">

Start the server again and it works again, my index.php from the project is opened but unfortunately only for a few calls, until suddenly it is redirected back to the Internet to the domain ... that will also then
done when I have undone the change in httpd.conf, restarted the computer, deleted the dns cache, etc. nothing helps except what I have now found out, to stop the DNS service.
But it can't be that after every 5-6 times I have started a php file from my project folder I have to activate / deactivate the DNS client in order to be able to test a document again 5-6 times: |

Vll. does an expert now know what or where the problem could be ...