Questions tagged [subsites]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
3answers
447 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
2answers
29 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....
1
vote
3answers
3k views

Drupal 7 localhost subsites configuration

I need some serious help with setting up a Drupal 7 based multisite, please. 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 ...
0
votes
1answer
619 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
4
votes
1answer
680 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 - ...
0
votes
1answer
160 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 ...
0
votes
0answers
20 views

Repointing a site a subdomain

I have created a new Drupal 8 site in a subdomain of an existing Drupal 6 site. The new site sits in public_html/dev - so the url for it is dev.mydomain.com. What is the best way to redirect ...
0
votes
0answers
171 views

Nginx virtual host configuration for multisite with sub-directory

We've Drupal multi-site (with different domain per site) running with single Drupal 8 code base and nginx. Now we wanted to setup Drupal Milti-site with sub-directory for few websites in following ...
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
98 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 ...
2
votes
1answer
257 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
0answers
27 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
177 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
60 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
308 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
70 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
192 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
87 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
35 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
12 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
217 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
179 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
89 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
113 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
315 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
114 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
422 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
406 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) ...
1
vote
5answers
1k views

Give a language prefix to all nodes (/he/) — Possible without contrib modules?

I have a site with about 500 pages (nodes, taxonomy pages, and some views) which are all in Hebrew. I want to make all paths from say: /node/example1 /taxonomy/categories/term1 /taxonomy/tags/tag1 /...
0
votes
1answer
142 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
140 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
169 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
426 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
75 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
288 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
21 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
52 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 ...
0
votes
1answer
281 views

How do I translate domain:site_name in the view page?

I created a multi-lingual site (Arabic and English), and installed all the necessary modules. I translated the site name for every domain. I created a view page. When I visit the site ...
1
vote
0answers
236 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
96 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
66 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
9k 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
30 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
142 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, ...
8
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 ...