Login failure using domain

following a “fix” to previous error
I rebooted this VM and now it is only possible to login using the IP4 address:10000 the where I used to use https://the domain.org:10000/
which now redirects to the uk.not-a-domain.tld the hostname used to build virtualmin at the IP4 address (obviously not a resolvable domain)
somewhere along the “fix” i guess the SSL for the host has been lost.