Wildcard subdomain not accessible
I’ve gone through the subdomain tutorial to try to get wildcard subdomains working for my domain. My Droplet’s DNS page looks like this. However, when I drop into a terminal session and try to look up any subdomain (e.g., “foo”), I get the following error:
$ host foo.hobolabs.com ns1.digitalocean.com Using domain server: Name: ns1.digitalocean.com Address: 22.214.171.124#53 Aliases: Host foo.hobolabs.com not found: 3(NXDOMAIN)
When I try to ping it, I get something suspicious:
$ ping foo.hobolabs.com PING foo.hobolabs.com.com (126.96.36.199) 56(84) bytes of data. ^C --- foo.hobolabs.com.com ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 3022ms
The host tries to resolve as
foo.hobolabs.com.com. Does this give any clues as to what might be going on?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×