I am creating a laravel project for which I need one laravel installation and use its instance in sub-domain with separate database. And th
If you want to handle this from database then check the host name from the http url and call the database connection from main table according to host name. e.g. (http://abc.maindomain.com, get the abc from url)