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?

  • 1
    It sounds like you're looking to set up a multisite. You may want to start here.
    – sonfd
    Sep 27, 2021 at 14:51

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.