Skip to content

Instantly share code, notes, and snippets.

Forked from tinogomes/DNS_TO_LOCALHOST.markdown
Created November 18, 2022 14:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Public DNS Pointing to localhost (

Available Public Wildcard DNS Domains pointing to localhost (

DISCLAIMER: I have no responsibility for any domains listed here, or in the comments, and if any of them capture any data transmitted by the HTTP request. At any time, any of the domains listed in this article may stop working (except localhost).

It turns out that some kind hearted people already set up wildcard domains for you already. You can use any domain below and/or any subdomain of these and they currently resolve to but could switch at any time to resolve somewhere else. Here's the list of ones I know about. Let me know if there are more!

NOTE: You can (and should) check if any domain resolve to

  • localhost - It will always works. Do you know why? <--- Now there's no sorry.
  • [*.] - 👏 👏 👏 👏 👏
  • [*.]
  • [*.]
  • [*.]
  • [*.]
  • [*.]
  • [*.]
  • [*.]
  • See below comments for more domains

Of course, you can setup your own local domain.

Need to use SSL?


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