I was where you are too and 2$/month or even per year seemed crazy to me if I could get it for free
If you’re at home and want to point to your home IP, but it constantly changes, the easiest is Dynamic DNS.
You can find more.
If you have a stable IP, there also free top level domains .TK / .ML / .GA / .CF / .GQ over at https://www.freenom.com/ . Their frontend is down sometimes, but once you have a domain and are point it to an IP, you should be dandy.
Good luck :)
I like duckdns for DDNS
It’s completely free.
Thnx, Btw I use a Cellular data (and sometimes wifi of neighbors.) How to know My IP remains same or keep changing?
Not sure which ports are required for your usage but maybe cloudflared would work? It works on the free tier as well, you can install cloudflared on your linux/windows server (no BSD support afaik).
Freenom’s domains are pretty unstable, they lost management for .ga domains last year and they often claim others’ free domain when they have high usage.
though if you have unstable network I won’t suggest self hosting fediverse stuff.
Check https://whatismyipaddress.com/ to see your IP address once you’re connected to either network, but with a high likelihood, it’s almost certainly different IPs. In that case, Dynamic DNS is probably best.
But if you’re using your neighbor’s wifi, I doubt there’s a way for you to host stuff unless you have access to their routers, can open ports 80 (HTTP) and 443 (HTTPS), and forward them to your server. It’s best to use hardware you control (including the router).