Aaron
If I have gotten this correct you are wanting an OpenBD JAM install and
be able to run two OpenBD sites from the one ./openbdjam command
For example:
www.mysite.com
www.myothersite.com
to be severed from the same server, and same OpenBD JAM install?
If this is right, this is what you need to do to get it working:
*Note* - This is from a clean install
By default the webroot for the JAM install is /opt/openbdjam/webroot/ -
You will need to duplicate this folder (or uploaded your own webroot
containing a site), I created a webrootb folder like :
/opt/openbdjam/webrootb/
Now you need to navigate to the jetty contexts folder:
/opt/openbdjam/jetty/contexts/
You will see a file called webroot-context.xml here, this is the file
that points to the default webroot, we need to make another one of these
files (use the cp command, then we only need to edit a couple of lines),
I called mine webrootb.xml
Open up webroot-context.xml and un comment the virtualHosts block and
inside the <Item></item> Put the web address you want to use to access
the site located in /opt/openbdjam/webroot/
eg. <Item>www.mysite.com</Item>
Save and close the file
Now open the webrootb.xml file and edit the 7th line to point to the new
webrootb folder, then also un comment the virtualHosts block and change
the <Item> line to the web address you wish to access this OpenBD site from
eg. <Item>www.myothersite.com</Item>
Save and close the file
*Note* : You need to point the A record for your domain(s) to the IP of
your server
Now stop OpenBDJAM, and then start OpenBDJAM
Try and access your two sites
Matthew
Aaron J. White <mailto:[email protected]>
13 April 2013 21:33
Hello all,
I have been trying to figure out how to setup multiple sites with
OpenBDJam & Jetty, but have not been having any luck.
Does anyone know of a guide that explains how to setup multiple sites
with OpenBDJam? I would prefer to use the same admin, but each site
having it's own admin section would be ok too. I've done some
searching on this group as well, but it seems like most of the post on
this subject die or switch to vivotech's installer.
Thanks,
Aaron
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google
Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.