This doesn’t help with your current issue, but you should use Nextcloud All-In-One instead of setting up individual containers like in the tutorials you linked. It will create and manage all the containers that are needed.
Domains are pretty cheap, so you may want to consider whether not using one is really worth the effort.
Well, you see, they don’t have cash on hand because they spent it on stock buybacks to boost that market cap