Questions tagged [subsites]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
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 ...
6
votes
2answers
933 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
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 ....
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)....
4
votes
1answer
4k views

Setting $cookie_domain variable for specific folder structure

During configuration of Ckeditor I have to setup the cookie domain variable. I have added my site in subfolder like www.example.com/mynewsitefolder, where www.example.com is my current and running ...
4
votes
1answer
73 views

Is the “www” in the database for the site confguration?

I have recently helped launch a site and there are some cross domain issues between "www.website.com" and "website.com" I was chatting with Cloudways tech support and he mentioned that if I remove ...
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 - ...
3
votes
2answers
427 views

Is it reasonable to run hundreds of sites by one Drupal core?

There are more than 100 sites that are supported by our company and they can be presented as sub domain as well. from technical perspective is it reasonable to run all of these sites using only one ...
3
votes
2answers
467 views

Make blog on a subdomain

I need some help figuring this out. I have a main site mysite.com on Drupal 7. I want to build a blog for it and want for people to access it using blog.mysite.com. So basically it's the same site (so ...
3
votes
3answers
4k views

Best way to create subsites?

What's the best way/module I can use to automatically create subsites, like drupalgardens.com. Is there a module to do it? Can I use drush for this?
3
votes
4answers
494 views

Drupal Sub Sites with or without Aegir

We're currently using Aegir to manage sites, essentially, domains and sub domains. However, we have a need for sub sites. For e.g., domain.com would the parent, and the children sites would be domain....
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 ...
3
votes
1answer
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
1answer
301 views

Need to change the subdomain URL structure - D7

Need to change the subdomain URL structure from: sub1.example.com sub2.example.com To: www.example.com/sub1 www.example.com/sub2 Is there any module to do this in Drupal 7 If there is no other ...
2
votes
1answer
2k views

Best way to backup and restore the databases of a Drupal 7 multisite using Drush?

I'm looking for an easy way to backup (and if needed restore) the databases of a Drupal multisite using Drush. Drush command I use to backup all the databases: drush @sites sql-dump --result-file --...
2
votes
2answers
198 views

Is aegir a good choice for me?

I want to use aegir for a website that users can create their own sub-sites. From aegir installation guide: when a new site is installed, the web server will be automatically configured (vhost) ...
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 ...
2
votes
1answer
539 views

Combine subdomains into one domain

I have main website ABC.com with 5 subdomains on Drupal 6.2 The problems I'm facing are bellow:1 - It is difficult for user content to migrate across the subdomains. Detail: There are tabs on the top ...
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 ...
2
votes
1answer
929 views

Google Analytics configuration setting for Drupal multisite (domain and submain)

I am working on a Drupal mulsite project (using single database) and using Google Analytics module for this. I have follow the below steps for GA configuration: Created a domain name example1.com ...
2
votes
1answer
255 views

Use username password on different subdomain

I now have a website which is using drupal. This is the 'main' website on the www domain. I would like to build a small gimmick which is only accessible to my users. This gimmick site is probably not ...
2
votes
2answers
2k views

“Redirect Loop” when creating a multisite

I know there are a few questions related to this one, yet I haven't been able to answer mine. I want to develop 2 websites pointing to the same Drupal core files, so : drupal1.example.com should ...
2
votes
1answer
254 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 ...
2
votes
0answers
51 views

Sites module: get the unprefixed, global URL

Drupal beginner here. I'm working on a site which uses the Sites module to create location-specific URL's for all nodes. So say we have three locations: New York, London and Hong Kong. Plus Global of ...
2
votes
1answer
263 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
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 ...
2
votes
0answers
290 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 ...
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 /...
1
vote
2answers
175 views

Can drupal be installed on a subdomain and used on the main domain?

I was thinking about installing Drupal on admin.myexample.com for clients to access an add and edit news posts & products. Then just using myexample.com as the main site. Calling the database and ...
1
vote
2answers
2k views

How would i redirect a user after registration to his subdomain site

I want to redirect a user after successful registration maindomain.com to open his site in a new tab. His site url will look like this newuser.maindomain.com. (username.maindomain) Any Suggestions?
1
vote
1answer
1k views

Can I clear cache only for particular domain / URL?

I'm using domain module with several domains. With drush you can clear cache using cc command. I have only one database for all domains. I'm wondering can I clear cache using only specific domain (...
1
vote
2answers
4k views

For Drupal 7 sub-domain installation is sites.php the same as 6's use of symbolic link folder?

I have a working Drupal 6 using a shared Drupal install on a shared Linux server. I've just installed D7. I'm not sure if sites.php is set up correctly (see below). And I can't find good information ...
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 ...
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
2answers
117 views

User defined domains

how can I create a user defined domain? E.g. user one will select for his shop the domain "shop1.example.com". User two will select "shop2.example.com" etc. How can I do this?I was thinking of Domain ...
1
vote
1answer
253 views

a non existing subdomain is added to image urls

I have some images in my home page and from time to time the URL of these images get changed somehow and a subdomain is appended to it automatically. For example: www.mysite.com/sites/default/files/...
1
vote
2answers
401 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
1answer
67 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 ...
1
vote
1answer
273 views

Getting a 500 error with the Domain Access module

I use Drupal 7.22 with 7.x-3.9 Domain Access Module for multiple subdomains website. Making of subdomains works fine, but I cannot access to subfolders on subdomains. example.com works example.com/...
1
vote
1answer
509 views

Accent caracter encoding

I move a Drupal site and DB from old server to new (almost same setting) the site on the new server is running "almost" perfectly, but for the accent caracter encoding... here is the problem. The ...
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 ...
1
vote
0answers
305 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
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 ...
1
vote
1answer
313 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 ...
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-...
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
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: ...
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 ...