Hi,
I got an answer from Tim on my question on multiple domains on single
Dspace instance on Dspace-general mailing list. Tim advised me to use
this list for this kind of questions, so I'm forwarding emails here.
Although suggested solution is viable for a limited number of domains,
it becomes problematic for a larger number if domains (institutions),
e.g. tens, or hundreds.
Is it possible to support multiple domains with single Dspace instance?
Best regards,
Ozren Lapcevic
-------- Original Message --------
Subject: Re: [Dspace-general] multiple domains on single instance
Date: Mon, 16 Jun 2014 12:50:16 -0500
From: Tim Donohue <[email protected]>
Organization: DuraSpace
To: Ozren Lapcevic <[email protected]>,
[email protected]
Hi,
The easiest way to support multiple domains is to install several DSpace
instances (separate repository per URL) behind a single Apache webserver.
As a basic example, you could do the following:
1) Install a DSpace for "Institution1", with Tomcat running on port 8080
2) Install a separate DSpace for "Institution2", with Tomcat running on
port 8081 (i.e. a different port)
3) Install an Apache web server. Configure it to respond to multiple
URLs via different VirtualHosts...e.g. see:
https://httpd.apache.org/docs/2.2/vhosts/examples.html
4) Configure Apache to forward requests for
"http://institution1.com/repo" to the Tomcat on port 8080, using
something like "mod_proxy":
https://httpd.apache.org/docs/2.2/mod/mod_proxy.html
5) Configure Apache to forward requests for
"http://institution2.com/repo" to the Tomcat on port 8081, again using
something like "mod_proxy".
Here's a full sample of configuring Apache using mod_proxy + a
VirtualHost to forward to a Tomcat: http://stackoverflow.com/a/962928
By the way, just an FYI. It's usually best to send this type of
technical question to our "dspace-tech" mailing list, as that's our
primary tech support list:
https://lists.sourceforge.net/lists/listinfo/dspace-tech
- Tim
On 6/16/2014 9:05 AM, Ozren Lapcevic wrote:
Hi,
does Dspace support multiple domains (sites or institutions) on single
instance?
We have to support multiple institutions. Each institution should have
separated repository accessible via unique URL, e.g.
Institution1 - http://institution1.com/repo
Institution2 - http://institution2.com/repo
Is this possible with Dspace? Where can I look for more info?
Best regards,
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette