How to add trusted domain to Owncloud instance

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.

owncloud trusted domain

Add 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 ubuntu@

Next, I edit the Owncloud config.php

nano /opt/bitnami/apps/owncloud/htdocs/config/config.php

Next, edit the IP address in the Trusted Domain section as follow

owncloud trusted domain fixed

Now the problem should be fixed.

Thank you


Leave a Reply

Your email address will not be published. Required fields are marked *