News for hackers. Stuff that matters.
Re:Show HN: Backname.io – every IP address gets its own domain by repelsteeltje on Thursday September 28, 2023 @11:37AM (#37691174)
That should allow access to port 80, maybe. But for TLS, you still need some CA to certify you're you. And you won't be able to convince LetsEncrypt that you control 127-0-0-1.backname.io because it resolves to localhost, which isn't you (from LetsEncrypt's perspective) :-)
Re:Show HN: Backname.io – every IP address gets its own domain by pipo234 on Thursday September 28, 2023 @11:39AM (#37691206)
:-(

Developing on a webserver that runs locally on your desktop is becoming more an more painful.

Re:Show HN: Backname.io – every IP address gets its own domain by valrix on Thursday September 28, 2023 @01:09PM (#37692593)
Have you checked out https://www.getlocalcert.net/ yet? They're working on adding more login options than just Github, but they're not quite there yet.
Re:Show HN: Backname.io – every IP address gets its own domain by globular-toast on Thursday September 28, 2023 @03:15PM (#37694301)
Use Firefox. No problems at all here.
Re:Show HN: Backname.io – every IP address gets its own domain by fragmede on Thursday September 28, 2023 @03:36PM (#37694643)
Chrome has an exception for requiring tls on localhost for certain services. That, plus an extension to disable CORS on it has gotten me as far as I've needed (so far). What roadblocks have you come across?
Re:Show HN: Backname.io – every IP address gets its own domain by Sohcahtoa82 on Thursday September 28, 2023 @04:39PM (#37695503)
Couldn't you bind localhost.yourdomain.com to a public IP, get a certificate, install that certificate locally, then change localhost.yourdomain.com to resolve to 127.0.0.1?
Re:Show HN: Backname.io – every IP address gets its own domain by da768 on Thursday September 28, 2023 @07:27PM (#37697315)
You can even use a DNS challenge and leave the 127.0.0.1 record in place.
Re:Show HN: Backname.io – every IP address gets its own domain by Phrodo_00 on Thursday September 28, 2023 @06:32PM (#37696772)
If you want a CA you can just make a CA and add it to your trusted certificates.
Re:Show HN: Backname.io – every IP address gets its own domain by NewJazz on Thursday September 28, 2023 @07:18PM (#37697231)
Not sure if this works for Windows, but the author knows what he is doing and his technique seems fairly well thought out.

https://github.com/FiloSottile/mkcert

Re:Show HN: Backname.io – every IP address gets its own domain by rrrix1 on Thursday September 28, 2023 @07:50PM (#37697539)
+1 for `mkcert`

Works like magic!

Re:Show HN: Backname.io – every IP address gets its own domain by fragmede on Thursday September 28, 2023 @03:43PM (#37694735)
Split horizon DNS could work, if you're able to run your own DNS server for your local network.