Welcome to the LimeSurvey Community Forum

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

Unable to connect to Admin interface from secondary domains

More
2 hours 4 minutes ago #274697 by PlanètePublique
I have LimeSurvey installed on a mutualised server since 3 years, and I can use different subdomains linked to my installation: enquetes.domain1.fr, enquetes.domain2.fr, enquetes.domain3.com... Since I upgraded to 6.17.11+260706, I still can connect to the list of questionnaires on enquetes.domain2.fr, enquetes.domain3.com, but I cannot connect to Admin interface from enquetes.domain2.fr/admin or enquetes.domain3.com/admin, only from enquetes.domain1.fr/admin. A 400 error "Bad request" page is displayed, with LimeSurvey logo on the right. I added secondary domains to application/config/allowed_hosts.php with no success. Any idea of how I should solve this problem? Thank you!

Please Log in to join the conversation.

More
29 minutes ago #274698 by DenisChenu
When last upgrade happens, you have an alert about this situation.

How do you add your allowed host ?

You can set it too in config.php file :  www.limesurvey.org/manual/Optional_settings/en#Host_control

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
13 minutes ago #274699 by PlanètePublique
Hi Denis, thank you very much for your help.
I must admit I didn't pay attention to the alert... I will, next time.
I verified my allowed hosts file, and noticed that there was an error in the lines I had added. Now that it is corrected, I can use every domains.
Sorry for wasting your time and many thanks for your precious work on LimeSurvey!
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose