Install on multiple domains

More
3 months 3 weeks ago #156366 by RoyChehmer
RoyChehmer created the topic: Install on multiple domains
Hello,

I am hosting a test site on one server and I want to set an environment to handle a multiple domains (multi sub-domains)
so each sub-domain will point to unique DBName (one MySQL instance with multi databases).

for example :
like aaa.example.com will point to DB Name : aaa
like bbb.example.com will point to DB Name : bbb

There is and option to setting up this request, any guide for that ?

Thank you,
Roy

Please Log in to join the conversation.

More
3 months 3 weeks ago #156399 by holch
holch replied the topic: Install on multiple domains
I am not an expert on server administration, but there should be no problem to set up multiple LS installations on subdomains, using different tables on the same MySQL installation. I have done this before with different versions of LS, but it should also work with the same version of LS, I don't see a problem. As long as you have separate LS installations.

Now if you want only ONE LS installation that uses a different MySQL table depending on which subdomain is accessed, I don't think this is possible. Some server wizard might be able to find a solution for this, but I guess it will be quite tricky.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 months 3 weeks ago #156401 by RoyChehmer
RoyChehmer replied the topic: Install on multiple domains
Yes, my need is to have one installation that use a different tables under multiple subdomains.

I suppose I can change the code to set the db on witch subdomains is accessible. But it will be a revert on the next LS update...

Any other solutions?

Please Log in to join the conversation.

More
3 months 3 weeks ago - 3 months 3 weeks ago #156416 by Ben_V
Ben_V replied the topic: Install on multiple domains
You can access some info looking at those 2 related discussions:
  1. www.limesurvey.org/community/forums/desi...main-vs-subdirectory
  2. www.limesurvey.org/forum/can-i-do-this-w...allation-2-databases
If all your changes are limited to your application/config/config.php file, I think there will be no issue with further software updates.

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last Edit: 3 months 3 weeks ago by Ben_V.
The following user(s) said Thank You: RoyChehmer

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now