-3

Anyone can helme? i get problem whit virtual host This is my problem

Pangestu Jati
  • 25
  • 1
  • 1
  • 1

2 Answers2

6

I solved that issue as follow

  1. Menu -> Apache -> sites-enabled -> delete all (auto)
  2. C:\Windows\System32\drivers\etc\hosts right click -> properties on hosts file and uncheck the "Read-only"
  3. make sure auto virtual host is checked on laragon
  4. 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:

  1. 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.
  2. 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.
  3. 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