Anyone can helme? i get problem whit virtual host This is my problem
Asked
Active
Viewed 1.0k times
-3
-
2please describe your problem in plain English, and avoid posting screenshots as much as possible. – Gilles Gouaillardet Nov 21 '17 at 04:21
-
You should share file host and vhost you config – Vu Hoang Duc Nov 21 '17 at 04:22
-
Please refer to https://laragon.org/docs/pretty-urls.html. Hopefully, it will resolve our query. – Ankit Singh Nov 05 '19 at 10:55
2 Answers
6
I solved that issue as follow
- Menu -> Apache -> sites-enabled -> delete all (auto)
- C:\Windows\System32\drivers\etc\hosts right click -> properties on hosts file and uncheck the "Read-only"
- make sure auto virtual host is checked on laragon
- restart laragon and try your project folder name inside in www with .test (or as specified in laragon setting) in the browser

lahiru dilshan
- 690
- 9
- 13
1
This question has entirely insufficient details to help you in any meaningful way. However, if I had to guess, I would say there are couple of possible reasons:
- Your DNS for is not configured properly for online-shop.dev. Note, .dev is an actual top-level domain, owned by Google and reserved for their own use - https://icannwiki.org/.dev, so it's likely you are trying to follow some advice how to setup .dev for local development, but Firefox is actually looking against the real .dev DNS servers.
- Assuming your DNS is indeed properly configured (in which case you happen to work for Google, and you just accidentally leaked their Amazon competitor :-)), it is possible that your app server is not running. It's impossible to say by the screenshot.
- Assuming that the DNS and the app server are configured and running properly, it's possible your firewall is blocking port 80.

Franci Penov
- 74,861
- 18
- 132
- 169