I have an AWS ec2 instance running OpenEMR Cloud Express 5.0.1 that has an Elastic IP Address and redirects to a domain name. I cloned this instance using Action -> Create Image, then launched a new instance using the AMI created from the original instance. This clone instance is not attached to the Elastic IP Address, it has its own IP. When I visit the web app of the clone instance by copying and pasting the IP into the address bar I get redirected to the original instance. Any new data added in the web app updates the original instance and any data added to the cloned instance via ssh is only added to the clone instance. I think the redirect is being caused by something in /var/www/localhost/htdocs/openemr directory, but I can’t seem to pinpoint where exactly. If someone could please point me to correct file and directory that the redirect could be located in that would be great.
Thank you so much for your help!
I’m using OpenEMR version 5.0.1
I’m using: Mozilla Firefox, but it also happens in Chrome
I’m using: Ubuntu 16.04, but it also happens in Windows 10
Did you check the logs? Was there anything pertinent in them? Paste them here (surround with three backticks (```) for readability