I have a domain registered on GoDaddy and my NextCloud installation running on an EC2 instance on AWS. I’ve set up an A record from GoDaddy that creates a subdomain demo.example.com
and points to an Elastic IP that’s associated with my EC2 instance. This works but it directs to the root directory demo.example.com
, and not to demo.example.com/nextcloud
where the web app is. To solve this I set up a forwarder that forwards demo.example.com
to demo.example.com/nextcloud
I get an error saying there are too many forwarding requests.
Is there an easy way to redirect a domain to the /nextcloud
directory that hosts the web app?