Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Cannot embed survey on websites under other domains

  • tvrooijen
  • tvrooijen's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 months 1 week ago #253619 by tvrooijen
Please help us help you and fill where relevant: 
Your LimeSurvey version: 6.4.0+231218 
Own server or LimeSurvey hosting: Cloud hosting at hostinger
Survey theme/template: modified theme (extended) from Bootswatch
==================
We have a website that is available in multiple languages and for each language we Limesurvey imbedded. So to summarize we had the following:
  • Bracewijzer.nl (website)
    • wijzer.bracewijzer.nl (limesurvey installation)
  • Bracewijzer.be (website)
    • wijzer.bracewijzer.be (limesurvey installation)
  • Thuasne-carefinder.de (website)
    • tool.thuasne-carefinder.de
So what we did for each website is to create a separate Wordpress installation under a subdomain. If we tried to put it under one domain (wijzer.bracewijzer.nl for example) we would see error when embedding the form on the other websites not linked under the domain.

With the current hosting it is not possible to install limesurvey under a subdomain of Bracewijzer.be and Thuasne-carefinder.de. Also, think it would be better if I could manage the different tools all from one installation.

I have added a screenshot of an error I get when I have embedded the survey hosted on wijzer.bracewijzer.nl on Thuasne-carefinder.de.

Is there a workaround to fix this issue?

In case you are wondering, I have put IFrame embedding allowed: on Allow

Any help would be much appreciated!
Attachments:

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 months 1 week ago #253662 by DenisChenu
You can use same DB with different hosting

Set the url of the cookie doifferent for each server

manual.limesurvey.org/Optional_settings/en#Request_settings

'domain' => '.bracewijzer.nl',

for CRSF and SESSION.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose