pretty URL not working


  • | 184 points

    I have created a Virtual host and added this into the HOSTS file as well. Reboot the PC and when I enter the host name in the address bar, the page cannot be displayed: Reason: UNKNOWN , Notification: DNS_FAIL.

    When i ping the site i do get a reply, howeveer when I do a nslookup, the proxy server cannot find. This is a local site (localhost). Why does the proxy block this and how can I fix this?


  • administrators
    | 81449 points

    @Johanndut : Can you provide me some images? Do you know that Laragon automates the processes for you so you don't need to manually add them.


  • | 184 points

    Hi

    0_1526277734069_Capture.JPG

    Yes I have re-created it useng the automated process, and even this gave me the error. However when i put in http://localhost:8080/hta.site1/public/ I do get the laravel index page displayed.

    Regards


  • administrators
    | 81449 points

    Can you also show me your hosts file and the virtual host file?


  • | 184 points

    I managed to get this working. Port 80 was taken by the system PID=4. But I have setup the apache server to use port 8080. This caused the problesm.

    Thanks it is working now


  • administrators
    | 81449 points

    I'm glad to hear you sorted it out :) Cheers!


Log in to reply
 

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