Skip to content

Instantly share code, notes, and snippets.

@hasinhayder
Forked from tinogomes/DNS_TO_LOCALHOST.markdown
Created February 10, 2021 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hasinhayder/943d9b89a19bfd20ab63ec50e9a38eb9 to your computer and use it in GitHub Desktop.
Save hasinhayder/943d9b89a19bfd20ab63ec50e9a38eb9 to your computer and use it in GitHub Desktop.
Public DNS Pointing To localhost (127.0.0.1)

Available Wildcarded DNS Domains

It turns out that some kind hearted people already set up wildcarded domains for you already. You can use any domain below and/or any subdomain of these and they will always resolve back to 127.0.0.1 (your local machine). Here's the list of ones I know about. Let me know if there are more!

  • localhost - It will always works. Do you know why? I hope so.
  • [*.]fuf.me - Managed by @fidian; it will always point to localhost for IPv4 and IPv6
  • [*.]localtest.me
  • [*.]127-0-0-1.org.uk
  • [*.]vcap.me
  • [*.]yoogle.com
  • [*.]lvh.me
  • [*.]lacolhost.com
  • [*.]local.sisteminha.com - Managed by @tinogomes
  • domaincontrol.com
  • [*.]127.0.0.1.xip.io
  • See below comments for more domains

Of course, you can setup your own local domain.

sources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment