Score:0

Multiple sites/default folders

cn flag

I have a Drupal 8 website on Docker containers. Drupal sites folders contains, besides the default folder, two folders, the settings.php file, and configuration.

The goal is to have different configuration inside each folder (inside each settings.php) and connected to same or different database.

Because client wants only one instance of Drupal (a single set of containers), how can I manage the website to change symlink from the default folder to each folders with different configurations?

sonfd avatar
in flag
It sounds like you're looking to set up a multisite. You may want to start [here](https://www.drupal.org/docs/multisite-drupal/set-up-a-multisite).
Score:2
in flag

sites/sites.php is the file that allows to define a set of aliases that map hostnames, ports, and pathnames to configuration directories in the sites directory

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.