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
-3
votes
0answers
29 views

Querying all websites in a multisite environment [closed]

We're running a D8 multisite environment (same codebase, different databases) with +-50 websites on them. We would like a dashboard with an overview to see some basic stuff: GTM tag of every site ...
0
votes
1answer
760 views

Proxying a subdirectory to a remote site

The goal Make all requests to a previously static page at https://www.example.com/sub/folder on server 1 (Proxy) ACTUALLY go to a Drupal site at https://other.example.com on server 2 (Origin) This ...
0
votes
1answer
16 views

Point dev URL to the default folder of a multisite

In a multisite set up, the default domain www.domain.com point to the 'sites/default' folder. I want a temporary subdomain point to the default site for development. In the sites.php files I have: $...
0
votes
1answer
534 views

Subdomain with shared database for users: subdomain not accessing primary database

I've successfully set up a multisite Drupal installation. I now have: www.example.com --> main site sub.example.com --> a secondary site However, I want the users to be shared. I know about shared ...
0
votes
0answers
18 views

Conditional .htaccess rule for multisite sitemap.xml

We have multiple sites hosted with Domain access module. I was planning to host sitemap.xml files like web_root/zyx.com/sitemap.xml and web_root/abc.com/sitemap.xml. I am using the following code. ...
0
votes
1answer
587 views

Multi-site, multiple database and 1 shared database

I want to develop drupal multi-site with this structure: One shared codebase drupal 7 multi-site, each web site has own database. One master web site that has some tables shared. Each multi site ...
0
votes
1answer
339 views

Drupal multisite and alias suffix

I am actualy working on drupal multisite environment and I am stuck within a alias suffix problem. I made a setup like this in my sites.php file for the multisite alias names. $sites['example....
0
votes
3answers
1k views

How to set and use direct files folder path in a multisite installation

Drupal 8 multisite install where First site is on a subdomain one.example.com Second site is in a subfolder one.example.com/two How can files folder for both sites to be accessible via URL/files ...
1
vote
2answers
375 views

Update command won't work for multisites

I have a Drupal 7 site with a half-dozen multisites/subsites and I am trying to setup Drush so that I can run my modules updates from the command line for the subsites. Running Drush for the main site ...
0
votes
1answer
363 views

Multi Country and Language Site

I'm trying to build a single global website that houses multiple countries, each with their own set of language translations. There is also a global overview site that also has its own language ...
1
vote
1answer
151 views

How can I bootstrap a multi-site instance?

It's possible to bootstrap Drupal 8 and create a new node using answer # 174474. define('DRUPAL_DIR', '/usr/share/nginx/html'); use Drupal\Core\DrupalKernel; use Symfony\Component\HttpFoundation\...
0
votes
1answer
64 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
1answer
1k views

Share nodes and users across multiple sites

I understand sharing databases/tables is frowned upon as a practice, however, I need to share users and some nodes between two websites. What are the alternatives and what are the pros and cons of the ...
1
vote
3answers
3k views

localhost subsites configuration

I know how to install a single instance of Drupal very well but I want to create a number of sub-sites under my Drupal installation. My file structure is as follows: drupal7_main -sites --...
0
votes
0answers
46 views

how to config nginx/drupal/links for drupal multisite installing in subdirectory

i am new to drupal , i use drupal 8.9.1 , with composer on ubuntu 18.04 , nginx , php , mysql . i try install second drupal with multisite in mypath/sites/test with mydomainname.com/test URL but i ...
0
votes
2answers
509 views

How to set up Https on a drupal multisite?

I made a couple websites on a drupal multisite setup.. and I want to start using https. And.. I'm just lost. Can anyone help me get started? So, here's the details of how I have things set up.. So ...
0
votes
1answer
20 views

How do I add a site to a multi-site

I am trying to convert my installation to a Drupal multi-site. I have the original site (www.original.com) with a settings.php file under the sites/default folder. I want to add a new site by adding ...
0
votes
0answers
14 views

Using a specific URL for a page within a multisite

I have a multi-site that I've got setup with a page created for a client, but they wanted a specific URL to point to it. For example, client.mywebsite.com/content/client-page should be only shown as ...
2
votes
1answer
1k views

Not passing the clean URL test

We've got a multi-site install on Amazon's AWS that used the Bitnami Drupal image (ami-3f21aa56 - 64bit, Unbuntu) as a base. Per the documentation, each site has it's own subdirectory in the sites ...
3
votes
1answer
820 views

AWS RDS and Multiple Database Installation

Does anyone have experience with setting up a Drupal Multi-Site with multiple Databases onto one RDS instance in AWS? I was looking into this link below but I was not familiar with the exact ...
0
votes
1answer
304 views

Multisite and apple touch icons

In a typical multisite D7 installation, I would like to set up apple touch icons. So that, when an agent requests http://example-1.com/apple-touch-icon.png then he receives the image appropriate for ...
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 ...
0
votes
0answers
56 views

Running drush updb for a multisite alias is not working

I have a multisite enviroment and I'm trying to run drush updb and drush cim for the multisites using aliases. To achieve this i created a wildcarded alias file like this in drush/sites: alias.site....
1
vote
1answer
71 views

Drupal multi-site subdomain and subpath going to same site

Is it possible for Drupal to handle both subdomain and subpath for a single site in a Drupal multi-site environment? For example: foo.example.com ---> 'foo' example.com/foo ---> 'foo' Is ...
0
votes
2answers
51 views

What items in the DB do I need to edit when switching from a multisite to a single site? [closed]

I've copied a single site from a live multisite setup to my local (MAMP) server. The content is showing from the site however it is unstyled (and also the home page is showing the 404 page). I assume ...
0
votes
0answers
268 views

I can't log in into a MAMP multi-installation

I know this is probably something super simple, but it's one of those days... I have MAMP set up on my computer so that I can have several local Drupal installs. I have one in a folder called d7 and ...
1
vote
1answer
81 views

Two different sites, two installations, no database or core sharing

I've finished configuring a Drupal site using localhost (Mamp) but I have to wait some weeks until it gets uploaded to external host. Now in the meantime I'd like to start developing another site ...
1
vote
1answer
591 views

Porting a multi-site setup to local (MAMP) server

There seems to be plenty of tutorials about setting up a local multi-site installation, however, I cannot seem to find any information about porting a live multi-site to a local environment. ...
2
votes
2answers
402 views

Front page meta tags and multisite configuration

I have a multisite install with 4 different URLs. How do I setup the meta tags (keywords and description) for each URL? It seems like the keywords and description are the same for all of the URLs.
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 ...
2
votes
4answers
1k views

Redirecting Drupal multisite non-www to www with varnish / nginx

I'm building Drupal multisite with 35 sites (~60 different domains) and I'd like to redirect non-www urls to www regardless of domain. Nginx is redirecting all domains to Drupal install folder. I've ...
1
vote
1answer
849 views

Multi-site with two sites sharing the same domain?

There is absolutely no problem to have multi sites, where: domain1.com points to site A domain2.com points to site B But I want to have multi-site setup, where: domain1.com points to site A domain1....
0
votes
0answers
181 views

502 Bad Gateway nginx for a drupal sub-directory site install

I have a default drupal 8 site install and a sub directory site install. The second Drupal site was an after thought and had to be hosted on the default site url in a sub folder. both sites share the ...
0
votes
1answer
45 views

Use drush to install a module on all of the sites of a multisite at once

I have a Drupal 8 multisite, setup with 6 different sites. I want to install Admin Toolbar on all of them on my local dev environment (mamp / terminal / drush). I have downloaded that module using ...
1
vote
1answer
32 views

How can I serve individual static text files with the same name from the webroot for each multisite instance? [closed]

I use Drupal 8 and I want serve statics files in each multiple sites with Nginx. I've a site at web/sites/site_1/ and a site at web/sites/site_2/. I want serve ads.txt or robots.txt for each sites ...
0
votes
0answers
75 views

How do I dynamically add og:image meta tags in drupal multisite

I have drupal 8 multisite setup, where I am creating multiple site using some script technique and rendering the data using domain name via twig files by fetching from dynamodb records. So my ...
1
vote
2answers
1k views

Theme structure for multi-site

I have a multi-site setup with three themes. They look the same, but they are different in colors. What are best practices to setup my theme structure, in themes/custom/site1, site2, and site3, or in ...
0
votes
1answer
28 views

Should a splash page linking to other multisite instances also be a multisite instance or a bare HTML page?

This is the situation: Global domain: www.domain.com (exists of one page, with links to other 3 subdomains) Sub domain 1: sub1.domain.com (full website) Sub domain 2: sub2.domain.com (full website) ...
3
votes
3answers
1k views

.htaccess https rewrite for single domain on multisite installation

I have a multisite installation with 2 sites running off separate domains. One of these sites needs to go through https:// while the the other can stick to http://. I also want all traffic to be ...
1
vote
1answer
40 views

How to use a set of global and per subsite permissions in a multisite installation?

Use case: I have a multisite installation in which I want to define a global configuration to be available to all subsites. I define this configuration in the default site. For this example let's say ...
0
votes
2answers
86 views

suggestions on building Research portal for multiple studies and sites [closed]

We currently have a Drupal 7 portal collecting research data for multiple studies (set as individual content types), for multiple sub-projects (individual content type set as Inline-Entity-Form), ...
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'...
0
votes
1answer
24 views

Multi-site for user groups

I have to carry out a procedure for the management of information by a group of users. Later I could have the same need but for a group of different users. Since I haven't understood how the multisite ...
1
vote
0answers
76 views

How do I handle a site with subdomain using the Domain Access module? [closed]

I have a site which as a federal level and a subdomain by state. I'm using Domain Access module which works great for some basic things such as contents by domains. But I've got other challenge to ...
2
votes
3answers
1k views

How to make a page the home page of another domain

I have some pages with urls like this: http://example.com/landing/abcd http://example.com/landing/efgh as menu items: $items['landing/%'] = array( 'title' => 'Landing page', ...
0
votes
1answer
59 views

How to setup drupal multisite in cpanel?

I want to setup a drupal multisite but without success. I have followed this tutorials (and search in drupal answer): - 2 minutes multisite - 5 minutes multisite - Setting up a multisite I have tried ...
0
votes
0answers
34 views

How to programmatically check in module if multisite is used?

Is it possible to easily check with code if a site is running as multisite instance?
1
vote
1answer
18 views

Display content assigned to a group

I am relatively new to Drupal, so I apologize in advanced if my question is confusing. I am building a school website that will have a parent district site and then school websites within the ...
10
votes
3answers
1k views

Does Google crawl Drupal sites in maintenance mode?

I'm using Aegir to clone copies of my site under a subdomain name ie test.mydomain.com. These copies are in maintenance mode to keep away spammers and prying eyes. I then use these copies to carry ...
7
votes
3answers
484 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 ...

1
2 3 4 5
10