Domain Change
Changing the domain after the first setup is currently not supported by Nextcloud. That is mainly because Nextcloud’s apps don’t support changing the domain after they are set up.
Note
This documentation will get updated with steps what needs to be done if you want to change the domain as soon as this feature is available.