Cannot access Bitnami Stack LimeSurvey application (hosted on AWS ec2 instance) via browser after changing IP address

Keywords: LimeSurvey - AWS - How to - Secure Connections (SSL/HTTPS)

Description:
Please forgive me if this question is a bit ignorant (I am learning).

I have a Bitnami Stack for LimeSurvey hosted on an AWS ec2 instance. Everything was working as expected until I changed the IPv4 Public IP to an Elastic IP address. I did this as a first step in getting an SSL certificate for my LimeSurvey application (so that when participants click on the survey, they are taken to a secure website).

Since changing the IPv4 Public IP address, I can no longer access the LimeSurvey via my browser (with, for example, 3.249.162.237/index.php/admin/authentication/sa/login to log in). The error I get in my browser is: Firefox can’t establish a connection to the server at <<IP_ADDRESS>>.

I can still log on to the Bitnami Stack for Limesurvey via SSH, after having changed the Public DNS (IPv4) to the new elastic IP address in the bitnami@ec2-<<IP_ADDRESS>>.eu-west-1.compute.amazonaws.com of the SSH call.

I am assuming that I need to change a file on the Bitnami Stack for Limesurvey so that I can access the LimeSurvey app via a browser (and so that others can as well, in order to complete surveys). However, I cannot figure out how to do this, and cannot find documentation for this specific problem.

Thank you in advance for your help!

Hi @TXAI

Thanks for using Bitnami LimeSurvey!

Everything was working as expected until I changed the IPv4 Public IP to an Elastic IP address. I did this as a first step in getting an SSL certificate for my LimeSurvey application (so that when participants click on the survey, they are taken to a secure website).

Thanks for the background explanation :slightly_smiling_face:. However, I think that you should rather register your IPv4 to a domain name and then issue SSL certificates associates with it. Once you have registered a domain and associated it to the IP of your instance, we have a tool (named bncert-tool) that can easily generate SSL certificates automatically.

https://docs.bitnami.com/aws/how-to/understand-bncert/

…after having changed the Public DNS (IPv4) to the new elastic IP address in the bitnami@ec2-<<IP_ADDRESS>>.eu-west-1.compute.amazonaws.com of the SSH call.

I am not really sure about it, but I think that the IP address that appears in that line bitnami@ec2-<<IP_ADDRESS>>.eu-west-1.compute.amazonaws.com does not match the intance’s public IP (accessible from the internet).

I am assuming that I need to change a file on the Bitnami Stack for Limesurvey so that I can access the LimeSurvey app via a browser (and so that others can as well, in order to complete surveys). However, I cannot figure out how to do this, and cannot find documentation for this specific problem.

As this seems to be a Technical Issue instead of a generic How-To question, could you please create a new ticket using that category? You will need to execute the bnsupport-tool, a tool that will generate a report for these types of issues that let us analyze your specific configuration.

For the record, I have tried to reproduce your issue and associated a domain to my public LimeSurvey’s IP and it seems to have worked straight away, no changes required:

Best regards,
Jose Antonio Carmona


Was my answer helpful? Click on :heart:

1 Like

Hello Jose Antonio,

Thanks very much for taking the time to answer my questions.

That is very helpful advice regarding the SSL certificate, I will follow your instructions.

Regarding my issue connecting to the LimeSurvey app via a browser, I will open up a Technical Issue tomorrow. I think I must have altered a file that I shouldn’t have, and hopefully the bnsupport-tool can help me figure it out a solution.

More from me tomorrow.

Thanks again for taking the time to help!

Arran

My pleasure :slightly_smiling_face: ! May I mark this thread as resolved and proceed to close it?

Best regards,
Jose Antonio Carmona


Was my answer helpful? Click on :heart:

1 Like

Yes, please do mark as resolved and close it!

Thanks again for your help.

Arran

1 Like