Auto virtual hosts question


  • | 518 points

    From my understanding of the Laragon documentation, when auto virtual hosts has been enabled, and a new Quick Setup site (WordPress in my case) has been setup, should one not be able to access this site on their local network via {name}.dev?

    That is to say, from my iPhone on the same local network where Laragon is running, should I not be able to access the local WP site via http://{name}.dev?

    I scoured all the relevant posts here on the subject and tried every possible combination of IP addresses, etc., all to no avail.

    That is until in my search I stumbled upon this post in Stack Overflow: https://stackoverflow.com/a/16558172/8095719

    By golly, that's it! It works like a charm! :)

    Just wondering if there is something in Laragon that one could do to mimic this behavior.

    Cheers!
    Lyle


  • administrators
    | 68749 points

    @SniffleValve :
    You can not access http://{name}.dev using your iPhone because your iPhone's DNS know nothing about {name}.dev

    With Laragon, just click Menu > Ngrok > your-project, you'll have a Ngrok's shared url to access everywhere. That's it.

    Note:


  • | 518 points

    Ah, I get it now! Thank you for the explanation and the Ngrok info :)

    BTW, I just installed Laragon on my Surface Pro 3 and wow, what a speed demon!!! :)


  • administrators
    | 68749 points

    @SniffleValve : My pleasure :)
    Cheers!


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.