I did the test with the domain name and in this case it turned out that the ports are closed.
Using the IP the ports are open.
The problem now is that I can no longer access either one of the domains, neither by https nor by http. Not even the domain of the nameserver is picking up anymore.