Questions tagged [multi-sites]

Use it for questions about configuring Drupal as multi-site, and/or using Drupal's multi-site feature.

Filter by
Sorted by
Tagged with
21
votes
3answers
16k views

How do I create a multisite with shared users and nodes? [closed]

I want to create a multisite with Drupal 7: Every site works separately but users, and nodes must be shared among the sites. How do I achieve it?
7
votes
2answers
2k views

Drush @sites not implemented in drush 9

Since drush 9 (drupal 8.4 requirement), alias @sites does not seem to be implemented anymore (or yet ?). $ drush @sites cr The alias @sites could not be found. Is this a way to get the same behavior ...
7
votes
1answer
3k views

Drupal 7 subfolder multisite

I'm trying to setup a drupal 7 multisite using subfolders for example: example.com/site1 example.com/site2 In my drupal sites folder I have sites1 and sites2 according to sites.php I should be able ...
2
votes
1answer
1k views

Programmatically get current multi-site instance name

Let's say I have the following multi-site setup: $sites['hello-world-a.com'] = 'a'; $sites['stage.hello-world-a.com'] = 'a'; $sites['dev.hello-world-a.com'] = 'a'; $sites['hello-world-a....
0
votes
1answer
205 views

Multisite domain not working without symlink

I used to have to work with my own custom *.conf file in order to get my multi-site to work off a non root install of drupal but now have moved it to root ,I don't need that file anymore as system ...
15
votes
4answers
19k views

Is there a common nginx conf for Drupal 7 sites?

I've taken a look at Perusio's drupal-with-nginx repository and while I think it's impressive how extensive it is, it may be a little too advanced for me at the moment, plus I have several Symfony2 ...
3
votes
3answers
4k views

Drupal 8: Multi-sites in subdirectories not working

I followed this tutorial(Drupal 7) but it not worked for me(Drupal 8): Multi-site in subdirectories https://www.drupal.org/docs/7/multisite-drupal/multi-site-in-subdirectories This is my enviroment: ...
2
votes
4answers
3k views

How do I set up multiple sites with one database or multisite Apache configuration?

I have a problem in multisite with Drupal 7.26. The name of the site is multisite, and the IP is 192.168.1.99. I created a folder that hosts a new site (/var/www/multisite/sites/site1), copied the ...
2
votes
1answer
3k views

How to share user and user profile in a multisite environment? [duplicate]

Possible Duplicate: How do I create a multisite, sharing users and nodes? How to share user and user profile in a multisite environment? My question was about the whole process to get the ...
3
votes
1answer
485 views

sharing contents between two sites

i setup two sites site 1 and site 2 by using drupal multi site functionality.site1 i consider as the master site and site 2 consider as the slave. some contents in both sites have similar content.when ...
2
votes
1answer
2k views

Sharing the same code base and one database

I would like to have multi-sites that share the some code base and one SQL database in Drupal 8. Is this possible and recommended? I am interested also in security concerns. Is this safe?
2
votes
1answer
3k views

How to use separate databases for Drupal tables?

So far, what I've read is you can config multisites to use different tables and share any table with other sites in that multisite config. My question is if it is possible to get this config: ...
0
votes
3answers
2k views

Redirecting a user to a different home page

I am trying to create a site where any logged-in user is redirected to a page that is specific for that user, when the user logs in. Suppose that U1, U2, U3 are three users on that site. U1's home ...
5
votes
2answers
4k views

Does the drush up command work on multisite?

I have to update all sites on a D7 multi-site installation. I normally deal with single installation and I use drush up to update the core, modules and db. I have no prior experience with a multi-site ...
2
votes
2answers
5k views

How to redirect URL with language prefix to the same URL with no prefix (default language)

I have installed i18n module so two languages Japanese and English are available. I have set Japanese to the default language and also "language Language negotiation" to "path prefix only". So all the ...
-1
votes
2answers
610 views

I want to get a Mobile version of my drupal site working

I am trying to setup what I would call a multisite configuration on my local development server, which currently looks like this. I'm using Xampp in a windows environment so my root is Xampp\htdocs. ...
10
votes
3answers
5k views

How *.drupal.org single sign-on works

I believe there are many ways to achieve single sign-on within drupal. I would like to know the approach that *.drupal.org sites have been using. If I visit any drupalconf sites http://chicago2011....
5
votes
1answer
5k views

Drupal 7 Single Sign On possibilities with the Domain Access Module

The background: We (currently) have 2000 domain names pointed at a single IP. Drupal inherently has the ability to use multisite, but for our particular Drupal 7 install we use a module named Domain ...
3
votes
1answer
9k views

How do I setup multiple sites with one database in Drupal 7

My hosting provider limits the number of databases. I would like to setup several small sites with their own theme, modules, etc. The scripting for setting up drupal sites from my host provider uses ...
2
votes
1answer
2k views

Drush and multisite config

I have a new multisite instance with the Backup & Migrate module installed in /sites/all/modules/ When I run drush the bam-* commands don't show as available commands. I have site aliases set up ...
7
votes
3answers
515 views

Deprecate multisite in 8.x for removal in 9.x

I am thinking about implementation of some sites with multi-site and idea of solution (one code-base) is perfect for me even if shared table is not supported any more (my question about shared table ...
6
votes
7answers
2k views

Is there any management utility for multi-site deployment?

I'm creating a multi-site instance for a client that makes heavy use of Webform. It's going to be a survey tool of sorts with a single base domain (no sub-domains) and a single SSL certificate. I'...
3
votes
5answers
11k views

Use Drush to update multi-site setup

I have a multi-site setup where 3 different sites share the same codebase. All of the modules are in the all/modules folder so they all have the exact same modules. I want to update the modules and ...
2
votes
1answer
968 views

Google Analytics configuration setting for Drupal multisite (domain and submain)

I am working on a Drupal mulsite project (using single database) and using Google Analytics module for this. I have follow the below steps for GA configuration: Created a domain name example1.com ...
9
votes
2answers
2k views

How to use Drush's concurrent execution capability?

I am using Drupal multi-sites (single codebase, multiple sites/*). Along with this, I have started using Drush aliases to manage them: $ cat sites/all/drush/aliases.drushrc.php <?php $aliases['...
5
votes
2answers
1k views

Are shared user tables still supported and working?

I have tested a Drupal 7 multi-site before, and it worked for me perfectly. With Drupal 8, it doesn't work as expected. Suppose there are two sites, site1 with site1_ as table prefix and site2 with ...
4
votes
1answer
319 views

Multi website Subdomains Content Types

Is there a way to have a d7 multi-site build with the same database, header, footer, sidebar but when a sub-domain is called it will display a different content type.
1
vote
1answer
481 views

Subtheme for Subsite in Multisite

I have a Drupal 8 Multisite setup with the following Folder structure: themes custom_theme main_custom_theme sites site1 themes subtheme1 site 2 So I want both sites to use main_custom_theme, ...
0
votes
1answer
1k views

Single Drupal installation with multiple websites

Currently, I have two static HTML folders: 1 for English webiste , and 2 for Thai website. They have the same look and feel but different menu and content. To be precise, the menu and content in the ...
3
votes
4answers
3k views

Load domain-specific CSS file on a multisite

I have a Multisite Drupal 7 install. I use one theme for all sites, and it lives at sites/all/themes. Each domain has its own settings for the theme where you specify classes so you can target ...
3
votes
2answers
4k views

How do I disable/enable a module on all sites within a multi-site Drupal installation using drush?

As an admin of a multi-site Drupal installation, I want to make module changes to all sites within that platform. On a regular basis, I want to disable/enable a set of modules to ensure consistency ...
1
vote
1answer
102 views

How can I have separate databases for each domain (countries) of my Drupal website?

I want to have one Drupal website codebase and one apache server instance, but have each country (domain) have it's own database. Practical example: I want all content to be completely separated ...
1
vote
2answers
1k views

specific htaccess in some sites on multisite

i have several drupal sites running as multisite (same core + modules code), just moving to shared hosting Some sites should be kept password protected. (AuthType Basic) Is there a way to tell in ....
1
vote
1answer
262 views

Need Steps to Install multisite configuration using only drush. i.e multi-site install having different database

I need a help to install multi-site setup using only Drush that have multiple/different databases.I have already installed a site using drush but when I do the same steps for install another site into ...
1
vote
1answer
322 views

Drush Bootstrap Error on Multi-Site Install

I'm getting the "needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command." error. I know this means that Drush is not able ...
0
votes
1answer
77 views

Copying prod multi-site installation to dev multi-site installation

I am attempting to upgrade my Drupal 8.9.2 multi-site installation to D9. I was hoping to work this all out on a development installation, that is located in a subdirectory of my home directory on my ...
0
votes
2answers
189 views

Drupal Multi Site Folder structure

I have a simple question. I am trying to create a folder inside the Drupal installation that will not be shared to all the multi-sites. For example: www.mydomain.com/xxx www.anotherdomain....
0
votes
1answer
1k views

How to sync users profiles and user tables in 2 drupal sites

I have a website with 14K registered users. There is new section of that website which has been developed as a separate Drupal installation. The users in the old website should be able to login with ...
-2
votes
1answer
216 views

need you advice how to build this website has the same views [closed]

The search info module is the common feature for all the airport1,2,3 with this requirement do I need to set up multisite for ariport1,2 ,3? Could any give some tips what should I use (drupal) to ...