2 ms·
> when most web developers used `.dev` for local development Most web developers were wrong. The reserved TLD for local development has been .localhost since 1
by crooked-v 8y ago
> when most web developers used `.dev` for local development
Most web developers were wrong. The reserved TLD for local development has been .localhost since 1999.
- CydeWeys 8y agoOr .test. See RFC 2606: https://tools.ietf.org/html/rfc2606 https://tools.ietf.org/html/rfc2606
- shkkmo 8y agoI think .test is the TLD is the one most likely to work as expected as for all use cases as .localhost might be expected to only ever point to the loopback IP address. If anyone does something more complicated (like using a vagrant private network ip address), you might find some tools break unexpectedly. Edit: the newer version of the docs have more details (in section 6) on the differences to be expected between test, localhost, example and invalid domains. see: https://tools.ietf.org/html/rfc6761 https://tools.ietf.org/html/rfc6761