Create a custom or blank project with auto virtual host

  • | 405 points

    Is it possible to have a 1 click quick create option for a empty project?

    Quick create > Custom: myblankproject

    • It will create a blank database called: myblankproject
    • Auto create a web folder: /myblankproject
    • Auto configure a virtual host:
    • Auto configure the windows host file:

  • administrators
    | 131258 points

    Sure, it is very easy. Here how:
    Add this line to {LARAGON_ROOT}\usr\sites.conf


    Blank: The name you want to show in Laragon Menu
    C:\ path to an empty zip file. You can change it to C:\laragon\usr\ for portability.


  • | 405 points

    Thank you loekhoa thats too easy it worked great.

    If anyone needs to adjust the virtual host settings for their blank project see here:


        DocumentRoot "C:/laragon/www/myblankproject/public/"
        ServerAlias *
        <Directory "C:/laragon/www/myblankproject/public/">
            AllowOverride All
            Require all granted

Log in to reply

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