I have CNAME sub . domain1 . com pointing to A record (dynamic . domain1 . com) properly configured so when i go to the url, i am directed to the instance of nextcloud I want to see at that link.
I have a second instance of nextcloud, i want to point to a different port that is running the same software, just very differently configured. I have the a record and the cnames setup the same way as the working site, however when i go to nextcloud . DOMAIN2 . com - it redirects to differentname . DOMAIN1 . com
I am not sure where to start.