aymeric.muntz November 24, 2016 / 00:00
I've read you documentation http://microweber.com/docs/guides/installation.md#multi-site-setup

I've tried and it works perfectly. Now I would like to script the creation of a new site (automatic creation of the database for example). Could you please indicate me where I can find more informations?

Thank you

Best regards

Comments for Multi-site on subdomain

Peter Ivanov   August 10, 2017

in order to make multi domain setup you must make a folder for each domain in the config directory with a file named microweber.php in it

for example for example.com you must make empty file at config/example.com/microweber.php
for example2.com you must make empty file at config/example2.com/microweber.php

after that when you visit example.com you should see the install screen and the installation will be made for this domain only
Peter Ivanov   August 10, 2017
for the artisan to work you must pass the --env option to it

for example php artisan microweber:install --env=subdomain.example.com
You have to log in or register to post a comment: