>>1488836>>1488836>register a domain name>configure dns settings pointing this domain name to your IP address>configure your router, forward ports to the appropriate ports your server is listening on>make sure your firewall allows incoming traffic to these portsmost ISPs don't offer a static address by default, if yo have a dynamic IP you'll need to register with a DDNS provider. DDNS providers usually offer their own software you install and it dynamically monitors your IP address and changes the DNS record for the domain name.
regarding domain names, they're pretty cheap. you can get a nice one for a few dollars per year. there are also free domain name services like
https://www.getfreedomain.name/ https://freedns.afraid.org/self hosting is a pain in the ass. only reason to do it in this day and age is if you wanna quicktest something or spin up a nice portfolio nodejs website loaded to the brim just for a few days. there are 200million indian scriptkiddies probing selfhosting retards as we speak