Score:-4

What is the correct procedure for creating multi-instances and websites?

sk flag

I have installed Drupal 10 and it is working with no issues. I can create my first multi-instance with a single website with no issues.

The problem I have is when I create my second website in the default instance; all of the links in the second website point back to the first website by default. I am assuming the method I am using to create Drupal 8 websites is not the same as it is now in Drupal 10.

Can anyone give me some insight on how to create websites in Drupal 10? I am sure the way I create them is what is causing the issue, so I am wondering if someone can tell me how to create two sites under the same instance.

This is of how I am doing it now.

  1. Copy the default folder in Drupal 10 and rename to your new site
  2. On the database server and copy the Drupal 10 database for the site and create a user for it
  3. Give permissions to user
  4. Go back to web environment
  5. Change the current directory to /www/webservices/drupal10/sites/newsite
  6. Edit the settings.php file to change the connection information
  7. Edit the /www/webservices/drupal10/sites.php to add a new line for $sites
  8. Create a symbolic link in /www/webservices that goes to drupal10
  9. Check the browser
Score:0
I sit in a Tesla and translated this thread with Ai:

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.