Access NextCloud instance on AWS from Home

I have installed nextcloud on AWS EC2 following the steps in a blog.
I have created a dynamic dns for access from home (using noip) and when I ping the dns name, it shows my external IP address correctly.
I’ve also added the dns name to trusted domains in NC.
But when I try to access my nextcloud instance using http I get an access through untrusted domain error.

Can you tell me what I’m doing wrong?

I don’t know exactly EC2 but have you try to check the firewall?

I think there is an error in the configuration. Please control your config/config.php (or post it with anonymized values). Also post perhaps a screenshot of the error.

First screenshot is trusted domains from NC showing the dns name I’ve created for the external IP address for my home network.
Screen Shot 2020-10-22 at 14.26.33
Second screenshot is the error when I try to access NC using http.

Sorry for being a noob.
I just read somewhere that it’s the domain I put into a browser (so the second screenshot) that has to be in trusted domains, not the domain for my home where I’m using the browser). I added that and it worked.

1 Like