Virtual hosts not working
-
Hello !
I try to add a virtual host manually.
- I have updated my hosts file with 127.0.0.1 teach.dev
- I have created the virtual host config file in laragon/etc/Apache2/sites-enabled/
<VirtualHost *:80>
DocumentRoot "F:/laragon/www/web-developer/"
ServerName teach.dev
ServerAlias *.teach.dev
<Directory "F:/laragon/www/web-developer/">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>It doesn't work in chrome or firefox but it works fine in AVG Secure Browser....
-
@oli-meunier : Please don't use
.dev
. Why? check my post:
https://forum.laragon.org/topic/764/important-dev-domains-chrome-63