Posts in domains
How to set up a wildcard subdomain on Google Domains
- 09 January 2021
- todayilearned, dns, domains
Today, I was working with dokku, and I found myself in need of a wildcard subdomain. A wildcard DNS record is a record that will match requests for non-existent subdomains. For instance, if you set a wildcard DNS record to *.example.com
, and a user requests random.example.com
or foo.example.com
, etc.. the requests will be forwarded to whichever server *.example.com
points to.
