News for hackers. Stuff that matters.
Re:How I built this website on a Raspberry Pi by mirawelner on Sunday January 19, 2025 @04:17PM (#42761948)
I am glad you like it!

Theoretically, routers have public IPs that change often and you have to buy something to make sure they don't.

In practice, this has only ever happened once to me when my router got hacked and I had to get firmware replaced. So while its a major issue if you have a huge site that needs to be reliable, if it is just a personal site it can be okay to just assume it will never change, and if it does you can always just get your domain name to point to the new IP.

It may be worth it to look into something to make it more stable, but right now it just isn't worth the extra fee.

Re:How I built this website on a Raspberry Pi by rawandriddled on Monday January 20, 2025 @02:55AM (#42766073)
You can use Dynamic DNS[0]. Your server contacts a remote server and if the IP address has changed the DNS is automatically updated. You can use a free subdomain[1] and CNAME/ANAME/ALIAS[2] your domain's DNS to point to it.

Edit: Njalla supports dynamic DNS records natively[3].

[0] https://en.wikipedia.org/wiki/Dynamic_DNS

[1] https://freedns.afraid.org/

[2] https://en.wikipedia.org/wiki/CNAME_record

[3] https://njal.la/docs/ddns/