Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lightvision/44662003c07083f208ad to your computer and use it in GitHub Desktop.
Save lightvision/44662003c07083f208ad to your computer and use it in GitHub Desktop.
Avoid naming development sites with .dev suffix
Recent changes to ICANN lead to several problems to local sites developers that habits to name their local development sites as devsite.dev .
One of them is that your development site will leak to your dns service provider.
Another problem is that it will try to resolve your *.dev site when your development server is offline.
Solution: rename all your development sites to *.local.
This will lead to unknown host if the respective site is not in your host and if it is will allow local server to serve it without leakage to outside world.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment