Snapd doesn't properly work in Amazon Linux

I have an Amazon Linux 2023 instance running. I have installed snapd through /bboozzoo repository which is a unofficial snapd repo for Amazon Linux. I did succeed to install NextCloud on it which works fine. But when I try to connect to my NextCloud using the domain it doesn’t work and shows nothing as if the site doesn’t exists. But when I try to connect using the static IP of the instance it does work perfectly. The problem is that I can access the site using IP but not using the domain(which I have attached to the IP). Now I think that the problem is with snapd because when I previously tried installing Next cloud on Ubuntu using snapd the domain worked perfectly as well as the IP. Thanks in advance.

have you set up the domain name in nextcloud ?

https://help.nextcloud.com/t/how-to-add-domain-name-to-nextcloud/30023

here is info where to find config.php:

Soory for trouble. It turns out that the site works fine after waiting a couple hours. Now it’s working perfectly fine. Again thanks.

1 Like