Internal server error on when hitting Vm locally and externally

I Was getting a screen like the following: https://docs.nextcloud.com/server/16/admin_manual/installation/installation_wizard.html#trusted-domains Under the Trusted Domains section.

I modified 2 config.php files, as I did not know which one should be modified.

They were in the following location:

/var/snap/nextcloud/15565/nextcloud/config/config.php
/var/snap/nextcloud/16232/nextcloud/config/config.php

I am now getting the following error when trying to hit my nextcloud site internally, and externally to my network.

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the webserver log.

I am new to Ubuntu server.

I am running Ubuntu 10.04 LTS in a virtalbox setting on Windows 10.

I should have copied out the previous settings as I do not remember what they were.