I was installing Bitnami OwnCloud on my Amazon Web Service (AWS) using free tier account. When I assign new Elastic IP to my Bitnami OwnCloud instance, I got the following error message when trying to access OwnCloud via web browser.
Add 126.96.36.199 as Trusted Domain
But when I click the button to add the OwnCloud IP as Trusted Domain, it does not work at all. I think its a kind of Trusted Domain error inside the config.php of the Owncloud. If you have this problem, you can easily solve it using the following method.
Log in to the Bitnami Instance or any instance via SSH. I use Ubuntu GNOME to connect to my AWS instance using the following command
ssh -i amazon-clearos.pem email@example.com
Next, I edit the Owncloud config.php
Next, edit the IP address in the Trusted Domain section as follow
Now the problem should be fixed.