skip to Main Content

After enabling the auto virtual host I wanted to try pretty url for my current project. Problem is it first showed index of/ of the project and after trying some solutions it now shows "This site cannot be reached!" error. The pretty url feature wotks withother projects.

What I tried:

.restarting laragon and pc

.enabeling nginx

.renaming the project

.clearing something in my apache server

Any suggestion?

Thank you in advance!

2

Answers


  1. what i do is :

    a. open laragon > menu > apache > sites-enabled > Delete all [auto]

    b. if you are using ur own computer, please set Open as administrator to Laragon

    c. make sure auto virtual host is checked on laragon

    d. last, check your host file, don’t forget to un-check ‘Read-Only’ options

    Login or Signup to reply.
  2. For me, I need to remove the ‘Read-Only’ option of hosts file in C:WindowsSystem32driversetc. I’m using Windows, obviously.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search