tl;dr you can use * to resolve any domain you like to Using a wildcard domain for localhost There are certain situations where you might be working in an environment that requires a locally virtual-hosted environment but a domain that looks like a real-world one. For example, you might be working on an OAuth client where the server wants you to have an actual domain name for the callback URL.