Questions tagged [subsites]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 --...
3
votes
1answer
687 views

What are the appropriate configurations for the Subdomain module on Window 7 running XAMPP?

I have installed the Subdomain module (v 6.1.7), and I'm configuring a subdomain for testing on localhost. I have been tearing my hair out for days now, trying to get this module to work on my PC - ...
2
votes
1answer
500 views

point a subdomain to a page without using domain module

I want to add a subdomain to my site (mysite.local) so it is, x.mysite.local and I want that to land on a custom page, i.e. a node, a view. I do not want to use the domain module because it has way ...
1
vote
3answers
461 views

How do I configure subdomain url as one.mysite.com/subdomain1

I am a Drupal Developer currently working on Drupal 7.15 multi domain site. In my site, I have already installed Domain module and configured the domains as: Main domain - mysite.com (say 1st level) ...
0
votes
1answer
655 views

Domain Access And Subfolders

This has indeed been asked somewhere but still no answer. Is there a way to have domain access provide links like example.com/site1 instead of side1.example.com Thank you
0
votes
0answers
19 views

Update the core and move current site in a sub-directory to the top level

My main Drupal site is 8.6 but it is in a sub-directory. I want to update the core (to 8.9) and move the site up to the top level (public_html) overwriting an old site (in 6.1!) I no longer need. ...
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
33 views

how to prevent a theme from using templates of a sub themes (placed inside the parent theme dir)?

my folder structure looks something like this: 📂 themes └─ 📂 foo ├─ 📂 bar │ ├─ 📂 templates │ │ └─ 📄 node.html.twig │ └─ 📄 bar.info.yml ├─ 📂 templates │ └─ 📄 page.html....
0
votes
1answer
162 views

URL rewrites & Drupal functions

I have a server that hosts our Drupal 7 development, testing, and production environments: /var/www/html/dev /var/www/html/test /var/www/html/prod Instead of having dev and test live in ...
2
votes
1answer
5k views

Why are URLs with non-existing subdomains not triggering an error 404?

One of my websites ignores random subdomains. The site doesn't have any subdomains but it will happily accept URLs such as fjiddifjdskdjf.example.com or dsfkljsdflsdjfds.example.com. In both cases, it ...
0
votes
1answer
127 views

Page as homepage of subdomain

I have View page like example.com/abc and I need to create subdomain abc.example.com that will show this page, but not like abc.example.com/abc. I need to looks like it's the homepage of this ...
1
vote
0answers
29 views

Multiple sites in same subfolder

I have multiple very similar drupal sites (each for a specific year of some project): 2012.somain.tld, 2013.domain.tld, etc. Their files are organized in subdirectories (2012, 2013, etc.) of ...
0
votes
2answers
277 views

Language detection by domain breaks ajax requests over https

What do I have: Drupal 8.6.2 Domain Access Language modules Cloudflare with https Problem: If in URL language detection option (/admin/config/regional/language/detection/url) I have "Path prefix"...
-1
votes
1answer
1k views

How to create a subsite

I have a drupal website where on the existing one we need to create a subsite. More specifically, we need to access the subsite through the existing one. Both sites (main and subsite) as far as i can ...
0
votes
2answers
69 views

Static page on main domain and Drupal on subdomain

In my installation, I'm utilizing Drupal's awesome capability to run on multiple subdomains using one code base. Each subdomain has its own database. So, I only need to have a static page on the main ...
1
vote
0answers
436 views

Domain Access Module not working for second domain?

I have installed the Drupal on Main Domain and install the module Domain Access. Under the setting of Domain I have setup the other domain where I want to use . EX: example.com Ex: example.com.au ...
1
vote
2answers
1k views

Setup on GoDaddy / Addon Domain “403 Forbidden Access Error”

I currently have a working Drupal Commerce site up and running. This site is on a godaddy / cpanel server. This site is on an addon domain and sits in the following server directory: home/.../...
1
vote
1answer
91 views

How to embed existing website in my Drupal 8 site?

I have a site I created with Drupal 8, lets say http://falzon.xyz/. Elsewhere, I have a site created with Jekyll, a bunch of static pages linked to each other visible http://www.elina-noe.eu/). I'd ...
0
votes
3answers
440 views

Subdomain drupal sites cannot read domain cookies

I have set a cookie from domain (.example.co) and its .NET platform & reading those cookie from drupal site(test.example.co). While retrieving it shows empty, I have used $_COOKIE. This link ...
1
vote
0answers
105 views

Domain Access and vagrant

I have made a copy of a Drupal 7 site with several sub-domains managed through domain access to a vagrant VM so I can experiment with it. I have my vagrant set up so I reach it through localhost on ...
0
votes
1answer
36 views

How affect for each user a subdomain ?

with module domain-acces, we can manage domains and subdomains, example: domain.com is my first domain. user1.domain.com is affected to user1 user2.domain.com is affected to user2 but user1 can ...
0
votes
1answer
15 views

Include content of subdomain inside a block or view?

I have created a subdomain - example sub.homepage.com. The subdomain is pointing to a server. But I need the template to be the same as my website. My question: Can I somehow include the content of ...
0
votes
2answers
295 views

Drupal multi-site in an add-on domain?

How can I configure Drupal 8 with multi-site under an add-on domain using cPanel? I'm getting a 404 when I browse to my subdomain after following these steps: Clean install of Drupal to my add-on ...
1
vote
2answers
196 views

Which Rules Event in the Rules module gets triggered after clicking on a link?

If I click on a link in a node, I want to know which Rules Event in Rules gets triggered that I can use. Notes: On the home page, there are a lot of views blocks. So in that node title (or image or ...
2
votes
1answer
92 views

Which Rules Event can I use for automatic login from main site to sub site with same database after clicking on a link?

In the home page of main site, I am listing all the products. Buyer has logged into the main site and clicks on any product title or image, then I take the buyer to the corresponding sub domain ...
0
votes
1answer
137 views

Alternative theming for subdomain

I would like a different set of twig templates be used for all content that exists on a sub-domain of a website regardless of content type. eg: mysite.com/article (Main site theme) sub.mysite.com/...
1
vote
1answer
390 views

Domain Access and One.com hosting (funny subdomain rewrite)

I have a D7 installation that uses Domain Access to distinguish between a main website example.com and a minisite event.example.com. They share the same document root / Drupal installation and the ...
1
vote
1answer
174 views

Drupal multi site 404s, sub directory site subpages going to default site

We have a strange set of errors going on with a dev (and stage) version of our drupal multisite. We have some sub directory sites, and some sites server up on different urls. One URL is an internal ...
3
votes
2answers
518 views

How to restrict content access within a site?

In a community site. I want to restrict users to have some private parts of the site like forum, groups and discussion board with their scope (should not be visible to others). That is a specific ...
1
vote
2answers
591 views

Base URL issue in Subdomain

I have my main site as example.com and also I am running the below subdomains with help of subdomain module one.example.com two.example.com I have created the html block(admin/structure/block/add) ...
0
votes
1answer
216 views

How to create sub-directory based multi-site?

I want to create subdirectory based multisite, for this I roamed full day in internet but nowhere I found how can do the symlink in a proper manner. I will divide my requirement below: Site name I ...
1
vote
2answers
142 views

How to name multi-sites for different environments (dev and staging)?

I have a Drupal project that is a multi-site setup. I currently have my sites named like so: sites/site1.example.dev sites/site2.example.dev sites/site3.example.dev This is fine for working locally ...
1
vote
0answers
175 views

Url Alias not working for domain paths

Iam using domain access module in my website and having multiple domains in my website for example iam having domains test.example.com (primary domain) test1.example.com when iam creating a sample ...
2
votes
1answer
457 views

How to make a menu link on a subdomain use the main domain as base_url

I have a site example.com with a subdomain sub.example.com. In my apache config both domain and subdomain point to the same directory, containing the Drupal installation. That is as far as i went to ...
0
votes
1answer
76 views

How to use a sub-domain for a specific content type?

I have a blog content type. My client would like the domain to be blog.example.com for only that content type. I would like to know the best way to approach this, whether it be a rewrite rule or using ...
1
vote
0answers
28 views

No logged in status on frontend nodes (domain access)

I'm using Domain Access Module with five different Domains. On one subdomain I cannot do any changes to my templates, JavaScript files, blocks etc. If I add some code to a template or place a new ...
0
votes
2answers
290 views

Custom module menu path renaming/redirection

Is it possible to create path like subdomain for custom module menu? For example create url like xyz.example.com if path is example.com/xyz where xyz is custom module menu. I've already tried to use ...
1
vote
0answers
22 views

How do I make Edits to domain specific sites? eg, es.site.org vs. site.org

On site.org I can go to cms-site.org and the edit buttons appear on the page, which make pages editable. cms-es.site.org doesn't load at all. Similarly, an administration menu bar appears on cms-...
0
votes
1answer
54 views

A way to make one Drupal site act like several sites

I would like to create several sites each with same number of features (content types) but the ability to select different theme. If I go with multisite feature of Drupal I will have difficulty in ...
1
vote
0answers
238 views

domain access: Alias of a main domain to point to subdomain

I´ve got an domain-access installation with the default domain "capital.com" and a subdomain "country.capital.com". I´m struggling now with pointing from a main domain to this subdomain. Like so: ...
0
votes
1answer
107 views

drupal multisite and symbolic links with various subdomains

i create two subdomains dev.example.com and dev1.example.com in cpnael admin and i create a drupal installation in public_html/dev/sites/ and i create two folders dev and dev1 inside of sites and your ...
5
votes
1answer
2k views

How do I implement cookieless subdomain?

Cookieless subdomains are considered beneficial for a number of purposes: They save some network overhead [1], and they are required for certain types of caching [7] (e.g. reverse proxy like Varnish)....
15
votes
2answers
2k views

How to set multiple domains for one language

I have a multilingual site with Drupal 7 using subdomains like en.example.com to detect the language. Everything works like expected, but I have a mobile version of the website witch I want to be ...
0
votes
1answer
71 views

Same user for multiple sites

I am planning to use different server for multiple purpose. like Groups.eg.com Privatecontent.eg.com review.eg.com etc... I have up to 5 different subdomains and everything runs in different ...
5
votes
4answers
11k views

Exclude domain in robots.txt

Is it possible to exclude a domain name in robots.txt? I have a single Drupal site with multiple domains pointing on it. For example our dev and staging server are being crawled by Google when our ....
0
votes
1answer
45 views

Payment method differences by subdomain

I am trying a configuration where I have drupal commerce setup in different subdomains representing different stores using domain access and domain access entity. My issues is that when i enable ...
1
vote
1answer
146 views

Drupal 7.x + Ubercart 3.x + Domain Access

I have a full working Drupal 7 with Ubercart 3 running fine. It is well configured with thousands of products in it. I would like to create a sub-domain where all the contents and users are the same, ...
7
votes
4answers
7k views

base_url for both http and https?

I have a site that is accessible both through http and https. I see the security review complains that base_url is not defined in settings.php. However when I define it as http://example.com, and ...
0
votes
1answer
856 views

Change domain name for a multi site

I currently have a Drupal 7 Multi-Site. In my sites folder, the domains are like this: winatlife.guide journal.winatlife.guide store.winatlife.guide I need to change the domains to this: blog....
0
votes
0answers
137 views

How to share structures (content types) across multiple sites?

Info: I have DRUPAL6.26 with subdomains all install in a single database. Each site has a prefix for its tables. My situation: I have shared users between subdomains by sharing the {users},{sessions},...