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 127.0.0.1 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 127.0.0.1.
localhost- It will always works. Do you know why? <--- Now there's no sorry.
[*.]fbi.com- 👏 👏 👏 👏 👏
- See below comments for more domains
Of course, you can setup your own local domain.
- Read Renatofrota's comment below.
http://www.fidian.com/programming/public-dns-pointing-to-localhost(Page not found. Read Fidian's comment to understand why)