The IP isn’t part of the hostname, it’s just shown after it.
You can also always check the hostname via command or virtualmin directly (webmin -> networking -> network configuration -> hostname and dns client / or simply click on the hostname).
I am unsure why the Ubuntu one displays the local IP as the used one, but you can check that also in the network settings.
If your VPS provider / ISP has set up their servers behind a NAT (lots of them do this, e.g. Linode) then you will see IP addresses in the private IP address ranges / loopback range.
I ignore this discrepancy because I know how and why it happens.