I have installed vagrant and scotchbox from scotch.io to develop locally and is running like a charm. Now I need use the subdomains as variable, and i have googled about, but still no working. I have changed the hosts file and added
192.168.33.10 scotch.box
Is needed add a line for wildcard subdomain hosts? Also I have added the next line to my conf file
<VirtualHost *:80>
DocumentRoot /var/www/public
ServerName tenant.scotch.box
ServerAlias *.scotch.box
</VirtualHost>
Sorry for my broken english.