tl;dr you can use *.l.sd.ai to resolve any domain you like to 127.0.0.1. 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.