I just figured this out This "manual" solution worked for me
- I edited drivers\etc\hosts and added my subdomain like
127.0.0.1 sub.project.test
-
Enable mod_vhost_alias.so in laragon\bin\apache[version]\conf\httpd.conf
-
Create a new file like {laragon folder}\etc\apache2\sites-enabled\sub.project.test.conf"
-
Add the following code in the file you just created
define ROOT "C:/laragon/htdocs/project/sub/"
define SITE "sub.project.test"
<VirtualHost *:80>…
Top comments (0)