Questions tagged [domain-access]

Use it for the module for running a group of affiliated sites from one installation and a single shared database.

Filter by
Sorted by
Tagged with
2
votes
2answers
407 views

How to add domain access to custom entity?

Trying to do this for a custom entity, but it seems like Domain Access doesn't have its own entity to reference, and I'm not quite sure what method to use. I'm still looking into it, but since I ...
0
votes
2answers
530 views

Show a block only on the frontpage of the sub-domains

I am using Drupal 7 for a site and I installed the Domain access module for maintaining the sub-domains. The slideshow block (created using the Views module) should be displayed on the sub-domains ...
1
vote
2answers
419 views

Domain Access: Edit admin/domain/content/ display settings, filters etc

I am using Drupal Commerce and Domain Access module and I wonder where I could be able to edit how page admin/domain/content is displayed. I would expect to find a View page which is utilised by this ...
0
votes
1answer
415 views

Same path for different domains

I have Drupal 7 with Domain Access on it. On the main domain i have an About us page with the path www.example.com/about-us How can i get same "/about-us" path on several subdomains like domain....
0
votes
1answer
349 views

Get node path for different domain

I have a series of nodes which are published on up to 7 different domains on the same single Drupal 7 install. Whilst I can use url('node/12345'); for nodes published to the current domain, I would ...
1
vote
1answer
500 views

Domain Access Login Redirect for main domain and subdomain

I have created three sites namely one.example.com, two.example.com, three.example.com using domain access. Here one.example.com is the main site which can create n number of subdomains. I want to ...
1
vote
3answers
523 views

How to use domain access module for localhost

I want to use domain access module for my xampp localhost. Any one knows how to configure it for localhost.
0
votes
1answer
459 views

Different front page template for different domains

I have Drupal 7 installation with the Domain Access module. I need to have different page--front.tpl.php templates for some of the subdomains, for example: www.example.com should have one type of ...
0
votes
1answer
343 views

Deadlock issue on my server

I am getting the following error: PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction: INSERT INTO {domain_source} (nid, ...
0
votes
2answers
599 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
1answer
629 views

Domain access on views

I am using domain_access module for multisite. I have two different domains (www.example.com, www.example1.com). If i created a view it will be displayed in both the sites. Now i need to create a view ...
0
votes
0answers
25 views

How to create a views contextual filter of the current domain

I'm using the domain module, but have not enabled the submodule 'domain access' because I'm already using open social group access, and want to prevent performance issues. I only need to filter views ...
3
votes
1answer
1k views

Permission rebuild fail

My Drupal 7 site is upgraded from Drupal 6. When I install the Domain Access (not installed with Drupal 6) module, I need to rebuild permissions. I tried rebuilding them from the administrative pages,...
1
vote
1answer
341 views

Domain access issue w.r.t viewing a content other than admin user

I am using domain access module with sub domains and content creation. I am able to create content but I am not able to view content which was created by the user, it says You are not authorized to ...
1
vote
2answers
320 views

How to pass dynamic parameters through a local action button?

I created a local action button with the following in my_module.links.action.yml: my_module.content.action: route_name: node.add_page title: 'My action' deriver: 'Drupal\my_module\Plugin\...
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
1answer
51 views

Can I still share data tables with multisite, using shared database, in Drupal 8 or do I need to use 'Domains' contrib module?

I have a multi-site setup that is working in Drupal 8 (8.6.13) - all of the sites share the code-base and database happily but I cannot seem to share data tables between the sites using the prefix ...
1
vote
1answer
139 views

How do I dynamically set up different cookies for multiple domains?

My site uses the Domain Access module to maintain multiple domains and sub-domains, such as: www.domain1.com, apple.domain1.com, orange.domain1.com www.domain2.com, dog.domain2.com, cat.domain2.com ...
1
vote
1answer
188 views

How to redirect links to a single domain in a multi-domain setup?

I am working on a project that uses Domain Access. The site has two domains one public(example.com) & one for members(example.com/members). Some contents are common to both domains and some are ...
-3
votes
1answer
35 views

Domain Access Source - Canonical

for now domain access and source set the correct canonical domain and show the links linked to the correct page. I can disable that and the links stay within the domain I’m currently on. Visitors won’...
1
vote
1answer
39 views

How to load all aliases of a domain

I'm using the modules domain and domain_alias on Drupal 8. I need to load all the aliases of a given domain. I have tried the following without success: $aliases = \Drupal::service('entity_type....
0
votes
2answers
127 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
vote
2answers
66 views

What is the equivalent of domain_get_domain()?

I need the equivalent of domain_get_domain() in the Domain Access module for Drupal 8, but I can't find it. I need to find the domain for the current request.
0
votes
1answer
62 views

How to pass values to content creation page to set default values in form elements?

Introduction (not necessarily needed to be able to answer the question) I use Domain Access module to be able to manage different sites from one Drupal installation and a single shared database. I ...
0
votes
0answers
59 views

Set dynamic $base_url with Domain Access module to avoid redirects

If you run two URLs with Domain module like e.g. main.site.com sub.site.com main.site.com is main site, so if you go to sub.site.com/user and login, it redirects back to main.site.com. This happens ...
-1
votes
2answers
19 views

Test domain access module

I have used the domain access module to create 2 domains that our business use, and I wanted to test them in the CI cycle. How do I test them in CI that they are active and each domain uses the ...
0
votes
0answers
23 views

How to configure a production multi-domain website (D7)

I am on Drupal 7 and LWS on a production site that I want to open to two new domain aliases. So I want to the same structure to be accessible using different domain names because some content could ...
0
votes
0answers
31 views

Drupal urls include absolute paths

I just updated drupal core on website and my drupal alias do not work unless the full path to a directory is included Example: http://michael.tsikerdekis.com/ (works) http://michael.tsikerdekis.com/...
5
votes
2answers
2k views

Separate home page per domain in multilingual setup (i18n)

I have a multisite Drupal with 2 domains, that should have separate home pages, but I can't get it working. I've created a node for each. Now, I've tried to configure it in the Configuration > Site ...
4
votes
2answers
1k views

Domain Access separate home page per domain does not work

I have 3 domains set up on my dev machine. 1)drupalx 2)drupaly 3)localhost Hello, I am using: Domain Access 7.x-3.11 (with at domain configuration and domain setting enabled) Internationalization 7....
1
vote
0answers
219 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 ...
0
votes
1answer
29 views

One site, two domains

We have a single site that we'd like to have two different domains: apply.school1.edu and apply.school2.edu. The site is at apply.school1.edu and we'd simply like to create a domain apply.school2.edu ...
0
votes
1answer
18 views

How is domain_taxonomy_access module configured?

I am trying to use the domain_taxonomy_access module, but I do not know how it is configured. How I do so that the user of a certain domain can manage their newsletters? I am trying to implement the ...
0
votes
1answer
74 views

Add paragraph domains to media View

I'm using media and domain modules. Nodes are assigned to multiple domains and there are image fields that link to media images on those nodes. Some content types also use paragraphs and these ...
0
votes
1answer
3k views

Too many redirects error with https and domain access module

I'm redirecting traffic for my various domains to HTTPS. Things seem to work fine on my local, but when I deploy to my production site I get the "www.mysite.cn redirected you too many times." error. I'...
0
votes
1answer
17 views

Swap out blocks based on domain name extension

We have a European site that is the same exact site for three different domain names. So www.mysite.eu, www.mysite.ie and www.mysite.ch all go to the same site. However, we would like to make very ...
1
vote
0answers
81 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 ...
-2
votes
2answers
2k views

Error when using the Domain Access module

I installed the Domain Access module and get the following error: Domain access failed to load during phase: bootstrap include. Please check your settings.php file and site configuration. How can ...
2
votes
2answers
133 views

How do I display the domain owner of a node in a view?

I have a view that's generating a block showing upcoming events. On the main site those events might be coming from multiple domains (the site is using Domain Access) and I'd like to show the domain ...
0
votes
1answer
114 views

How to create a lightweight domain access alternative in Drupal 7

I have a password protected site mainly used for internal management of projects, but have regularly the need to publish some of its content for clients. For simplicity sake, I would prefer to keep ...
0
votes
1answer
26 views

How can I migrate the Domain publishing settings for nodes via SQL?

I am using Drupal 7 and Domain Access (latest stable versions). In my source site, there are nodes with "Domain access options", "publish to.." then a number of selected domains. I migrate the data ...
0
votes
1answer
72 views

Different domain per node

I wonder if it is possible to have different domains set for, for instance, per path basis, or view basis, or node id basis?
0
votes
1answer
201 views

Views programmatically remove node access (tag)

I'm trying to remove the node access check from a view programmatically. But i'm not sure where the access tags are added/executed. function MYMODYLE_views_query_alter(ViewExecutable $view, ...
3
votes
1answer
57 views

Is it possible to get rid of content duplicates?

I've got a site, mysite.com. Now I'm trying to add blog on it at sub-domain, blog.mysite.com, using the Domain Access module. When I create an article in blog, with alias blog.mysite.com/article-...
1
vote
1answer
272 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 ...
4
votes
1answer
1k views

Filter node indexes by current domain

I'm building a D7 site using domain access. What I need now is to make a nodes list for each domain. The list would make use of the Facet API. And the list would only display the nodes on that ...
0
votes
1answer
49 views

Domain override module in drupal 7

I have a main site with "domain access" module. It has 5 multilingual sub sites with subdomain(single database). I want to publish content from the main site to the subsites. This is already working ...
0
votes
1answer
155 views

Domain Access: Subdomain -> same views-path - different view?

I am a beginner by module domain-access and have a question. standarddomain: example.com subdomain: m.example.com In my standarddomain i use a views-page with path example.com/myviewsgallery (Views ...
1
vote
1answer
76 views

Separate Domain users get redirected to Default domain upon login and content save

I have set up Domain Access module in Drupal correctly, and everything works fine but with an issue. The issue is, that when a subdomain user logs in with his account from his assigned domain, he gets ...
1
vote
0answers
167 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 ...