I just want to be able to ssh into my server. So do people reserve a new domain name just so they can have a machine they can ssh into, but has no other public presence, that is, does not run a web server?
I’ve used no-IP
ddns for quite some time without issue for various locations that have dynamic IPs. Each location has a VPN and/or WG server for remote access. That way I can ssh, rdp, etc. into any device on the network.
1) Choose a ddns provider and custom hostname (many are free)
2) Run the ddns provider app or script on your server or another device on that server’s network, router, etc.
3) Point your ssh client to the target port and hostname you created.
Assuming you have the appropriate port(s) open on your remote firewall to allow traffic to your server there's not much more to it.