Load main domain from a directory for a Laravel project
I have a domain example.com
, as well as some sub-domains sub1.example.com
, sub2.example.com
, ..etc. I want to load the main domain from a directory to organize the directories to avoid having Laravel project files and folders next to sub-domains folders.