Laragon pretty url's not working
-
Hi,
I have been using laragon since a while now, and this is the first time I am having trouble with pretty url's.
I can access the web app through localhost/myapp/public but I can't through myapp.dev even though these options are already enabled.I read somewhere that it has to do with proxies, but I tried to solve it through that but no result yet.
I hope I can fix this issue fast.
-
@Leandrit-Ferizi : @ravikumar8 had the same issue: https://forum.laragon.org/topic/582/solved-this-site-can-t-be-reached-err_icann_name_collision/7
and he managed to fix it follow the instruction of this link:
https://serverfault.com/questions/452268/hosts-file-ignored-how-to-troubleshoot/452269#452269
-
Hi,
Thanks, I fixed it, the problem was related to hosts file. After removing it and downloading it from here http://www.thewindowsclub.com/how-to-set-the-windows-7-hosts-file-back-to-default , and changing the permissions for the users to full control it started working again.
I got it from Microsoft after removing it as I tried changing the permissions but they were already fine with full control, after that it started working.I did the steps on that link you provided each by each but it was not fixed.
Replacing the hosts file by downloading it did the job.
-
@Leandrit-Ferizi : Glad to hear you fixed it by replacing the hosts file
Cheers!