4 ms·
It doesn't matter. Use anything fake/non-public.
by smt88 10y ago
It doesn't matter. Use anything fake/non-public.
- Viper007Bond 10y agoOn the contrary, it does matter. What if you used [random].com and someone registered it? Presumably you'd use a different TLD and the chances are slim, but it's still best to use a correct test URL.
- smt88 10y agoThe chances would not be slim. They'd be zero, because you'd be using a fake TLD.
- Viper007Bond 10y ago.dev used to be a fake TLD, as did .local. Both now exist. Don't assume what doesn't exist now won't exist in the future. ;)
- Sevrene 10y agoI agree that's it not really a big deal, but there are unforeseen consequences that can be mitigated by simply using the correct domain. So why not, what's to lose?
- smt88 10y agoI don't know what "correct" means. There's no "correct" fake TLD. People use different things. If you mean "correct" as in the production domain, then you're introducing a security risk for no reason. Never use a public (or potentially public) domain for testing or development.
- Viper007Bond 10y agoThere actually are correct fake TLDs, specifically reserved for this exact use case: https://tools.ietf.org/html/rfc2606 https://tools.ietf.org/html/rfc2606