hello @johnny
I have an application that uses Grocery CRUD.
My application is placed in a folder under the Apache document root. The Apache document root can be accessed with multiple domain names using aliases, for example:
I noticed that Grocery CRUD heavily depends on the APP_URL
configuration in the .env
file. What should I do to make my Grocery CRUD accessible from these different domains?
My goal for this setup is that each domain uses different data. For instance, in a table (e.g., page
table), there is a field called domain_id
.
example1.com
will display data in thepage
table where thedomain_id
field equals1
.example2.com
will display data where thedomain_id
field equals2
, and so on.
regards
Nasrul