Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

.local is reserved for mDNS. I'm not sure why you can't just use the host's real FQDN.


Because you might want to have multiple vhosts running on localhost, separated by hostname.


If you host is, say "zeus.barrera.io" you can use:

test-service-1.zeus.barrera.io dummy-server.zeus.barrera.i

Etc. No need to create new (possible conflicting, definitely not future proof) TLDs.


It's not about shared hosts (at least if I'm understanding the topic correctly) but about /etc/hosts entries on your local machine for your local machine. As in:

    my-test-thing-a.dev 127.0.0.1
    my-test-thing-b.dev 127.0.0.1
    my-test-thing-c.dev 127.0.0.1
Buying an actual registered domain for that sounds like it would be even more confusing than using an unregistered TLD because it makes it hard to tell which hostnames are expected to work across machines and which are strictly "works on my machine".




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: