Questions tagged [domain-access]
Use it for the module for running a group of affiliated sites from one installation and a single shared database.
205
questions
17
votes
1
answer
773
views
Sharing content with domain access?
I setup a site with domain access. It has 2 subsites.
I want to publish content from the main site to the subsites. This is already working good with send to affiliates. But I want some local admins ...
6
votes
2
answers
1k
views
Separate domain for specific content type
I haven't worked with multi-domain setups in the past so I did some research regarding the options for altering my website to accommodate for specific multi-domain needs.
My immediate need is to have ...
5
votes
4
answers
13k
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 ....
5
votes
2
answers
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 ...
5
votes
1
answer
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 ...
5
votes
2
answers
515
views
Multisite with content sharing
The last couple of days I have been looking into Drupals multisite with content sharing. Got some great information like http://palantir.net/blog/multi-headed-drupal and http://munich2012.drupal.org/...
4
votes
2
answers
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....
4
votes
1
answer
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 ...
4
votes
1
answer
563
views
What is the best workflow to migrate a site using domain access?
i have a site with 20 subdomains using the domain access module on a dev server and i want to migrate them to a production server.
There is only a change from
subdomain.maindomain.eu
to
...
4
votes
1
answer
750
views
Domain administrator role that can only see users of that domain
Is it possible to define a "Domain Administrator" that would only be able to see the users (in the People interface) assigned to the same domain as itself? I've got a few Domain Access modules ...
4
votes
1
answer
183
views
How use strongarm with domain access?
Lets say I have 2 domains, A (Site A) and B (Site B). I achieved this with domain access module. Then with features and strongarm I would like to export site_name variable from both domains. How can I ...
3
votes
2
answers
3k
views
How do I set different front pages for domain access sub sites?
I am using the Domain Access module and would like to have two distinct front pages. The primary one works as expected, and I have a separate front page template. The secondary domain front page is ...
3
votes
2
answers
3k
views
How to create a redirect for specific domain?
I'm using Domain Access and Redirect modules. Both work well.
But Redirect module only allows me to create redirects from relative path which affects as follows all my domains.
So how to create ...
3
votes
2
answers
7k
views
How to set different languages for different domains, and display the language switcher accordingly?
I have a website with different domains and I'd like to have some domains to have different languages.
I have a main site which is example.com, it's the main "group" site, it has multiple languages, ...
3
votes
1
answer
844
views
Best practice two domains on one codebase and database
I have one main domain name at site.com and I simply want to create blog.site.com using the same codebase and database. The only ways I see I can do that are by:
Using another install
Using a multi-...
3
votes
1
answer
1k
views
Controlling blocks displayed in domain access for each sub-domain
I'm a noob in Drupal and have been exploring the Domain Access module ( http://drupal.org/project/domain ) in my local environment and till now has been doing pretty well. But when it comes to ...
3
votes
1
answer
1k
views
Search API and Domain Access: Filter user per domain
I've got a site with multiple domains using Domain Access.
I want to display a search form on each site that searches for users on that site.
I'm using a modified version of the code here (that code ...
3
votes
1
answer
1k
views
Single site vs Sub-sites vs Multi-site installation + Scalability
I am beginning a new Drupal project that needs to very scalable and I need to determine what the structure should look like based on the current and eventual project needs. I have previously used all ...
3
votes
1
answer
65
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-...
3
votes
1
answer
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,...
3
votes
3
answers
3k
views
Domain Access force node redirect to proper domain
Using Domain Access with Drupal 6, I am encountering an issue in the following scenario:
I set up a node published to a sub site, say:
subsite.com/node-x
If I browse to:
mainsite.com/node-x
I ...
2
votes
1
answer
2k
views
Override Domain-Restricted Content in a View
I have a site running Domain Access, which is restricting content to the domain it was created on. Using Domain Views, I've created two types of views:
views displaying content for the current domain....
2
votes
1
answer
169
views
Domain Access and mother website arguments [closed]
I am thinking of creating a series of websites based on one mother website using the Domain Access module, like this:
www.domain1.com linking to www.motherwebsite.com/argument1
www.domain2.com ...
2
votes
1
answer
243
views
Multisite domain path access control
E.g. My site have two subdomains : domain_a and domain_b.
I create a path: "custom/a".
I hope:
domain_a can visit the path.
domain_b visit the path, get 404.
Except according to the golbal $...
2
votes
1
answer
236
views
Best practice to separate content per city
I'm trying to find the best practice to separate user content per country/city in a way that allows the user to select the country or city once so that whenever he adds content it will be ...
2
votes
1
answer
2k
views
How does one set up aliases per domain on a multi-domain site?
I have a site where there are several domains each with different content:
www.domaina.com
www.domainb.com
www.domainc.com
I want to make the alias foobar to different paths on each domain
www....
2
votes
3
answers
308
views
share users or nodes across multiple sites without sharing database
I have one master drupal site that offers basic functionality for users.(it's a shop); and we have some other sites, for example one news site, one marketplace, one job finding service etc. I want ...
2
votes
1
answer
167
views
Shared Database With Domain Access and Multiple Accounts With Same Email
We are planning to have the following Drupal architecture:
One install of Drupal.
Multiple domains sharing the same database using the Domain Access module.
Each domain will have user login ...
2
votes
2
answers
145
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 ...
2
votes
1
answer
495
views
Correct way to link to views (to solve multi-domain problem)
I have one site (same codebase, same database) that uses two different domains to display two different themes, depending on the content. (This is achieved via the Domain Access module.)
I need to ...
2
votes
2
answers
2k
views
Use Subdomains as variable with Domain Access
I'm new to Domain Access module. It seems it is built to allow you to run different sites off the same database. I'm looking for something more simple than that.
I want to the subdomain title to be ...
2
votes
2
answers
793
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 ...
2
votes
1
answer
170
views
Unique file system for multiple domains in Domain Access
I have created five domains using domain access module like
test1.com
test2.com
test3.com
etc,
Now i want each users from different domains have to use unique file system in order to upload media.
...
2
votes
1
answer
268
views
Should I use Spaces or Domain Access to share & separate content between subdomains?
I realise that without the following additional information the title question is too broad.
I have multiple sibling Drupal 7 sites with their own domains that I wish to consolidate into a single ...
2
votes
0
answers
196
views
Domain Access and Domain Admin giving access to all subdomains
I've set up a multisite drupal 7 install with domain access and each subsite has an assigned admin who is only supposed to see content and edit own domain. I want to allow each domain admin to also ...
2
votes
1
answer
151
views
How to sort nodes per domain with the Views module?
I have to display nodes in different order(weight) inside a view per domain on a multi-domain site.
example:
on domain1: view-beverages => 1-Coca Cola, 2-Perrier, 3-Redbull, 4-IceTea ...
on ...
2
votes
0
answers
45
views
Domain access: users of subdomain1 should not see users of subdomain2
I would like to restrict users and content to a certain sub domain. I am currently using Domain Access module and it's going quite well. The only problem is that I cannot figure out how to configure ...
2
votes
0
answers
295
views
Domain Access and websites for multiple countries
I currently have this url structure for nodes town.domain I would like to add country into that url to make it domain/country/town/type. My question is how do I achieve this on drupal 7?
practical ...
2
votes
1
answer
98
views
is there any module which gives domain list as content type field
we are using domain access. we need to add domain list as a field to one content type so based on that result we need to display the result on main domain itself. is there any field module for it?
...
2
votes
0
answers
65
views
How to show "Sub domain - block" updates from sidebar to my "Main domain"?
I am showing "Recent Blogs" in sidebar second for Subdomain (i.e., for ex:- blog.example.com). Here block is displaying with blog titles with recent blog posts. when we click on any link it shows the ...
2
votes
0
answers
216
views
Drupal 6 APC with domain access module not working for (sub-)domains
I've recently enabled APC in my environment and using it with cache backport and APC beta 7.x-1.0beta3 which is a backported version for D6 modules respectively in site running drupal 6.22 which uses [...
2
votes
0
answers
112
views
Domain Access, Revisioning with Workflow Access together in one project
I have installed drupal6.25, Domain Access, Domain Advance, Revisioning with Work flow and Grant modules. I assign node to the particular domain, but it will show access denied for all domain. If I ...
2
votes
0
answers
141
views
Domain Access with different folders per domain
I was wondering what the possibility is of having domain access run our sites and yet still have different folders per domain. So the /sites/[domain-specific-foler] structure that is mandatory for ...
1
vote
3
answers
4k
views
How can I create a variable with different values for each domain using Domain Access?
I have a numeric value that is unique to each domain (using Domain Access) on my site. I'd like to use the same variable name so I can use the same theme and display this value on all domains. Is this ...
1
vote
1
answer
1k
views
Domain Access with URL Alias - same content, but with different automated aliases
I have a site running Domain Access with two domains - the primary domain and the sub-domain. Both domains share the same content in the database, but I would like the automated URL aliases for the ...
1
vote
2
answers
1k
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.
1
vote
2
answers
3k
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\...
1
vote
1
answer
2k
views
Multiple node access rules for same node?
I'm using the Domain Access module to restrict content to specific domains. It uses the node_access table to do this.
I also want to make a single node hidden behind a login area. The problem is that ...
1
vote
1
answer
863
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
1
answer
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 ...